Blog page 04
A header, then a search field and category list beside a grid of posts whose featured post spans the full width. Then a footer on grey.
Last updated
---
/**
* Blog page 04: A header, then a search field and category list beside a grid of posts whose featured post spans the full width. Then a footer on grey.
*
* @page blog
*/
import Navigation from '../../blocks/header-navigation/DropdownTwoColsWithLinksAndFooter.astro'
import Posts from '../../blocks/blog/Sidebar02.astro'
import Footer from '../../blocks/footers/Large08.astro'
---
<Navigation />
<main>
<Posts />
</main>
<div class="bg-neutral-faded"><Footer /></div>
Show codeHide code
---
/**
* Blog page 04: A header, then a search field and category list beside a grid of posts whose featured post spans the full width. Then a footer on grey.
*
* @page blog
*/
import Navigation from '../../blocks/header-navigation/DropdownTwoColsWithLinksAndFooter.astro'
import Posts from '../../blocks/blog/Sidebar02.astro'
import Footer from '../../blocks/footers/Large08.astro'
---
<Navigation />
<main>
<Posts />
</main>
<div class="bg-neutral-faded"><Footer /></div>Add
npx @ava-ui/apogee add blog/blog-page-04
This copies the page to src/components/apogee/pages/blog/ with the blocks it stacks and everything they use: header-navigation/dropdown-two-cols-with-links-and-footer, blog/sidebar-02, footers/large-08. 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/sidebar-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.