chore(pricing): add Drupal module template
This commit is contained in:
parent
5cad596c2c
commit
ae35e34f86
|
@ -17,12 +17,15 @@ export const priceFormatter = new Intl.NumberFormat('en-GB', {
|
||||||
{products && products.map(product => (
|
{products && products.map(product => (
|
||||||
<article class="space-y-4">
|
<article class="space-y-4">
|
||||||
<h2>
|
<h2>
|
||||||
{product.title}
|
{product.title} - <> </>
|
||||||
{product.price && (
|
{product.price
|
||||||
<> - {priceFormatter.format(product.price)}
|
? (
|
||||||
{product.perMonth && (<> per month</>)}
|
<>{priceFormatter.format(product.price)}
|
||||||
</>
|
{product.perMonth && (<> per month</>)}
|
||||||
)}
|
</>
|
||||||
|
)
|
||||||
|
: 'Free!'
|
||||||
|
}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div>{product.description}</div>
|
<div>{product.description}</div>
|
||||||
|
|
|
@ -52,5 +52,13 @@
|
||||||
"text": "Register now",
|
"text": "Register now",
|
||||||
"href": "https://forms.gle/9fGwMgaWcWjNDjdAA"
|
"href": "https://forms.gle/9fGwMgaWcWjNDjdAA"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Drupal module template",
|
||||||
|
"description": "If you're creating a new Drupal module, try starting with my free module template for Drupal 9 and 10.",
|
||||||
|
"link": {
|
||||||
|
"text": "Download",
|
||||||
|
"href": "https://github.com/opdavies/drupal-module-template"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue