// components/Sidebar.jsx import { NavLink } from 'react-router-dom' import { LayoutDashboard, Radio, Brain, ShieldAlert, Eye, ScrollText, BarChart3, Activity, Settings, ChevronLeft, ChevronRight } from 'lucide-react' const NAV = [ { label: 'Main', items: [ { to: '/', icon: LayoutDashboard, label: 'Dashboard' }, { to: '/junctions', icon: Radio, label: 'Live Junctions' }, { to: '/decisions', icon: Brain, label: 'AI Decisions' }, { to: '/safety', icon: ShieldAlert, label: 'Safety & Emergency' }, { to: '/perception', icon: Eye, label: 'Perception & Risk' }, { to: '/logs', icon: ScrollText, label: 'System Logs' }, { to: '/metrics', icon: BarChart3, label: 'Performance Metrics' }, ]}, { label: 'System', items: [ { to: '/system', icon: Activity, label: 'System Status' }, { to: '/config', icon: Settings, label: 'Configuration' }, ]}, ] export default function Sidebar({ collapsed, onToggle }) { return ( ) }