import { useLocation, Link } from 'react-router-dom' import { LayoutGrid, Server, Bookmark, Terminal, Settings, ChevronLeft, ChevronRight, } from 'lucide-react' interface SidebarProps { collapsed: boolean onToggle: () => void } const navItems = [ { icon: LayoutGrid, label: 'Glance', route: '/' }, { icon: Server, label: 'Infrastructure', route: '/infrastructure' }, { icon: Bookmark, label: 'BookNest', route: '/booknest' }, { icon: Terminal, label: 'Terminal', route: '/terminal' }, { icon: Settings, label: 'Settings', route: '/settings' }, ] export default function Sidebar({ collapsed, onToggle }: SidebarProps) { const width = collapsed ? 64 : 200 const location = useLocation() return ( ) }