'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { useState } from 'react'; const navItems = [ { href: '/', label: 'Executive Overview', icon: DashboardIcon, shortLabel: 'Overview' }, { href: '/accounts', label: 'Accounts', icon: AccountsIcon, shortLabel: 'Accounts' }, { href: '/activity', label: 'Activities', icon: ActivityIcon, shortLabel: 'Activities' }, { href: '/pipeline', label: 'Opportunities', icon: PipelineIcon, shortLabel: 'Opps' }, { href: '/implementation', label: 'Implementation', icon: ImplementIcon, shortLabel: 'Implement' }, { href: '/goals', label: 'Goals & Targets', icon: GoalsIcon, shortLabel: 'Goals' }, { href: '/playbooks', label: 'Playbooks', icon: PlaybookIcon, shortLabel: 'Plays' }, { href: '/reports/status', label: 'Weekly Report', icon: ReportsIcon, shortLabel: 'Report' }, { href: '/reports/executive', label: 'Exec Summary', icon: ExecIcon, shortLabel: 'Summary' }, ]; function DashboardIcon({ className }: { className?: string }) { return ( ); } function ActivityIcon({ className }: { className?: string }) { return ( ); } function PipelineIcon({ className }: { className?: string }) { return ( ); } function ImplementIcon({ className }: { className?: string }) { return ( ); } function PlaybookIcon({ className }: { className?: string }) { return ( ); } function GoalsIcon({ className }: { className?: string }) { return ( ); } function ReportsIcon({ className }: { className?: string }) { return ( ); } function ExecIcon({ className }: { className?: string }) { return ( ); } function AccountsIcon({ className }: { className?: string }) { return ( ); } export function Sidebar() { const pathname = usePathname(); const [collapsed, setCollapsed] = useState(false); return ( <> {/* Desktop sidebar */} {/* Mobile bottom nav */} {navItems.map(item => { const isActive = pathname === item.href; return ( {item.shortLabel} ); })} > ); }