File: src/blocks/hero/Hero09.astro
Left-aligned eyebrow, heading, subheading, and CTAs in a wide max-width column (no media).
Config (blocks.ts → hero09)
hero09: {
width: "standard",
eyebrow: "Available for freelance & contract",
heading: "I build websites that work as hard as you do!",
subheading:
"Full-stack web development for brands that need speed, clarity, and craft. Astro, React, headless CMS, and everything in between.",
primaryCta: "View my work",
primaryCtaUrl: "/work/",
secondaryCta: "Get in touch",
secondaryCtaUrl: "/contact/",
padding: "lg",
borderBottom: false,
borderThickness: "sm",
borderColor: "soft",
},
Add to a page
---
import Hero09 from "@/blocks/hero/Hero09.astro";
---
<Hero09 />
Props override matching keys from config:
<Hero09
width="wide"
heading="Custom headline"
padding="md"
/>
Props
| Prop | Config key | Type / values | Default / notes |
|---|---|---|---|
width |
hero09.width |
standard | narrow | wide |
Wrapper max-width |
eyebrow |
hero09.eyebrow |
string |
— |
heading |
hero09.heading |
string |
— |
subheading |
hero09.subheading |
string |
— |
primaryCta |
hero09.primaryCta |
string |
— |
primaryCtaUrl |
hero09.primaryCtaUrl |
string |
— |
secondaryCta |
hero09.secondaryCta |
string |
— |
secondaryCtaUrl |
hero09.secondaryCtaUrl |
string |
— |
padding |
hero09.padding |
none | sm | md | lg | xl |
Vertical section padding |
borderBottom |
hero09.borderBottom |
boolean |
Show a bottom border under the section |
borderThickness |
hero09.borderThickness |
sm (1px) | md (2px) | lg (4px) |
— |
borderColor |
hero09.borderColor |
soft | medium | hard |
— |