Part 8

FAQ Section

Frequently asked questions sections with accordion UI for each theme.

The FAQ section displays common questions and answers in an accordion format.

Theme Variants

ThemeComponentStyle
LiquidFAQLiquid.astroSmooth animated accordions
GlassFAQGlass.astroFrosted glass accordions
NeoFAQNeo.astroBold, high-contrast Q&A
LuxuryFAQLuxury.astroElegant accordions with gold accents
MinimalFAQMinimal.astroClean, simple accordions
AuroraFAQAurora.astroGradient background FAQ cards

All variants are located at src/components/sections/faq/.

Content Source

FAQ items are loaded from src/locales/{lang}/faq.json via useTranslations(). The JSON structure typically contains an array of question-answer pairs.

ℹ️
No Props

FAQ components take no external props. To add, remove, or edit FAQ items, update src/locales/{lang}/faq.json.

Customizing

To customize:

  1. Edit src/components/sections/faq/FAQ{Theme}.astro.
  2. Adjust styles in src/styles/components/faq/.
  3. Change content in src/locales/{lang}/faq.json.