Skip to content

Commit bf2cb91

Browse files
authored
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
1 parent 54d37f2 commit bf2cb91

File tree

4 files changed

+39
-14
lines changed

4 files changed

+39
-14
lines changed

docs/_data/home/how-it-works.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
- heading: Write your messages
22
description: |
33
Create reusable templates or free-text messages for each message channel:
4-
- NHS App messages and notifications
5-
- emails
6-
- text messages (SMS)
7-
- letters
4+
- [NHS App messages and notifications](https://notify.nhs.uk/features/nhs-app-messages)
5+
- [emails](https://notify.nhs.uk/features/emails)
6+
- [text messages (SMS)](https://notify.nhs.uk/features/text-messages-sms)
7+
- [letters](https://notify.nhs.uk/features/letters)
88
image: 1-write-your-message.svg
99
image_alt: ""
1010

@@ -19,6 +19,7 @@
1919
Set up routing plans to decide how your messages will be sent to recipients.
2020
image: 3-plan-your-messages.svg
2121
image_alt: ""
22+
number: 3
2223

2324
- heading: See how your messages perform
2425
description: |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<a href="{{ include.url }}" target="_blank">
2+
<button class="nhsuk-button nhsuk-button--reverse">
3+
{{ include.text }}
4+
</button>
5+
</a>

docs/_includes/components/styled-list.html

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,23 @@
33
{% for item in include.data %}
44
<div class="nhsuk-grid-row nhsnotify-list__item">
55
<div class="nhsuk-grid-column-one-half">
6-
<h3 class="nhsnotify-list__item-header">
7-
<div class="nhsnotify-list__item-header-number">
8-
{{ i }}
9-
</div>
10-
<div class="nhsnotify-list__item-header-title">
11-
{{ item.heading }}
12-
</div>
13-
</h3>
14-
<div class="nhsnotify-list__item-description">
15-
{{ item.description | markdownify }}
6+
<h3 class="nhsnotify-list__item-header">
7+
<div class="nhsnotify-list__item-header-number">
8+
{{ i }}
169
</div>
10+
<div class="nhsnotify-list__item-header-title">
11+
{{ item.heading }}
12+
</div>
13+
</h3>
14+
<div class="nhsnotify-list__item-description">
15+
{{ item.description | markdownify }}
16+
{% if item.number == 3 %}
17+
{% include components/action-link.html
18+
url='/using-nhs-notify/routing-plans'
19+
text='Learn more about routing plans'
20+
%}
21+
{% endif %}
22+
</div>
1723
</div>
1824
<div class="nhsuk-grid-column-one-half">
1925
{% include components/image.html src=item.image alt=item.image_alt class="nhsnotify-image" %}

docs/pages/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ site_title: NHS Notify CMS
55
nav_order: 1
66
permalink: /
77
---
8+
89
<!-- HEADING -->
910
<div id="heading" class="nhsnotify-banner--blue">
1011
<div class="nhsuk-main-wrapper nhsuk-width-container">
@@ -14,6 +15,10 @@ permalink: /
1415
<p>
1516
{{ site.data.home.heading.description }}
1617
</p>
18+
{% include components/button-reverse.html
19+
text="Get started"
20+
url="https://notify.nhs.uk/get-started/"
21+
%}
1722
</div>
1823
<div class="nhsuk-grid-column-one-half">
1924
{% include components/image.html src=site.data.home.heading.image alt=site.data.home.heading.image_alt class="nhsnotify-image" %}
@@ -60,6 +65,10 @@ permalink: /
6065
</li>
6166
{% endfor %}
6267
</ul>
68+
{% include components/action-link.html
69+
url='/pricing'
70+
text='Learn more about pricing'
71+
%}
6372
</div>
6473
</div>
6574

@@ -72,6 +81,10 @@ permalink: /
7281
<p>
7382
{{ site.data.home.find-out-more.description }}
7483
</p>
84+
{% include components/button-reverse.html
85+
text="Get started"
86+
url="https://notify.nhs.uk/get-started/"
87+
%}
7588
</div>
7689
<div class="nhsuk-grid-column-one-half">
7790
{% include components/image.html src=site.data.home.find-out-more.image alt=site.data.home.find-out-more.image_alt class="nhsnotify-image" %}

0 commit comments

Comments
 (0)