Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions docs/_data/home/how-it-works.yml
Original file line number Diff line number Diff line change
@@ -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: ""

Expand All @@ -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: |
Expand Down
5 changes: 5 additions & 0 deletions docs/_includes/components/button-reverse.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<a href="{{ include.url }}" target="_blank">
<button class="nhsuk-button nhsuk-button--reverse">
{{ include.text }}
</button>
</a>
26 changes: 16 additions & 10 deletions docs/_includes/components/styled-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,23 @@
{% for item in include.data %}
<div class="nhsuk-grid-row nhsnotify-list__item">
<div class="nhsuk-grid-column-one-half">
<h3 class="nhsnotify-list__item-header">
<div class="nhsnotify-list__item-header-number">
{{ i }}
</div>
<div class="nhsnotify-list__item-header-title">
{{ item.heading }}
</div>
</h3>
<div class="nhsnotify-list__item-description">
{{ item.description | markdownify }}
<h3 class="nhsnotify-list__item-header">
<div class="nhsnotify-list__item-header-number">
{{ i }}
</div>
<div class="nhsnotify-list__item-header-title">
{{ item.heading }}
</div>
</h3>
<div class="nhsnotify-list__item-description">
{{ item.description | markdownify }}
{% if item.number == 3 %}
{% include components/action-link.html
url='/using-nhs-notify/routing-plans'
text='Learn more about routing plans'
%}
{% endif %}
</div>
</div>
<div class="nhsuk-grid-column-one-half">
{% include components/image.html src=item.image alt=item.image_alt class="nhsnotify-image" %}
Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/home.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
---
<main id="maincontent" role="main">
<main id="maincontent" role="main" class="nhsnotify-home-page">
{{ content }}
</main>
5 changes: 5 additions & 0 deletions docs/_sass/_nhsnotify.scss
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@
}
}

// Home page button margin override
.nhsnotify-home-page .nhsuk-button {
margin-bottom: 0;
}

.nhsuk-breadcrumb__item {

&:not(:last-child)::after {
Expand Down
9 changes: 9 additions & 0 deletions docs/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ site_title: NHS Notify CMS
nav_order: 1
permalink: /
---

<!-- HEADING -->
<div id="heading" class="nhsnotify-banner--blue">
<div class="nhsuk-main-wrapper nhsuk-width-container">
Expand All @@ -14,6 +15,10 @@ permalink: /
<p>
{{ site.data.home.heading.description }}
</p>
{% include components/button-reverse.html
text="Get started"
url="https://notify.nhs.uk/get-started/"
%}
</div>
<div class="nhsuk-grid-column-one-half">
{% include components/image.html src=site.data.home.heading.image alt=site.data.home.heading.image_alt class="nhsnotify-image" %}
Expand Down Expand Up @@ -76,6 +81,10 @@ permalink: /
<p>
{{ site.data.home.find-out-more.description }}
</p>
{% include components/button-reverse.html
text="Get started"
url="https://notify.nhs.uk/get-started/"
%}
</div>
<div class="nhsuk-grid-column-one-half">
{% include components/image.html src=site.data.home.find-out-more.image alt=site.data.home.find-out-more.image_alt class="nhsnotify-image" %}
Expand Down
Loading