center
faqin useOpen livedesktop preview
mobile preview
- Files
src/components/sections/Faq.astrosrc/components/sections/faq/HelpCard.astrosrc/scripts/sections/faq.ts
- How to pin
{ "variants": { "<section id>": "center" } }yes: theme.json variants[<section.id>]="center" (SectionList passes extras.variants as pinned). Not validated: a wrong id for the kind falls to the component default
- Reads
- faq | faq{title,items[{q,a}]}; consecutive question runs merged by lib/question-runs.ts
- Used by
- not tracked (layout is seeded per site)
- Quality gates
22 codes
sections (about/services/stats/faq/testimonials):
plain-sectionthin-cardempty-cardsempty-arealayout-imbalancemisaligned-columnsshort-text-columnstext-walltext-fragmentheadline-is-paragraphheading-truncatedduplicate-headingeyebrow-equals-titleduplicate-sectionduplicate-titleflattened-listorphan-numberingrelated-sections-apartplaceholder-icon-tilecard-no-artempty-art-panelrepeated-image- Selected by
- planLayout (components/variants.ts): optionsFor(section) eligibility; a family cycles through unused layouts first; pick(seed, kind:index). Precedence: theme.json variants[sectionId] (facts.pinned, NOT validated against eligibility) > effect registry forced variants (only if eligible) > seeded