A banner on the brand colour and a centred header with an email sign-up, a large featured post, a grid of posts and pagination. Then more posts on grey, a call to action beside a quote and a footer.

Last updated

Open page
Show code
---
/**
 * Blog page 05: A banner on the brand colour and a centred header with an email sign-up, a large featured post, a grid of posts and pagination. Then more posts on grey, a call to action beside a quote and a footer.
 *
 * @page blog
 */
import Banner from '../../blocks/banner/SlimBrandFullWidth.astro'
import Navigation from '../../blocks/header-navigation/DropdownFeaturedPosts.astro'
import Posts from '../../blocks/blog/FeaturedPost03.astro'
import Posts2 from '../../blocks/blog/CarouselLayout02.astro'
import CallToAction from '../../blocks/cta/SplitImageQuote02.astro'
import Footer from '../../blocks/footers/Large02.astro'
---

<Banner />
<Navigation />
<main>
  <Posts />
  <div class="bg-neutral-faded"><Posts2 /></div>
  <CallToAction />
</main>
<Footer />

Add

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

This copies the page to src/components/apogee/pages/blog/ with the blocks it stacks and everything they use: banner/slim-brand-full-width, header-navigation/dropdown-featured-posts, blog/featured-post-03, blog/carousel-layout-02, cta/split-image-quote-02, footers/large-02. 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 (blog/featured-post-03) 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.