feat(pricing): mark some products as limited
...availability
This commit is contained in:
parent
b5605ebc7a
commit
e5473613d1
|
@ -28,7 +28,12 @@ export const priceFormatter = new Intl.NumberFormat('en-GB', {
|
||||||
}
|
}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div>{product.description}</div>
|
<div>
|
||||||
|
<p>
|
||||||
|
{product.description}
|
||||||
|
{product.isLimited && (<> <strong>Limited places available!</strong></>)}
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
<a href={product.link.href}>{product.link.text} →</a>
|
<a href={product.link.href}>{product.link.text} →</a>
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
"title": "Development team coaching",
|
"title": "Development team coaching",
|
||||||
"description": "Do you want to upskill your in-house team or have someone provide oversight and guidance as they deliver a project? Get unlimited 1-on-1 private Slack access to me and regular check-in calls to ensure things are on track.",
|
"description": "Do you want to upskill your in-house team or have someone provide oversight and guidance as they deliver a project? Get unlimited 1-on-1 private Slack access to me and regular check-in calls to ensure things are on track.",
|
||||||
"perMonth": true,
|
"perMonth": true,
|
||||||
|
"isLimited": true,
|
||||||
"price": 5000,
|
"price": 5000,
|
||||||
"link": {
|
"link": {
|
||||||
"text": "Apply now",
|
"text": "Apply now",
|
||||||
|
@ -40,6 +41,7 @@
|
||||||
"title": "1-on-1 development coaching",
|
"title": "1-on-1 development coaching",
|
||||||
"description": "The same as development team coaching, but for individual Developers and soloists.",
|
"description": "The same as development team coaching, but for individual Developers and soloists.",
|
||||||
"perMonth": true,
|
"perMonth": true,
|
||||||
|
"isLimited": true,
|
||||||
"price": 1000,
|
"price": 1000,
|
||||||
"link": {
|
"link": {
|
||||||
"text": "Apply now",
|
"text": "Apply now",
|
||||||
|
|
Loading…
Reference in a new issue