'use client'; import { ReactNode } from 'react'; import LogoutButton from '@/components/LogoutButton'; import packageJson from '@/package.json'; interface Tab { label: string; index: number; } interface TabLayoutProps { children: ReactNode; activeTab: number; onTabChange: (index: number) => void; } const TABS: Tab[] = [ { label: 'Haushalt', index: 0 }, { label: 'Privat', index: 1 }, ]; export default function TabLayout({ children, activeTab, onTabChange }: TabLayoutProps) { 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 (