Blog page 10
A centred header with an email form, then one centred column of horizontal posts and pagination. Then more posts, a newsletter signup and a footer on the brand colour.
Last updated
---
/**
* Blog page 10: A centred header with an email form, then one centred column of horizontal posts and pagination. Then more posts, a newsletter signup and a footer on the brand colour.
*
* @page blog
*/
import Divider from '@/components/apogee/Divider/Divider.astro'
import Navigation from '../../blocks/header-navigation/DropdownSimple.astro'
import Posts from '../../blocks/blog/AltLayout04.astro'
import Posts2 from '../../blocks/blog/SimpleCenterAligned01.astro'
import Newsletter from '../../blocks/newsletter/CardVertical.astro'
import Footer from '../../blocks/footers/Large04Brand.astro'
---
<Navigation />
<main>
<Posts />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<Posts2 />
<Newsletter />
</main>
<Footer />
Show codeHide code
---
/**
* Blog page 10: A centred header with an email form, then one centred column of horizontal posts and pagination. Then more posts, a newsletter signup and a footer on the brand colour.
*
* @page blog
*/
import Divider from '@/components/apogee/Divider/Divider.astro'
import Navigation from '../../blocks/header-navigation/DropdownSimple.astro'
import Posts from '../../blocks/blog/AltLayout04.astro'
import Posts2 from '../../blocks/blog/SimpleCenterAligned01.astro'
import Newsletter from '../../blocks/newsletter/CardVertical.astro'
import Footer from '../../blocks/footers/Large04Brand.astro'
---
<Navigation />
<main>
<Posts />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<Posts2 />
<Newsletter />
</main>
<Footer />Add
npx @ava-ui/apogee add blog/blog-page-10
This copies the page to src/components/apogee/pages/blog/ with the blocks it stacks and everything they use: header-navigation/dropdown-simple, blog/alt-layout-04, blog/simple-center-aligned-01, newsletter/card-vertical, footers/large-04-brand. 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-04) 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.