A place title beside a tall photo, the body, then share links. Then more posts on grey and a footer.

Last updated

Open page
Show code
---
/**
 * Blog post 03: A place title beside a tall photo, the body, then share links. Then more posts on grey and a footer.
 *
 * @page blog-post
 */
import Navigation from '../../blocks/header-navigation/DropdownSimpleTwoColumns.astro'
import Article from '../../blocks/content/Alternative03.astro'
import Posts from '../../blocks/blog/SplitLayout02.astro'
import Footer from '../../blocks/footers/Small04.astro'
---

<Navigation />
<main>
  <Article />
  <div class="bg-neutral-faded"><Posts /></div>
</main>
<Footer />

Add

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

This copies the page to src/components/apogee/pages/blog-post/ with the blocks it stacks and everything they use: header-navigation/dropdown-simple-two-columns, content/alternative-03, blog/split-layout-02, footers/small-04. 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/alternative-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.