// ============================================================ // FAQ — ported from public/components/faq.html. Same content, // same sectioned layout, collapsible questions. Content lives in // data/faq.ts so adding an entry is a one-line data change. // ============================================================ import { useState } from 'react'; import { FAQ_DATA } from '@/data/faq'; function FaqItem({ q, a }: { q: string; a: string }) { const [open, setOpen] = useState(false); return (
{open && (
{a}
)}
); } export default function Faq() { return (

Frequently Asked Questions

Learn how Pediatric AI Scribe works and get the most out of it.

{FAQ_DATA.map((section) => (

{section.section}

{section.items.map((item) => ( ))}
))}
); }