From 503ac0f24f2f83f1e221f4ce129e60509950b7e1 Mon Sep 17 00:00:00 2001 From: Yves Gugger Date: Wed, 10 Dec 2025 07:47:30 +0100 Subject: [PATCH] feat: Update navigation structure according to concept (Public: Market/TLD Intel, Command Center: Dashboard/Market/Intelligence) --- frontend/src/components/Header.tsx | 48 +++++++++--------------------- 1 file changed, 14 insertions(+), 34 deletions(-) diff --git a/frontend/src/components/Header.tsx b/frontend/src/components/Header.tsx index ff86a5f..958632d 100644 --- a/frontend/src/components/Header.tsx +++ b/frontend/src/components/Header.tsx @@ -55,13 +55,23 @@ export function Header() { const tierName = subscription?.tier_name || subscription?.tier || 'Scout' - // Navigation items - consistent for logged in/out - const navItems = [ - { href: '/tld-pricing', label: 'TLD Prices', icon: TrendingUp }, - { href: '/auctions', label: 'Auctions', icon: Gavel }, + // Public navigation - for visitors (consistent naming with concept) + const publicNavItems = [ + { href: '/auctions', label: 'Market', icon: Gavel }, + { href: '/tld-pricing', label: 'TLD Intel', icon: TrendingUp }, { href: '/pricing', label: 'Pricing', icon: CreditCard }, ] + // Command Center navigation - for logged in users + const commandCenterNavItems = [ + { href: '/dashboard', label: 'Dashboard', icon: LayoutDashboard }, + { href: '/auctions', label: 'Market', icon: Gavel }, + { href: '/tld-pricing', label: 'Intelligence', icon: TrendingUp }, + ] + + // Use appropriate nav items based on auth status + const navItems = isAuthenticated ? commandCenterNavItems : publicNavItems + const isActive = (href: string) => { if (href === '/') return pathname === '/' return pathname.startsWith(href) @@ -108,20 +118,6 @@ export function Header() {