import { CmsShowView } from '@/components/views/cms-show-view';

interface Block {
    type: string;
    align?: string;
    de?: string | null;
    fr?: string | null;
    it?: string | null;
    src?: string | null;
    alt?: string | null;
}

interface PageData {
    id: number;
    market_code: string;
    brand_code: string;
    slug: string;
    name_de: string;
    active: boolean;
    decommission_at: string | null;
    blocks: Block[];
}

export default function CmsShow(props: { page: PageData }) {
    return <CmsShowView {...props} />;
}
