From 95759fd64998bfa806c23d1df4fcacdf8dd674f6 Mon Sep 17 00:00:00 2001 From: Guillermo Pages Date: Mon, 24 Nov 2025 10:22:26 +0100 Subject: [PATCH] feat: add navigation for admin portal Add 'Venue Admin' menu item in hamburger navigation: - Links to /admin/clubs for facility management - Purple accent to distinguish from player features - Positioned after assessment, before language selector Add tabs to club detail page: - Plans tab (purple accent) - Members tab (purple accent) - Settings tab (purple accent) - All tabs link to new admin portal pages Navigation is now complete for accessing all facility management features. --- .../admin/clubs/[club_id]/ClubDetailTabs.tsx | 18 ++++++++++++ src/components/Navigation.tsx | 29 ++++++++++++++++--- 2 files changed, 43 insertions(+), 4 deletions(-) diff --git a/src/app/[locale]/admin/clubs/[club_id]/ClubDetailTabs.tsx b/src/app/[locale]/admin/clubs/[club_id]/ClubDetailTabs.tsx index 7fff486..c151482 100644 --- a/src/app/[locale]/admin/clubs/[club_id]/ClubDetailTabs.tsx +++ b/src/app/[locale]/admin/clubs/[club_id]/ClubDetailTabs.tsx @@ -196,6 +196,24 @@ export default function ClubDetailTabs({ clubId }: ClubDetailTabsProps) { > Slot Definitions + + Plans + + + Members + + + Settings + diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx index 9c405e7..63b46a4 100644 --- a/src/components/Navigation.tsx +++ b/src/components/Navigation.tsx @@ -408,7 +408,28 @@ export default function Navigation({ pageTitle }: NavigationProps) { {t("What's my level?")} - + + + {/* Admin Section */} +
+ + + +
+ +
+ {t('Venue Admin')} + +
)} @@ -416,7 +437,7 @@ export default function Navigation({ pageTitle }: NavigationProps) {