'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { LayoutDashboard, Calendar, Trophy, ShoppingCart, Users, CreditCard, BarChart3, Settings, } from 'lucide-react'; import { cn } from '@/lib/utils'; interface NavItem { label: string; href: string; icon: React.ComponentType<{ className?: string }>; } const navItems: NavItem[] = [ { label: 'Dashboard', href: '/admin/dashboard', icon: LayoutDashboard }, { label: 'Reservas', href: '/admin/bookings', icon: Calendar }, { label: 'Torneos', href: '/admin/tournaments', icon: Trophy }, { label: 'Ventas', href: '/admin/pos', icon: ShoppingCart }, { label: 'Clientes', href: '/admin/clients', icon: Users }, { label: 'Membresías', href: '/admin/memberships', icon: CreditCard }, { label: 'Reportes', href: '/admin/reports', icon: BarChart3 }, { label: 'Configuración', href: '/admin/settings', icon: Settings }, ]; export function Sidebar() { const pathname = usePathname(); return ( ); } export default Sidebar;