"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; import { LayoutDashboard, CalendarDays, Table as TableIcon, History, Settings, LogOut, ListOrdered, Users } from "lucide-react"; import { useAuth } from "@/hooks/useAuth"; const navigation = [ { name: "Dashboard", href: "/", icon: LayoutDashboard }, { name: "Reservas", href: "/reservas", icon: CalendarDays }, { name: "Lista de Espera", href: "/lista-espera", icon: ListOrdered }, { name: "Mesas", href: "/mesas", icon: TableIcon }, { name: "Equipa", href: "/equipa", icon: Users }, { name: "Histórico", href: "/historico", icon: History }, { name: "Configurações", href: "/configuracoes", icon: Settings }, ]; export function Sidebar() { const pathname = usePathname(); const { logout } = useAuth(); return (