Frontend update

This commit is contained in:
2026-06-26 21:51:27 -05:00
parent eef79e2403
commit 6dba6a017c
48 changed files with 5004 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
// The eyebrow + title + lead block at the top of most pages.
export default function PageHeader({ eyebrow, title, lead, center = false }) {
return (
<section style={{ marginBottom: 40, textAlign: center ? 'center' : 'left' }}>
{eyebrow && <p className="eyebrow">{eyebrow}</p>}
<h1 className="h1">{title}</h1>
{lead && (
<p className="lead" style={{ maxWidth: 680, marginLeft: center ? 'auto' : undefined, marginRight: center ? 'auto' : undefined }}>
{lead}
</p>
)}
</section>
)
}