big centered pull-quote with star rating above.
★★★★★
“Simple, fast, and we actually understand the codebase we ship.”
Install
From your site folder, run:
jprot add QuoteBlockThat downloads the self-contained component into theme/components/QuoteBlock.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: 'QuoteBlock', title: 'QuoteBlock' },
]Use it inside a page
On its own line in any Markdown file, passing the props:
:::QuoteBlock quote="Simple, fast, and we actually understand the codebase we ship." author="Diego M." role="Founder, Fieldnotes" stars=5Props
| Prop | Type | Note |
|---|---|---|
quote | string | the quote |
author | string | speaker |
role | string | title/company |
stars | number | 1-5 |