From efb9bdbb3f4cc34b9f098de7fd3151c34d74010f Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Fri, 19 Jun 2026 22:39:13 +0200 Subject: [PATCH] feat: modernize mobile bottom nav with 2030 design and fix z-index --- components/layout/MobileBottomNav.tsx | 54 +++++++++++++++------------ 1 file changed, 30 insertions(+), 24 deletions(-) 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 ( -
-