A centred heading, a world map with office pins (from lg) and three contact cards. Then office addresses on the brand colour, a contact form, a newsletter signup and a footer.

Last updated

Open page
Show code
---
/**
 * Contact page 05: A centred heading, a world map with office pins (from lg) and three contact cards. Then office addresses on the brand colour, a contact form, a newsletter signup and a footer.
 *
 * @page contact
 */
import Navigation from '../../blocks/header-navigation/DropdownFeaturedPosts.astro'
import Contact from '../../blocks/contact/Map02.astro'
import Contact2 from '../../blocks/contact/SimpleIcons04Brand.astro'
import Contact3 from '../../blocks/contact/SimpleForm03.astro'
import Newsletter from '../../blocks/newsletter/SimpleCentered.astro'
import Footer from '../../blocks/footers/Large01.astro'
---

<Navigation />
<main>
  <Contact headingLevel={1} />
  <Contact2 />
  <Contact3 />
  <Newsletter />
</main>
<Footer />

Add

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

This copies the page to src/components/apogee/pages/contact/ with the blocks it stacks and everything they use: header-navigation/dropdown-featured-posts, contact/map-02, contact/simple-icons-04-brand, contact/simple-form-03, newsletter/simple-centered, footers/large-01. 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/map-02) 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.