refactor: unify catalog page heroes
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
---
|
||||
const { eyebrow, title, description } = Astro.props as { eyebrow: string; title: string; description?: string };
|
||||
---
|
||||
<section class="catalog-hero content-grid">
|
||||
<span class="overline">{eyebrow}</span>
|
||||
<h1>{title}</h1>
|
||||
{description && <p>{description}</p>}
|
||||
</section>
|
||||
Reference in New Issue
Block a user