import { Header } from './Header' import { Footer } from './Footer' import type { CmsLegal } from '@/lib/legal-model' import type { Dict, Locale } from '@/i18n' export function SectionPage({ t, locale, path, title, showNews, legal, children, review = true }: { t: Dict; locale: Locale; path: string; title: string; showNews: boolean; legal: CmsLegal | null; children: React.ReactNode; review?: boolean }) { return <>

{title}

{review && t.sections.review &&

{t.sections.review}

} {children}