Blog post 04
A banner on grey and a split header beside a wide photo, the body, then share links. Then more posts, a call to action with images, a newsletter signup and a footer.
Last updated
---
/**
* Blog post 04: A banner on grey and a split header beside a wide photo, the body, then share links. Then more posts, a call to action with images, a newsletter signup and a footer.
*
* @page blog-post
*/
import Divider from '@/components/apogee/Divider/Divider.astro'
import Banner from '../../blocks/banner/SlimFullWidth.astro'
import Navigation from '../../blocks/header-navigation/DropdownTwoColsWithLinksAndFooter.astro'
import Article from '../../blocks/content/SplitImage04.astro'
import Posts from '../../blocks/blog/SimpleLeftAligned01.astro'
import CallToAction from '../../blocks/cta/AbstractImages.astro'
import Newsletter from '../../blocks/newsletter/CardHorizontal.astro'
import Footer from '../../blocks/footers/Large01.astro'
---
<div class="bg-neutral-faded"><Banner /></div>
<Navigation />
<main>
<Article />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<Posts />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<CallToAction />
<Newsletter />
</main>
<Footer />
Show codeHide code
---
/**
* Blog post 04: A banner on grey and a split header beside a wide photo, the body, then share links. Then more posts, a call to action with images, a newsletter signup and a footer.
*
* @page blog-post
*/
import Divider from '@/components/apogee/Divider/Divider.astro'
import Banner from '../../blocks/banner/SlimFullWidth.astro'
import Navigation from '../../blocks/header-navigation/DropdownTwoColsWithLinksAndFooter.astro'
import Article from '../../blocks/content/SplitImage04.astro'
import Posts from '../../blocks/blog/SimpleLeftAligned01.astro'
import CallToAction from '../../blocks/cta/AbstractImages.astro'
import Newsletter from '../../blocks/newsletter/CardHorizontal.astro'
import Footer from '../../blocks/footers/Large01.astro'
---
<div class="bg-neutral-faded"><Banner /></div>
<Navigation />
<main>
<Article />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<Posts />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<CallToAction />
<Newsletter />
</main>
<Footer />Add
npx @ava-ui/apogee add blog-post/blog-post-04
This copies the page to src/components/apogee/pages/blog-post/ with the blocks it stacks and everything they use: banner/slim-full-width, header-navigation/dropdown-two-cols-with-links-and-footer, content/split-image-04, blog/simple-left-aligned-01, cta/abstract-images, newsletter/card-horizontal, footers/large-01. 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/split-image-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.