2024-09-13 17:45:32 +02:00
|
|
|
<footer>
|
2024-09-15 15:36:23 +02:00
|
|
|
<div class="footer-container">
|
2024-09-14 11:32:32 +02:00
|
|
|
{% set otherLang = page.url | locale_links | first %}
|
|
|
|
<a href="{{otherLang.url}}" lang="{{otherLang.lang}}" hreflang="{{otherLang.lang}}">
|
|
|
|
{% if otherLang.lang == "de" %}
|
|
|
|
Deutsche Version 🇩🇪
|
|
|
|
{% else %}
|
|
|
|
English Version 🇬🇧/🇺🇸
|
|
|
|
{% endif %}
|
|
|
|
</a>
|
2024-09-15 15:36:23 +02:00
|
|
|
<nav id="footerNav">
|
2024-09-14 10:59:22 +02:00
|
|
|
{{ collections.footerNav | pageLang | eleventyNavigation | eleventyNavigationToHtml | safe }}
|
2024-09-13 17:45:32 +02:00
|
|
|
</nav>
|
2024-09-15 15:36:23 +02:00
|
|
|
<span>
|
2024-09-13 17:45:32 +02:00
|
|
|
Design:
|
|
|
|
<a href="https://designtoasty.de" target="_blank" rel="noreferrer">Designtoasty</a>
|
2024-09-15 15:36:23 +02:00
|
|
|
</span>
|
|
|
|
<span>Made with 🧉 and 🌈 in Dresden</span>
|
2024-09-13 17:45:32 +02:00
|
|
|
</div>
|
|
|
|
</footer>
|
2024-09-15 15:36:23 +02:00
|
|
|
|
|
|
|
{% css %}
|
|
|
|
footer {
|
|
|
|
border-top: 1px dotted rgba(0,0,0,.15);
|
|
|
|
padding: 4rem 0;
|
|
|
|
}
|
|
|
|
#footerNav ul {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
gap: 1em;
|
|
|
|
}
|
|
|
|
#footerNav li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
.footer-container {
|
2024-09-15 16:11:29 +02:00
|
|
|
max-width: var(--page-width);
|
2024-09-15 15:36:23 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: auto auto;
|
|
|
|
grid-auto-flow: column;
|
|
|
|
grid-template-rows: 1fr 1fr;
|
|
|
|
gap: 1em;
|
|
|
|
}
|
|
|
|
.footer-container > :nth-last-child(-n + 2) {
|
|
|
|
text-align: end;
|
|
|
|
}
|
|
|
|
{% endcss %}
|