import type { ReactNode } from 'react'; import { Container, Flex, Heading, Text } from '@chakra-ui/react'; import { t } from '@/i18n'; import LinkButton from '../LinkButton'; type StatusPageProps = { title: string; children: ReactNode; // Standaard één knop terug naar home actions?: ReactNode; }; // Gedeelde opmaak van de 404- en de foutpagina export default function StatusPage({ title, children, actions, }: StatusPageProps) { return ( {title} {children} {actions ?? ( {t('common.actions.backHome')} )} ); }