File: src/blocks/faq/FAQ01.astro
Static FAQ cards — every question and answer is visible (no accordion). Ideal when you want all answers readable at once for SEO and scanning.
Config
Heading/layout from blocks.ts → faq. Items come from integrations.ts → aeo.faq (also used for FAQ JSON-LD).
// blocks.ts
faq: {
width: "narrow",
heading: "Frequently asked questions",
subheading: "Quick answers to common questions about working together.",
},
// integrations.ts — aeo.faq
aeo: {
faq: [
{ question: "How do we start?", answer: "Book a call and share your brief." },
{ question: "What’s the timeline?", answer: "Most marketing sites ship in 2–4 weeks." },
],
},
Add to a page
---
import FAQ01 from "@/blocks/faq/FAQ01.astro";
---
<FAQ01 />
Inline override:
<FAQ01
heading="Common questions"
items={[
{ question: "Do you offer retainers?", answer: "Yes — monthly support packages available." },
]}
/>
Props
| Prop | Config key | Notes |
|---|---|---|
sectionId |
— | Default "faq" |
width |
faq.width |
Usually "narrow" |
heading |
faq.heading |
|
subheading |
faq.subheading |
|
items |
aeo.faq |
{ question, answer }[] |