Blog post 09
A header and wide photo, then the body beside a newsletter card (from lg). Then more posts and a footer on dark.
Last updated
---
/**
* Blog post 09: A header and wide photo, then the body beside a newsletter card (from lg). Then more posts and a footer on dark.
*
* @page blog-post
*/
import Divider from '@/components/apogee/Divider/Divider.astro'
import Navigation from '../../blocks/header-navigation/TwoColWithSidebar.astro'
import Article from '../../blocks/content/LargeImage03.astro'
import Posts from '../../blocks/blog/SplitLayout01.astro'
import Footer from '../../blocks/footers/Large08.astro'
---
<Navigation />
<main>
<Article />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<Posts />
</main>
<div data-theme="dark" class="bg-page text-neutral"><Footer /></div>
Show codeHide code
---
/**
* Blog post 09: A header and wide photo, then the body beside a newsletter card (from lg). Then more posts and a footer on dark.
*
* @page blog-post
*/
import Divider from '@/components/apogee/Divider/Divider.astro'
import Navigation from '../../blocks/header-navigation/TwoColWithSidebar.astro'
import Article from '../../blocks/content/LargeImage03.astro'
import Posts from '../../blocks/blog/SplitLayout01.astro'
import Footer from '../../blocks/footers/Large08.astro'
---
<Navigation />
<main>
<Article />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<Posts />
</main>
<div data-theme="dark" class="bg-page text-neutral"><Footer /></div>Add
npx @ava-ui/apogee add blog-post/blog-post-09
This copies the page to src/components/apogee/pages/blog-post/ with the blocks it stacks and everything they use: header-navigation/two-col-with-sidebar, content/large-image-03, blog/split-layout-01, footers/large-08. 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/large-image-03) is the page’s only
h1; every other section heading is anh2, with item titles one level down. - Each block keeps its own accessibility notes; follow the links above.