// Root layout — the status-page header (brand + language) and the stylesheet. // Don't render /
/ here — the framework shell owns them. import type { ReactNode } from 'react' import { T, useLocale, useT } from '@voltro/i18n' import { LocaleSwitcher } from '@voltro/ui-shadcn' import { APP_NAME } from '../config' import '../globals.css' const LOCALES = [ { code: 'en', label: 'English' }, { code: 'de', label: 'Deutsch' }, ] export default function Layout({ children }: { readonly children: ReactNode }): ReactNode { const locale = useLocale() const langLabel = useT('lang.label') return (