From 25e3fe7514bfacdbd6ca4246f3763ac42e81c3ba Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 8 May 2024 07:36:21 +0100 Subject: [PATCH] Move subscription plans into a callout --- source/_includes/subscription-plans.html.twig | 26 ++++ source/_pages/{index.md => index.html.twig} | 131 ++++++++---------- 2 files changed, 85 insertions(+), 72 deletions(-) create mode 100644 source/_includes/subscription-plans.html.twig rename source/_pages/{index.md => index.html.twig} (59%) diff --git a/source/_includes/subscription-plans.html.twig b/source/_includes/subscription-plans.html.twig new file mode 100644 index 00000000..6775d6c6 --- /dev/null +++ b/source/_includes/subscription-plans.html.twig @@ -0,0 +1,26 @@ +{% for plan in plans %} +
+

+ + {{ plan.name }}: + £{{ plan.price|number_format }} per month + +

+ +

{{ plan.tagline }}

+ + + +
+ {% include 'button.html.twig' with { + text: 'Register now for the ' ~ plan.name|lower ~ ' plan', + url: plan.url, + withArrow: true, + } %} +
+
+{% endfor %} diff --git a/source/_pages/index.md b/source/_pages/index.html.twig similarity index 59% rename from source/_pages/index.md rename to source/_pages/index.html.twig index 474f0340..15fd60b7 100644 --- a/source/_pages/index.md +++ b/source/_pages/index.html.twig @@ -93,11 +93,13 @@ urls: {# Pain #} -- Are bugs and errors on your Drupal website losing you customers? -- Are you stuck on an outdated or unsupported version of Drupal? -- Are you unable to efficiently change your website and spend your time searching for workarounds? -- Does it take too long to release new features and bug fixes? -- Are you considering switching to Drupal from your current CMS and wondering if it's the right choice? + ---- +
{# Solution #} -In less time than it takes to post on a job board, and for a fraction of the cost, get **unlimited access to a certified Drupal development expert**, core contributor and multiple-time DrupalCon speaker for a fixed monthly fee. No surprises. Cancel anytime. +

In less time than it takes to post on a job board, and for a fraction of the cost, get unlimited access to a certified Drupal development expert, core contributor and multiple-time DrupalCon speaker for a fixed monthly fee. No surprises. Cancel anytime.

---- +
-## You're already running my code in production +

You're already running my code in production

-I've contributed code to Drupal core and written popular contributed Drupal modules and themes, PHP and JavaScript libraries, and Tailwind CSS plugins. +

I've contributed code to Drupal core and written popular contributed Drupal modules and themes, PHP and JavaScript libraries, and Tailwind CSS plugins.

-For example, the Override Node Options module is used on around 40,000 active Drupal websites. +

For example, the Override Node Options module is used on around 40,000 active Drupal websites.

---- +
-## What does it include? +

What does it include?

{# TODO: add more information about each of these. #} -- **Analysis & Audit**. I can help you identify expensive bottlenecks, hidden issues, and potential problems with your site. I'll put together a detailed report with actionable next-steps on how to fix any issues. -- **Roadmap & Planning**. We'll identify your goals and challenges, and I'll put together a custom roadmap to help you get there. -- **Implementation and Maintenance**. I can build your project for you, or work with your engineering team to accelerate your progress. -- **Team Training**. Give your team the skills they need to get more done. Grow, retain, and attract talented developers. -- **Ongoing Advisory**. Throughout the duration of your project, I'll be available to review progress, answer questions, recommend tools and processes, share emerging best practices, and keep your project on the right track. + {# TODO: I don't want people to book an advisory call before an advisory call or pair programming session. #} -**Looking for something else?** I also offer fixed-scope consulting engagements and one-time advisory calls. [Book a short exploratory call]({{page.urls.exploratory_call}}) to see if we'd be a good match. +

Looking for something else?

---- +

I also offer fixed-scope consulting engagements and one-time advisory calls. Book a short exploratory call to see if we'd be a good match.

-## How it works +
-### Make as many requests as you like +

How it works

-Unlimited user stories. Unlimited tasks. Unlimited repos. Unlimited services. +

Make as many requests as you like

-### You set the priority +

Unlimited user stories. Unlimited tasks. Unlimited repos. Unlimited services.

-You decide what's most important. Change priorities at any time. +

You set the priority

-### Get code in days, not weeks +

You decide what's most important. Change priorities at any time.

-I work on one active request at a time, and start shipping code in days. Bigger projects will be broken down into smaller parts. +

Get code in days, not weeks

-### Satisfaction guaranteed +

I work on one active request at a time, and start shipping code in days. Bigger projects will be broken down into smaller parts.

-Great software is an iterative process. I'll keep iterating with you until you're completely happy with the results. +

Satisfaction guaranteed

---- +

Great software is an iterative process. I'll keep iterating with you until you're completely happy with the results.

-## Subscription benefits +
-When you subscribe, you gain access to a number of unique benefits. +

Subscription benefits

-### Fixed monthly rate +

When you subscribe, you gain access to a number of unique benefits.

-No surprises. No missed quotes. No surprise invoices. Pay the same price each month. +

Fixed monthly rate

-### Speedy delivery +

No surprises. No missed quotes. No surprise invoices. Pay the same price each month.

-I work in small increments, so you'll begin seeing valuable code changes in mere days. +

Speedy delivery

-### Quality guaranteed +

I work in small increments, so you'll begin seeing valuable code changes in mere days.

-High quality code that just works. Or I fix it, for free! +

Quality guaranteed

---- +

High quality code that just works. Or I fix it, for free!

-## Subscription plans +
-{% for plan in page.plans %} -
- -

- {{ plan.name }}: - £{{ plan.price|number_format }} per month -

-
+{% embed 'callout.html.twig' with { + title: 'Ready to get started?', +} %} + {% block callout_content %} +

Only one spot left. Book your spot now.

-

{{ plan.tagline }}

+ {% include "subscription-plans" with { plans: page.plans } %} + {% endblock %} +{% endembed %} - +
-
- {% include 'button.html.twig' with { - text: 'Register now for the ' ~ plan.name|lower ~ ' plan', - url: plan.url, - withArrow: true, - } %} -
-
-{% endfor %} +

Book a free call

---- - -## Book a free call - -And we'll figure out what's best for you. +

And we'll figure out what's best for you.

{% include 'button' with { text: 'Get in touch', @@ -217,7 +204,7 @@ And we'll figure out what's best for you. withArrow: true, } %} ---- +
{% include 'testimonials' with { limit: 5, @@ -225,9 +212,9 @@ And we'll figure out what's best for you. title: 'Kind words from clients', } %} ---- +
-## Frequently asked questions +

Frequently asked questions

{% for faq in page.faqs %}

{{ faq.0 }}

@@ -235,7 +222,7 @@ And we'll figure out what's best for you. {{ faq.1|markdown }} {% endfor %} ---- +
{% include 'testimonials' with { tag: 'subscription',