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:
@@ -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>© {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>
|
||||
|
||||
Reference in New Issue
Block a user