36f82a9a76
- replace bespoke page and library banners with PageHero.astro - add ServicesPage.astro for the live-style English services landing page - restyle shared hero/container measurements for the new layout shell - add self-hosted services card images
19 lines
532 B
Plaintext
19 lines
532 B
Plaintext
---
|
|
interface Props {
|
|
title: string;
|
|
image?: string;
|
|
eyebrow?: string;
|
|
constrain?: boolean;
|
|
}
|
|
const { title, image, eyebrow, constrain = false } = Astro.props;
|
|
---
|
|
|
|
<header class:list={['page-hero', { 'page-hero--image': image, 'page-hero--constrained': image && constrain }]} style={image ? `--hero-image: url("${image}")` : undefined}>
|
|
<div class="container">
|
|
{eyebrow
|
|
? <div class="page-hero__copy"><p class="script-label">{eyebrow}</p><h1>{title}</h1></div>
|
|
: <h1>{title}</h1>
|
|
}
|
|
</div>
|
|
</header>
|