| 66 | ]; |
| 67 | |
| 68 | export default function Example() { |
| 69 | return ( |
| 70 | <CardLayout size="lg"> |
| 71 | <h1 className="text-2xl font-bold leading-10 tracking-tight text-gray-900 dark:text-gray-100 text-center"> |
| 72 | Frequently asked questions |
| 73 | </h1> |
| 74 | <dl className="mt-10 space-y-6 divide-y divide-gray-900/10"> |
| 75 | {faqs.map((faq) => ( |
| 76 | <> |
| 77 | <dt className="flex w-full items-start justify-between text-left text-gray-900 dark:text-gray-100 text-base font-semibold leading-7"> |
| 78 | {faq.question} |
| 79 | </dt> |
| 80 | <dd className="mt-2 pr-12 text-base leading-7 text-gray-600 dark:text-gray-300"> |
| 81 | {faq.answer} |
| 82 | </dd> |
| 83 | </> |
| 84 | ))} |
| 85 | </dl> |
| 86 | </CardLayout> |
| 87 | ); |
| 88 | } |