Remove basePath usage from internal links across Navbar, Footer, and HomePage.
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
import Link from 'next/link';
|
||||
import {motion} from 'framer-motion';
|
||||
import {basePath} from "@/next.config";
|
||||
|
||||
export default function Navbar() {
|
||||
return (
|
||||
@@ -13,12 +12,12 @@ export default function Navbar() {
|
||||
className="fixed top-0 left-0 right-0 z-50 bg-white shadow-md py-4 px-6 md:px-12 lg:px-24 text-gray-900"
|
||||
>
|
||||
<div className="flex justify-between items-center">
|
||||
<Link href={`${basePath}/`}>
|
||||
<Link href={`/`}>
|
||||
<span className="text-xl font-bold text-blue-800">Kanzlei Mustermann</span>
|
||||
</Link>
|
||||
<div className="space-x-6 text-sm md:text-base">
|
||||
<Link href={`${basePath}/`}>Start</Link>
|
||||
<Link href={`${basePath}/ueber-uns/`}>Über uns</Link>
|
||||
<Link href={`/`}>Start</Link>
|
||||
<Link href={`/ueber-uns/`}>Über uns</Link>
|
||||
<Link href={`/impressum/`}>Impressum</Link>
|
||||
<Link href={`/datenschutz/`}>Datenschutz</Link>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user