import { SectionContainer } from "@/components/shared/SectionContainer"; import { PageContainer } from "@/components/shared/PageContainer"; import { RevealOnView } from "@/components/shared/RevealOnView"; import { LegalSection, legalEffectiveDate } from "@/data/legal"; interface LegalContentProps { sections: LegalSection[]; } /** * LegalContent — shared renderer for Privacy and Terms pages. * Uses the site's spacing, container, typography, and reveal animation. */ export function LegalContent({ sections }: LegalContentProps) { return (

Effective {legalEffectiveDate}

{sections.map((section, index) => (

{section.heading}

{section.body.map((paragraph, i) => (

{paragraph}

))}
))}
); }