'use client' import Link from 'next/link' import { usePathname } from 'next/navigation' import { Database, FileText, Cookie, Clock, LayoutGrid, } from 'lucide-react' const EINWILLIGUNGEN_TABS = [ { id: 'overview', label: 'Übersicht', href: '/sdk/einwilligungen', icon: LayoutGrid, description: 'Consent-Tracking Dashboard', }, { id: 'catalog', label: 'Datenpunktkatalog', href: '/sdk/einwilligungen/catalog', icon: Database, description: '18 Kategorien, 128 Datenpunkte', }, { id: 'privacy-policy', label: 'DSI Generator', href: '/sdk/einwilligungen/privacy-policy', icon: FileText, description: 'Datenschutzinformation erstellen', }, { id: 'cookie-banner', label: 'Cookie-Banner', href: '/sdk/einwilligungen/cookie-banner', icon: Cookie, description: 'Cookie-Consent konfigurieren', }, { id: 'retention', label: 'Löschmatrix', href: '/sdk/einwilligungen/retention', icon: Clock, description: 'Aufbewahrungsfristen verwalten', }, ] export function EinwilligungenNavTabs() { const pathname = usePathname() return (
{EINWILLIGUNGEN_TABS.map((tab) => { const Icon = tab.icon const isActive = pathname === tab.href return (
{tab.label}
{tab.description}
) })}
) }