Datenschutz und Impressum hinzugefügt
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 9s
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 9s
This commit is contained in:
21
src/components/Footer.astro
Normal file
21
src/components/Footer.astro
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
// src/components/Footer.astro
|
||||
const currentYear = new Date().getFullYear();
|
||||
const startYear = 2026;
|
||||
const displayYear = currentYear > startYear ? `${startYear}–${currentYear}` : startYear;
|
||||
---
|
||||
|
||||
<footer class="main-footer">
|
||||
<div class="footer-container">
|
||||
<div class="footer-copy">
|
||||
©{displayYear} Eduard Iten
|
||||
</div>
|
||||
|
||||
<nav>
|
||||
<ul class="footer-links">
|
||||
<li><a href="/impressum" class="footer-link-item">Impressum</a></li>
|
||||
<li><a href="/datenschutz" class="footer-link-item">Datenschutz</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</footer>
|
||||
Reference in New Issue
Block a user