import type { CompiledPage } from '../../../src/contracts/page'; /** The page body (compiled markdown) followed by the anchored sections room objects link to. */ export function ContentSections({ page }: { page: CompiledPage }) { return (
{page.sections?.length ? (
{page.sections.map(section =>

{section.heading}

{section.body}

)}
) : null}
); }