docs(pricing): add pricing page
Add a pricing page for my paid products and services.
This commit is contained in:
parent
d3cf57cb16
commit
615720b5fe
31
src/pages/pricing.mdx
Normal file
31
src/pages/pricing.mdx
Normal file
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
layout: ~/layouts/PageLayout.astro
|
||||
title: Products and Services
|
||||
---
|
||||
|
||||
import ListingPage from "~/components/ListingPage.astro";
|
||||
import _ from "lodash";
|
||||
import products from "~/products.json";
|
||||
|
||||
export const priceFormatter = new Intl.NumberFormat('en-GB', {
|
||||
currency: 'GBP',
|
||||
maximumSignificantDigits: 2,
|
||||
style: 'currency',
|
||||
});
|
||||
|
||||
<div class="space-y-6">
|
||||
{products && products.map(product => (
|
||||
<article class="space-y-4">
|
||||
<h2>
|
||||
{product.title} - {priceFormatter.format(product.price)}
|
||||
{product.perMonth && (<> per month</>)}
|
||||
</h2>
|
||||
|
||||
<div>{product.description}</div>
|
||||
|
||||
<footer>
|
||||
<a href={product.link.href}>{product.link.text} →</a>
|
||||
</footer>
|
||||
</article>
|
||||
))}
|
||||
</div>
|
48
src/products.json
Normal file
48
src/products.json
Normal file
|
@ -0,0 +1,48 @@
|
|||
[
|
||||
{
|
||||
"title": "Drupal upgrade roadmap",
|
||||
"description": "Are you stuck on an already or soon-to-be unsupported version of Drupal? Get a personalised roadmap of your Drupal website, including details and actionable steps to upgrade it.",
|
||||
"price": 5000,
|
||||
"link": {
|
||||
"text": "Book your roadmap now",
|
||||
"href": "/drupal7"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"perMonth": true,
|
||||
"price": 5000,
|
||||
"link": {
|
||||
"text": "Apply now",
|
||||
"href": "https://forms.gle/HGEC3uqkUSqPsoK79"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Private talk or workshop",
|
||||
"description": "If you found one of my public speaking presentations or workshops useful, I'm available for private speaking engagements on a variety of topics to help your team succeed.",
|
||||
"price": 2000,
|
||||
"link": {
|
||||
"text": "Schedule a talk",
|
||||
"href": "https://buy.stripe.com/eVa4h0bgSaPM6NqcMU"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "1-on-1 consulting call",
|
||||
"description": "Book a 1-on-1 video call and I can help you answer questions in areas such as software development, architecture, testing, and automation.",
|
||||
"price": 350,
|
||||
"link": {
|
||||
"text": "Book your call now",
|
||||
"href": "/call"
|
||||
}
|
||||
},
|
||||
{
|
||||
"title": "Pair program with me",
|
||||
"description": "Would you like another pair of eyes on your code, providing real-time suggestions and feedback rather than waiting for a code review? Book a 2-hour pair programming call and we can work on your code together.",
|
||||
"price": 499,
|
||||
"link": {
|
||||
"text": "Book your session now",
|
||||
"href": "/pair"
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue