feat(pricing): mark some products as limited
...availability
This commit is contained in:
parent
b5605ebc7a
commit
e5473613d1
2 changed files with 8 additions and 1 deletions
|
@ -28,7 +28,12 @@ export const priceFormatter = new Intl.NumberFormat('en-GB', {
|
|||
}
|
||||
</h2>
|
||||
|
||||
<div>{product.description}</div>
|
||||
<div>
|
||||
<p>
|
||||
{product.description}
|
||||
{product.isLimited && (<> <strong>Limited places available!</strong></>)}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<a href={product.link.href}>{product.link.text} →</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue