'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import { cn } from '@/lib/utils'; interface IntakeTabsProps { clientId: string; intakeId: string; } export function IntakeTabs({ clientId, intakeId }: IntakeTabsProps) { const pathname = usePathname(); const baseUrl = `/epd/clients/${clientId}/intakes/${intakeId}`; const tabs = [ { name: 'Algemeen', href: baseUrl, exact: true }, { name: 'Contactmomenten', href: `${baseUrl}/contacts` }, { name: 'Kindcheck', href: `${baseUrl}/kindcheck` }, { name: 'Risicotaxatie', href: `${baseUrl}/risk` }, { name: 'Anamnese', href: `${baseUrl}/anamnese` }, { name: 'Onderzoek', href: `${baseUrl}/examination` }, { name: 'Diagnose & Advies', href: `${baseUrl}/diagnosis` }, ]; return (
); }