import { Link, useLocation } from 'react-router-dom'; import { cn } from '@/lib/utils'; import { LayoutDashboard, Database, Key, BarChart3, Settings, } from 'lucide-react'; interface NavItem { title: string; href: string; icon: React.ComponentType<{ className?: string }>; } const navItems: NavItem[] = [ { title: 'Dashboard', href: '/', icon: LayoutDashboard, }, { title: 'Buckets', href: '/buckets', icon: Database, }, { title: 'Access Control', href: '/access', icon: Key, }, { title: 'Analytics', href: '/analytics', icon: BarChart3, }, { title: 'Settings', href: '/settings', icon: Settings, }, ]; interface SidebarProps { isOpen: boolean; onClose: () => void; } export function Sidebar({ isOpen, onClose }: SidebarProps) { const location = useLocation(); return (
Garage UI
Admin User
admin@garage.local