mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Footer mobile
This commit is contained in:
@@ -1,18 +1,39 @@
|
||||
{{ $styles := resources.Get "css/partials/footer.css" | toCSS | minify }}
|
||||
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}">
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" />
|
||||
|
||||
{{ $faceImage := resources.Get "images/small-face.png" }}
|
||||
{{ $cv :=resources.Get "cv.pdf" }}
|
||||
|
||||
<footer>
|
||||
<div>
|
||||
<h3>Recent Blogs</h3>
|
||||
</div>
|
||||
<div>
|
||||
<h3>Recent Projects</h3>
|
||||
</div>
|
||||
<div>
|
||||
<h3>About</h3>
|
||||
</div>
|
||||
<div>
|
||||
<h3>Contact</h3>
|
||||
</div>
|
||||
</footer>
|
||||
<div id="footer-face">
|
||||
<img src="{{ $faceImage.Permalink }}" alt="Hazem Krimi" />
|
||||
<h3>Hazem Krimi</h3>
|
||||
</div>
|
||||
<div id="links">
|
||||
<a href="https://www.linkedin.com/in/hazemkrimi" target="_blank">
|
||||
{{ readFile "assets/icons/linkedin.svg" | safeHTML }}
|
||||
</a>
|
||||
<a href="https://twitter.com/HazemKrimi" target="_blank">
|
||||
{{ readFile "assets/icons/twitter.svg" | safeHTML }}
|
||||
</a>
|
||||
<a href="https://github.com/hazemKrimi" target="_blank">
|
||||
{{ readFile "assets/icons/github.svg" | safeHTML }}
|
||||
</a>
|
||||
<a href="/" target="_blank">
|
||||
{{ readFile "assets/icons/rss.svg" | safeHTML }}
|
||||
</a>
|
||||
<a href="mailto:me@hazemkrimi.tech" target="_blank">
|
||||
{{ readFile "assets/icons/mail.svg" | safeHTML }}
|
||||
</a>
|
||||
<a href="{{ $cv.Permalink }}" target="_blank">
|
||||
{{ readFile "assets/icons/cv.svg" | safeHTML }}
|
||||
</a>
|
||||
</div>
|
||||
<p id="copyright"></p>
|
||||
<script>
|
||||
const copyright = (document.querySelector(
|
||||
'#copyright'
|
||||
).innerHTML = `© ${new Date().getFullYear()} Hazem Krimi`);
|
||||
</script>
|
||||
</footer>
|
||||
|
||||
@@ -1,21 +1,15 @@
|
||||
{{ define "styles" }}
|
||||
{{ $styles := resources.Get "css/partials/header.css" | toCSS | minify }}
|
||||
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" />
|
||||
{{ end }}
|
||||
{{ $styles := resources.Get "css/partials/header.css" | toCSS | minify }}
|
||||
{{ $scripts := resources.Get "js/partials/header.js" | js.Build | minify }}
|
||||
|
||||
{{ define "scripts" }}
|
||||
{{ $scripts := resources.Get "js/partials/header.js" | js.Build | minify }}
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}">
|
||||
<script defer src="{{ $scripts.Permalink }}"></script>
|
||||
|
||||
<script defer src="{{ $scripts.Permalink }}"></script>
|
||||
{{ end }}
|
||||
|
||||
{{ $headerFaceImage := resources.Get "images/header-face.png" }}
|
||||
{{ $faceImage := resources.Get "images/small-face.png" }}
|
||||
{{ $cv := resources.Get "cv.pdf" }}
|
||||
|
||||
<header>
|
||||
<div id="header-face">
|
||||
<img src="{{ $headerFaceImage.Permalink }}" alt="Hazem Krimi" />
|
||||
<img src="{{ $faceImage.Permalink }}" alt="Hazem Krimi" />
|
||||
<h3>Hazem Krimi</h3>
|
||||
</div>
|
||||
<div id="menus">
|
||||
@@ -28,6 +22,7 @@
|
||||
<a href="https://twitter.com/HazemKrimi" target="_blank"> {{ readFile "assets/icons/twitter.svg" | safeHTML }} </a>
|
||||
<a href="https://github.com/hazemKrimi" target="_blank"> {{ readFile "assets/icons/github.svg" | safeHTML }} </a>
|
||||
<a href="/" target="_blank"> {{ readFile "assets/icons/rss.svg" | safeHTML }} </a>
|
||||
<a href="mailto:me@hazemkrimi.tech" target="_blank"> {{ readFile "assets/icons/mail.svg" | safeHTML }} </a>
|
||||
<a href="{{ $cv.Permalink }}" target="_blank"> {{ readFile "assets/icons/cv.svg" | safeHTML }} </a>
|
||||
<div class="vertical-separator"></div>
|
||||
<span
|
||||
@@ -62,6 +57,7 @@
|
||||
{{ readFile "assets/icons/sun.svg" | safeHTML }}
|
||||
</span>
|
||||
<a href="{{ $cv.Permalink }}" target="_blank"> {{ readFile "assets/icons/cv.svg" | safeHTML }} </a>
|
||||
<a href="mailto:me@hazemkrimi.tech" target="_blank"> {{ readFile "assets/icons/mail.svg" | safeHTML }} </a>
|
||||
<a href="/" target="_blank"> {{ readFile "assets/icons/rss.svg" | safeHTML }} </a>
|
||||
<a href="https://github.com/hazemKrimi" target="_blank"> {{ readFile "assets/icons/github.svg" | safeHTML }} </a>
|
||||
<a href="https://twitter.com/HazemKrimi" target="_blank"> {{ readFile "assets/icons/twitter.svg" | safeHTML }} </a>
|
||||
|
||||
Reference in New Issue
Block a user