feat(activities): seat Map right after Home in the bottom nav

Map is a primary discovery surface for events, so it earns the second
slot next to Home instead of sitting at the tail of the auth-gated
tabs (My tickets, Hosting). Unchanged auth gating on the other tabs.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Padreug 2026-06-10 17:56:18 +02:00
commit 5e3d77efec

View file

@ -51,6 +51,7 @@ const tabs = computed<BottomTab[]>(() => [
}, },
isActive: () => inFeedRoute() && !onlyHosting.value, isActive: () => inFeedRoute() && !onlyHosting.value,
}, },
{ name: t('events.nav.map'), icon: Map, path: '/events/map' },
{ {
name: t('events.filters.myTickets'), name: t('events.filters.myTickets'),
icon: Ticket, icon: Ticket,
@ -88,7 +89,6 @@ const tabs = computed<BottomTab[]>(() => [
isActive: () => inFeedRoute() && onlyHosting.value, isActive: () => inFeedRoute() && onlyHosting.value,
disabled: !isAuthenticated.value, disabled: !isAuthenticated.value,
}, },
{ name: t('events.nav.map'), icon: Map, path: '/events/map' },
{ {
name: t('events.nav.favorites'), name: t('events.nav.favorites'),
icon: Heart, icon: Heart,