'use client'; import Link from 'next/link'; import { usePathname } from 'next/navigation'; import packageJson from '@/package.json'; interface TabLayoutProps { children: React.ReactNode; onPrint?: () => void; } const TABS = [ { href: '/', label: 'Termine' }, { href: '/liste', label: 'Liste' }, ]; export default function TabLayout({ children, onPrint }: TabLayoutProps) { const pathname = usePathname(); const version = packageJson.version; const buildDate = process.env.NEXT_PUBLIC_BUILD_DATE || new Date().toLocaleDateString('de-DE', { day: '2-digit', month: '2-digit', year: 'numeric', }); return (