Pfad-Problem behoben. Hoffe ich...
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:
@@ -3,6 +3,7 @@
|
||||
const currentYear = new Date().getFullYear();
|
||||
const startYear = 2026;
|
||||
const displayYear = currentYear > startYear ? `${startYear}–${currentYear}` : startYear;
|
||||
import { getPath } from '../utils/paths';
|
||||
---
|
||||
|
||||
<footer class="main-footer">
|
||||
@@ -13,8 +14,8 @@ const displayYear = currentYear > startYear ? `${startYear}–${currentYear}` :
|
||||
|
||||
<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>
|
||||
<li><a href={getPath("/impressum")} class="footer-link-item">Impressum</a></li>
|
||||
<li><a href={getPath("/datenschutz")} class="footer-link-item">Datenschutz</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user