A centred heading over three contact methods with icons and links. Then a contact form, a newsletter signup and a footer on dark.

Last updated

Open page
Show code
---
/**
 * Contact page 06: A centred heading over three contact methods with icons and links. Then a contact form, a newsletter signup and a footer on dark.
 *
 * @page contact
 */
import Navigation from '../../blocks/header-navigation/TwoColWithLinks.astro'
import Contact from '../../blocks/contact/SimpleLinks01.astro'
import Contact2 from '../../blocks/contact/SimpleForm01.astro'
import Newsletter from '../../blocks/newsletter/CardHorizontal.astro'
import Footer from '../../blocks/footers/Large07.astro'
---

<Navigation />
<main>
  <Contact headingLevel={1} />
  <Contact2 />
  <Newsletter />
</main>
<div data-theme="dark" class="bg-page text-neutral"><Footer /></div>

Add

npx @ava-ui/apogee add contact/contact-page-06

This copies the page to src/components/apogee/pages/contact/ with the blocks it stacks and everything they use: header-navigation/two-col-with-links, contact/simple-links-01, contact/simple-form-01, newsletter/card-horizontal, footers/large-07. 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 (contact/simple-links-01) 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.