headline + button on a soft accent panel.
Ready when you are
Start from an empty folder — literally.
Install
From your site folder, run:
jprot add CtaBannerThat downloads the self-contained component into theme/components/CtaBanner.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: 'CtaBanner', title: 'CtaBanner' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::CtaBanner title="Ready when you are" text="Start from an empty folder — literally." label="Get started" url="/docs"Props
| Prop | Type | Note |
|---|---|---|
title | string | headline |
text | string | pitch |
label | string | button text |
url | string | button target |