import type { AboutSection } from '../types'; import { Container } from '../ui'; export function About({ section }: { section: AboutSection }) { const { heading, body, stats } = section.content; const showStats = section.variant === 'with-stats' && stats.length > 0; return (

{heading}

{body}

{showStats && (
{stats.map((stat) => (
{stat.label}
{stat.value}
))}
)}
); }