Blog page 09
A heading beside a subscribe form, a category filter, and a two-column grid of horizontal posts. Then more posts, a call to action on grey and a footer on dark.
Last updated
---
/**
* Blog page 09: A heading beside a subscribe form, a category filter, and a two-column grid of horizontal posts. Then more posts, a call to action on grey and a footer on dark.
*
* @page blog
*/
import Divider from '@/components/apogee/Divider/Divider.astro'
import Navigation from '../../blocks/header-navigation/TwoColWithSidebar.astro'
import Posts from '../../blocks/blog/Simple06.astro'
import Posts2 from '../../blocks/blog/SplitLayout02.astro'
import CallToAction from '../../blocks/cta/SimpleCentered.astro'
import Footer from '../../blocks/footers/Large05.astro'
---
<Navigation />
<main>
<Posts />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<Posts2 />
<div class="bg-neutral-faded"><CallToAction /></div>
</main>
<div data-theme="dark" class="bg-page text-neutral"><Footer /></div>
Show codeHide code
---
/**
* Blog page 09: A heading beside a subscribe form, a category filter, and a two-column grid of horizontal posts. Then more posts, a call to action on grey and a footer on dark.
*
* @page blog
*/
import Divider from '@/components/apogee/Divider/Divider.astro'
import Navigation from '../../blocks/header-navigation/TwoColWithSidebar.astro'
import Posts from '../../blocks/blog/Simple06.astro'
import Posts2 from '../../blocks/blog/SplitLayout02.astro'
import CallToAction from '../../blocks/cta/SimpleCentered.astro'
import Footer from '../../blocks/footers/Large05.astro'
---
<Navigation />
<main>
<Posts />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<Posts2 />
<div class="bg-neutral-faded"><CallToAction /></div>
</main>
<div data-theme="dark" class="bg-page text-neutral"><Footer /></div>Add
npx @ava-ui/apogee add blog/blog-page-09
This copies the page to src/components/apogee/pages/blog/ with the blocks it stacks and everything they use: header-navigation/two-col-with-sidebar, blog/simple-06, blog/split-layout-02, cta/simple-centered, footers/large-05. 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/simple-06) 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.