// Section components — About, Testimonials, ForWho const About = () => { const { about } = CONTENT; return ( {about.section} {about.creds.map(([k, v], i) => ( {k} {v} ))} {about.headline} {about.body.map((p, i) => ( {p} ))} ); }; const Testimonials = () => { const { testimonials } = CONTENT; return ( {testimonials.section} {testimonials.items.map((t, i) => ( “ {t.quote} {t.name.split(" ").map(s => s[0]).slice(0, 2).join("")} {t.name} {t.role} ))} ); }; const ForWho = () => { const { forwho } = CONTENT; return ( {forwho.section} {forwho.headline} {forwho.yes.map((li, i) => ( ✓ {li} ))} {forwho.noHeadline} {forwho.no.map((li, i) => ( — {li} ))} ); }; Object.assign(window, { About, Testimonials, ForWho });
{p}
{t.quote}