PreStyling Layouts & Components

This commit is contained in:
2026-09-24 09:58:25 +02:00
parent fc38a1aafe
commit 356ccedc01
39 changed files with 1212 additions and 96 deletions

View File

@@ -0,0 +1,17 @@
---
type Props = {
title: string
/** Small label above the title: "Page", "Tag". */
eyebrow?: string
standfirst?: string
}
const { title, eyebrow, standfirst } = Astro.props
---
<header class="header">
{eyebrow && <p class="eyebrow">{eyebrow}</p>}
<h1 class="title">{title}</h1>
{standfirst && <p class="standfirst">{standfirst}</p>}
<slot />
</header>