A split header, then a sidebar with contents, contributors, a newsletter form and share links beside the body. Then more posts, a call to action with a screenshot, a newsletter signup on grey and a footer.

Last updated

Open page
Show code
---
/**
 * Blog post 08: A split header, then a sidebar with contents, contributors, a newsletter form and share links beside the body. Then more posts, a call to action with a screenshot, a newsletter signup on grey and a footer.
 *
 * @page blog-post
 */
import Divider from '@/components/apogee/Divider/Divider.astro'
import Navigation from '../../blocks/header-navigation/ThreeColWithSidebar.astro'
import Article from '../../blocks/content/SplitImage03.astro'
import Posts from '../../blocks/blog/SimpleCenterAligned01.astro'
import CallToAction from '../../blocks/cta/ScreenMockup01.astro'
import Newsletter from '../../blocks/newsletter/SimpleCentered.astro'
import Footer from '../../blocks/footers/Large02.astro'
---

<Navigation />
<main>
  <Article />
  <div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
  <Posts />
  <div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
  <CallToAction />
  <div class="bg-neutral-faded"><Newsletter /></div>
</main>
<Footer />

Add

npx @ava-ui/apogee add blog-post/blog-post-08

This copies the page to src/components/apogee/pages/blog-post/ with the blocks it stacks and everything they use: header-navigation/three-col-with-sidebar, content/split-image-03, blog/simple-center-aligned-01, cta/screen-mockup-01, newsletter/simple-centered, 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 (content/split-image-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.