diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 68e8d9c..d185b13 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -236,88 +236,97 @@ function MobileNav({ userName?: string; t: (key: string) => string; }) { + // Decide which tabs to show — max 5 on small screens + // Logged in: Home, Map, Lab, Events, Profile (wallet in profile dropdown) + // Logged out: Home, Map, Lab, Events, Login + const tabs = [ + ...navItemKeys, + ...(isLoggedIn + ? [{ href: '/wallet', labelKey: 'nav.wallet', icon: Wallet }] + : []), + ]; + return ( -