Refactor navigation paths and centralize URL management by introducing a Links configuration; update Footer and Navbar components and rename route files for consistency.

This commit is contained in:
2025-06-19 08:43:45 +09:00
parent eb554b8aad
commit 44bf6f90df
6 changed files with 18 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
import Link from 'next/link';
import Links from "@/app/Links";
export default function Footer() {
return (
@@ -9,8 +10,10 @@ export default function Footer() {
<p>&copy; {new Date().getFullYear()} Kanzlei Mustermann. Alle Rechte vorbehalten.</p>
</div>
<div className="space-x-4">
<Link href="/app/imprint/" className="hover:underline">Impressum</Link>
<Link href="/app/privacy/" className="hover:underline">Datenschutz</Link>
<div className="space-x-4">
<Link href={Links.imprint} className="hover:underline">Impressum</Link>
<Link href={Links.privacy} className="hover:underline">Datenschutz</Link>
</div>
</div>
</div>
</footer>