arrow card that behaves like a big navigation link.
Documentation
Everything, in order.
Install
From your site folder, run:
jprot add CardLinkThat downloads the self-contained component into theme/components/CardLink.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: 'CardLink', title: 'CardLink' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::CardLink title="Documentation" text="Everything, in order." url="/docs"Props
| Prop | Type | Note |
|---|---|---|
title | string | link label |
text | string | hint text |
url | string | target |