From bf2cb914903f52c6d480fbdad49e242fa0a3cf2c Mon Sep 17 00:00:00 2001 From: Jake Cosgrove <101206358+jakecosgrove@users.noreply.github.com> Date: Thu, 24 Jul 2025 10:27:54 +0000 Subject: [PATCH 1/2] This commit: - adds action links to landing page - adds primary CTA buttons to landing page - adds button-reverse component for white buttons on dark backgrounds - adds links to 1. Write your messages on the landing page --- docs/_data/home/how-it-works.yml | 9 ++++--- docs/_includes/components/button-reverse.html | 5 ++++ docs/_includes/components/styled-list.html | 26 ++++++++++++------- docs/pages/index.md | 13 ++++++++++ 4 files changed, 39 insertions(+), 14 deletions(-) create mode 100644 docs/_includes/components/button-reverse.html diff --git a/docs/_data/home/how-it-works.yml b/docs/_data/home/how-it-works.yml index 648c59f..3ccda1e 100644 --- a/docs/_data/home/how-it-works.yml +++ b/docs/_data/home/how-it-works.yml @@ -1,10 +1,10 @@ - heading: Write your messages description: | Create reusable templates or free-text messages for each message channel: - - NHS App messages and notifications - - emails - - text messages (SMS) - - letters + - [NHS App messages and notifications](https://notify.nhs.uk/features/nhs-app-messages) + - [emails](https://notify.nhs.uk/features/emails) + - [text messages (SMS)](https://notify.nhs.uk/features/text-messages-sms) + - [letters](https://notify.nhs.uk/features/letters) image: 1-write-your-message.svg image_alt: "" @@ -19,6 +19,7 @@ Set up routing plans to decide how your messages will be sent to recipients. image: 3-plan-your-messages.svg image_alt: "" + number: 3 - heading: See how your messages perform description: | diff --git a/docs/_includes/components/button-reverse.html b/docs/_includes/components/button-reverse.html new file mode 100644 index 0000000..864f478 --- /dev/null +++ b/docs/_includes/components/button-reverse.html @@ -0,0 +1,5 @@ + + + diff --git a/docs/_includes/components/styled-list.html b/docs/_includes/components/styled-list.html index ac90e44..6669cce 100644 --- a/docs/_includes/components/styled-list.html +++ b/docs/_includes/components/styled-list.html @@ -3,17 +3,23 @@ {% for item in include.data %}
{{ site.data.home.heading.description }}
+ {% include components/button-reverse.html + text="Get started" + url="https://notify.nhs.uk/get-started/" + %}{{ site.data.home.find-out-more.description }}
+ {% include components/button-reverse.html + text="Get started" + url="https://notify.nhs.uk/get-started/" + %}