feat: add footer

This commit is contained in:
Devin Haska 2024-02-06 12:22:15 -08:00
parent 28da427b27
commit f339227c3d
6 changed files with 71 additions and 3 deletions

View file

@ -1,3 +1,28 @@
<footer>
Footer.
{% set socialLinks = meta.social | entries %}
<footer class="[ footer ]">
<div class="[ wrapper ] [ flex justify-between ]">
<div class="[ flow ]">
<p>&copy; {{ meta.author }} 2018-2024.</p>
<nav>
<ul class="[ footer-links ] [ flex list-none ]">
{% for link in socialLinks %}
{% set key = link | first %}
{% set url = link | last %}
<li>
<a href="{{ url }}" target="_blank" rel="external noreferrer noopener">{{ key }}</a>
</li>
{% endfor %}
</ul>
</nav>
</div>
<nav>
<ul class="[ footer-links ] [ flex list-none ]">
{% for link in navigation.bottom %}
<li>
<a href="{{ link.url }}">{{ link.text }}</a>
</li>
{% endfor %}
</ul>
</nav>
</div>
</footer>