import { NavLink } from 'react-router-dom'; import { LayoutDashboard, Wrench, Stethoscope, Package, Truck, FileText, Settings, LogOut, Users, Building2, } from 'lucide-react'; import { useAuthStore } from '../../store/authStore'; import { useTallerStore } from '../../store/tallerStore'; const navigation = [ { name: 'Dashboard', href: '/dashboard', icon: LayoutDashboard }, { name: 'Ordenes de Servicio', href: '/orders', icon: Wrench }, { name: 'Clientes', href: '/customers', icon: Building2 }, { name: 'Vehiculos', href: '/vehicles', icon: Truck }, { name: 'Inventario', href: '/inventory', icon: Package }, { name: 'Cotizaciones', href: '/quotes', icon: FileText }, { name: 'Diagnosticos', href: '/diagnostics', icon: Stethoscope }, ]; const secondaryNavigation = [ { name: 'Usuarios', href: '/users', icon: Users }, { name: 'Configuracion', href: '/settings', icon: Settings }, ]; export function Sidebar() { const { logout, user } = useAuthStore(); const { currentTaller } = useTallerStore(); return (
{/* Logo */}
Mecanicas
{/* Taller info */} {currentTaller && (

Taller

{currentTaller.name}

)} {/* Navigation */}
); }