import { ArrowLeft, BarChart2, Bell, DollarSign, GitCommit, Shield, Target, Users, Zap, } from 'lucide-react'; import { useLocation } from 'wouter'; import { useOpsBadgeCounts } from '../../hooks/use-ops-badge-counts'; interface NavItem { path: string; label: string; icon: typeof Bell; badgeKey?: 'alerts' | 'slaBreaches' | 'governancePending'; } const NAV_ITEMS: NavItem[] = [ { path: '/alerts', label: 'Alert Inbox', icon: Bell, badgeKey: 'alerts' }, { path: '/team', label: 'Team & Users', icon: Users }, { path: '/costs', label: 'Cost Analytics', icon: DollarSign }, { path: '/changelog', label: 'Release Feed', icon: GitCommit }, { path: '/sla', label: 'SLA Dashboard', icon: Target, badgeKey: 'slaBreaches' }, { path: '/governance', label: 'Governance', icon: Shield, badgeKey: 'governancePending' }, { path: '/health', label: 'Health Score', icon: BarChart2 }, { path: '/digest', label: 'Daily Digest', icon: Zap }, ]; interface OpsLayoutProps { children: React.ReactNode; title: string; } export function OpsLayout({ children, title }: OpsLayoutProps) { const [location, navigate] = useLocation(); const counts = useOpsBadgeCounts(); return (