Blog page 02
A centred header with an email form, recent posts (one large, two beside it), then all posts with pagination. Then an app download call to action and a footer on dark.
Last updated
---
/**
* Blog page 02: A centred header with an email form, recent posts (one large, two beside it), then all posts with pagination. Then an app download call to action and a footer on dark.
*
* @page blog
*/
import Navigation from '../../blocks/header-navigation/DropdownSimpleWithFooter.astro'
import Posts from '../../blocks/blog/AltLayout02.astro'
import CallToAction from '../../blocks/cta/IphoneMockup02.astro'
import Footer from '../../blocks/footers/Large09.astro'
---
<Navigation />
<main>
<Posts />
<CallToAction />
</main>
<div data-theme="dark" class="bg-page text-neutral"><Footer /></div>
Show codeHide code
---
/**
* Blog page 02: A centred header with an email form, recent posts (one large, two beside it), then all posts with pagination. Then an app download call to action and a footer on dark.
*
* @page blog
*/
import Navigation from '../../blocks/header-navigation/DropdownSimpleWithFooter.astro'
import Posts from '../../blocks/blog/AltLayout02.astro'
import CallToAction from '../../blocks/cta/IphoneMockup02.astro'
import Footer from '../../blocks/footers/Large09.astro'
---
<Navigation />
<main>
<Posts />
<CallToAction />
</main>
<div data-theme="dark" class="bg-page text-neutral"><Footer /></div>Add
npx @ava-ui/apogee add blog/blog-page-02
This copies the page to src/components/apogee/pages/blog/ with the blocks it stacks and everything they use: header-navigation/dropdown-simple-with-footer, blog/alt-layout-02, cta/iphone-mockup-02, footers/large-09. 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/alt-layout-02) 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.