Blog page 01
A heading, a large featured post, category tabs with a sort menu, a grid of posts and pagination. Then a call to action with a screenshot, a call to action on grey and a footer.
Last updated
---
/**
* Blog page 01: A heading, a large featured post, category tabs with a sort menu, a grid of posts and pagination. Then a call to action with a screenshot, a call to action on grey and a footer.
*
* @page blog
*/
import Divider from '@/components/apogee/Divider/Divider.astro'
import Navigation from '../../blocks/header-navigation/DropdownFeatureCard.astro'
import Posts from '../../blocks/blog/FeaturedPost01.astro'
import CallToAction from '../../blocks/cta/ScreenMockup03.astro'
import CallToAction2 from '../../blocks/cta/SimpleLeft.astro'
import Footer from '../../blocks/footers/Large05.astro'
---
<Navigation />
<main>
<Posts />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<CallToAction />
<div class="bg-neutral-faded"><CallToAction2 /></div>
</main>
<Footer />
Show codeHide code
---
/**
* Blog page 01: A heading, a large featured post, category tabs with a sort menu, a grid of posts and pagination. Then a call to action with a screenshot, a call to action on grey and a footer.
*
* @page blog
*/
import Divider from '@/components/apogee/Divider/Divider.astro'
import Navigation from '../../blocks/header-navigation/DropdownFeatureCard.astro'
import Posts from '../../blocks/blog/FeaturedPost01.astro'
import CallToAction from '../../blocks/cta/ScreenMockup03.astro'
import CallToAction2 from '../../blocks/cta/SimpleLeft.astro'
import Footer from '../../blocks/footers/Large05.astro'
---
<Navigation />
<main>
<Posts />
<div class="mx-auto max-w-7xl px-gutter"><Divider /></div>
<CallToAction />
<div class="bg-neutral-faded"><CallToAction2 /></div>
</main>
<Footer />Add
npx @ava-ui/apogee add blog/blog-page-01
This copies the page to src/components/apogee/pages/blog/ with the blocks it stacks and everything they use: header-navigation/dropdown-feature-card, blog/featured-post-01, cta/screen-mockup-03, cta/simple-left, 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/featured-post-01) 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.