Remove basePath usage from internal links across Navbar, Footer, and HomePage.

This commit is contained in:
2025-06-09 01:29:44 +02:00
parent f36ec16c74
commit ed750a5915
3 changed files with 6 additions and 9 deletions

View File

@@ -4,7 +4,6 @@
import {motion} from 'framer-motion';
import Link from 'next/link';
import Image from 'next/image';
import {basePath} from '@/next.config';
export default function HomePage() {
return (
@@ -30,7 +29,7 @@ export default function HomePage() {
<p className="text-lg max-w-2xl text-gray-100">
Persönliche Betreuung. Klare Kommunikation. Effektive Lösungen für Ihr Anliegen.
</p>
<Link href={`${basePath}/kontakt/`}>
<Link href="/kontakt/">
<motion.button
whileHover={{scale: 1.05}}
whileTap={{scale: 0.95}}