A centred heading, line and search field. Then questions in an accordion, a content section, a call to action with a photo and a footer on grey.

Last updated

Open page
Show code
---
/**
 * FAQ page 10: A centred heading, line and search field. Then questions in an accordion, a content section, a call to action with a photo and a footer on grey.
 *
 * @page faq
 */
import Divider from '@/components/apogee/Divider/Divider.astro'
import Navigation from '../../blocks/header-navigation/DropdownSimple.astro'
import Header from '../../blocks/header/CenteredSearch.astro'
import Questions from '../../blocks/faq/Accordion02.astro'
import Article from '../../blocks/content/SectionSplitImage02.astro'
import CallToAction from '../../blocks/cta/SplitImage03.astro'
import Footer from '../../blocks/footers/Large09.astro'
---

<Navigation />
<main>
  <Header eyebrow="Support" heading="How can we help?" description="Search the help centre or browse the questions below." />
  <Questions />
  <div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
  <Article />
  <CallToAction />
</main>
<div class="bg-neutral-faded"><Footer /></div>

Add

npx @ava-ui/apogee add faq/faq-page-10

This copies the page to src/components/apogee/pages/faq/ with the blocks it stacks and everything they use: header-navigation/dropdown-simple, header/centered-search, faq/accordion-02, content/section-split-image-02, cta/split-image-03, footers/large-09. Render it from a page in src/pages/ inside a layout that has no <main> of its own, or use Copy code above.

Accessibility

  • The page brings its own landmarks: the header and its navigation, one <main>, and the footer.
  • The heading of the first section (header/centered-search) is the page’s only h1; every other section heading is an h2, with item titles one level down.
  • Each block keeps its own accessibility notes; follow the links above.