ese-website/_includes/footer.njk

45 lines
1.5 KiB
Plaintext
Raw Normal View History

2024-09-13 17:45:32 +02:00
<footer>
2024-09-23 14:37:40 +02:00
<div class="footer-container content">
2024-09-14 11:32:32 +02:00
{% set otherLang = page.url | locale_links | first %}
2024-10-02 12:16:01 +02:00
<div>
<a class="languageSwitch" href="{{otherLang.url}}" lang="{{otherLang.lang}}" hreflang="{{otherLang.lang}}">
2024-09-23 17:54:34 +02:00
{% if otherLang.lang == "de" %}
Deutsche Version 🇩🇪
{% else %}
English Version 🇬🇧/🇺🇸
{% endif %}
</a>
</div>
2024-09-15 15:36:23 +02:00
<nav id="footerNav">
{% set navPages = collections.footerNav | pageLang | eleventyNavigation %}
<ul>
{%- for entry in navPages -%}
<li>
<a class="footernav-item {%- if entry.url == page.url %} active{% endif %}"
href="{{ entry.url }}">{{ entry.title }}</a>
</li>
{%- endfor %}
<li>
<a class="footernav-item" href="https://ifsr.de/{{lang}}/datenschutz" target="_blank" rel="noopener">
{{ 'Privacy' if lang == 'en' else 'Datenschutz' }}
</a>
</li>
<li>
<a class="footernav-item" href="https://ifsr.de/{{lang}}/impressum" target="_blank" rel="noopener">
{{ 'Imprint' if lang == 'en' else 'Impressum' }}
</a>
</li>
</ul>
2024-09-13 17:45:32 +02:00
</nav>
2024-09-23 17:54:34 +02:00
<span class="designCredit">
2024-09-13 17:45:32 +02:00
Design:
2024-10-02 12:16:01 +02:00
<a class="designLink" 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 %}
2024-09-20 17:10:24 +02:00
{% include "footer.css" %}
2024-09-15 15:36:23 +02:00
{% endcss %}