chore(pricing): add Drupal module template
This commit is contained in:
parent
5cad596c2c
commit
ae35e34f86
2 changed files with 17 additions and 6 deletions
|
@ -17,12 +17,15 @@ export const priceFormatter = new Intl.NumberFormat('en-GB', {
|
|||
{products && products.map(product => (
|
||||
<article class="space-y-4">
|
||||
<h2>
|
||||
{product.title}
|
||||
{product.price && (
|
||||
<> - {priceFormatter.format(product.price)}
|
||||
{product.perMonth && (<> per month</>)}
|
||||
</>
|
||||
)}
|
||||
{product.title} - <> </>
|
||||
{product.price
|
||||
? (
|
||||
<>{priceFormatter.format(product.price)}
|
||||
{product.perMonth && (<> per month</>)}
|
||||
</>
|
||||
)
|
||||
: 'Free!'
|
||||
}
|
||||
</h2>
|
||||
|
||||
<div>{product.description}</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue