"use client"; import { Building2, ClipboardCheck, FileArchive, Gauge, LayoutDashboard, LogOut, MapPin, Stethoscope, UserRound } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { useAuth } from "@/components/auth"; const navigation = [ { href: "/dashboard", label: "Dashboard", icon: LayoutDashboard }, { href: "/customers", label: "Kunden", icon: Building2 }, { href: "/locations", label: "Standorte", icon: MapPin }, { href: "/contacts", label: "Ansprechpartner", icon: UserRound }, { href: "/devices", label: "Geraete", icon: Stethoscope }, { href: "/equipment", label: "Pruefmittel", icon: Gauge }, { href: "/validations", label: "Validierungen", icon: ClipboardCheck }, { href: "/documents", label: "Dokumente", icon: FileArchive } ]; export function AppShell({ children }: { children: React.ReactNode }) { const pathname = usePathname(); const auth = useAuth(); return (
{children}
); }