diff --git a/components/layout/MobileBottomNav.tsx b/components/layout/MobileBottomNav.tsx index ee4e090ed..f9c311184 100644 --- a/components/layout/MobileBottomNav.tsx +++ b/components/layout/MobileBottomNav.tsx @@ -24,8 +24,6 @@ export function MobileBottomNav({ navLinks, currentLocale }: MobileBottomNavProp const homeUrl = `/${currentLocale}`; // Find the specific links from the provided navLinks (which might be translated) - // We do a simple match based on index or keywords if needed, but since we know the order: - // 0: Kompetenzen, 1: Über uns, 2: Karriere, 3: Messen const competenciesUrl = navLinks[0]?.url || `/${currentLocale}/kompetenzen`; const aboutUrl = navLinks[1]?.url || `/${currentLocale}/ueber-uns`; const contactUrl = `/${currentLocale}/${currentLocale === 'de' ? 'kontakt' : 'contact'}`; @@ -34,30 +32,30 @@ export function MobileBottomNav({ navLinks, currentLocale }: MobileBottomNavProp { label: currentLocale === 'de' ? 'Start' : 'Home', url: homeUrl, - icon: , + icon: , exactMatch: true }, { label: navLinks[0]?.label || (currentLocale === 'de' ? 'Kompetenzen' : 'Competencies'), url: competenciesUrl, - icon: + icon: }, { label: navLinks[1]?.label || (currentLocale === 'de' ? 'Über uns' : 'About Us'), url: aboutUrl, - icon: + icon: }, { label: currentLocale === 'de' ? 'Kontakt' : 'Contact', url: contactUrl, - icon: + icon: } ]; }, [currentLocale, navLinks]); return ( -
-