import type { ReactNode } from "react"; export function Section({ id, eyebrow, title, lead, compactTop = false, children, }: { id: string; eyebrow: string; title: string; lead?: ReactNode; /** Trim the top padding when the section follows another one, so the gap between them isn't doubled. */ compactTop?: boolean; children: ReactNode; }) { return (

{eyebrow}

{title}

{lead &&
{lead}
}
{children}
); }