full-bleed image background with a centered overlay panel.
Install
From your site folder, run:
jprot add CoverHeroThat downloads the self-contained component into theme/components/CoverHero.js,
where it is picked up automatically — the same way as any built-in component.
To remove it later, just delete that file.
Use it as a homepage section
Add an entry to the sections: list in jprot.config.js:
sections: [
{ component: 'CoverHero', title: 'CoverHero' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::CoverHero title="A portfolio that flies" subtitle="Full-bleed imagery with a glassy caption." image="https://picsum.photos/seed/cv/1400/600" ctaUrl="/about" ctaLabel="View work"Props
| Prop | Type | Note |
|---|---|---|
title | string | headline over the image |
subtitle | string | supporting line |
image | string | background image URL |
ctaLabel | string | button text |
ctaUrl | string | button target |