Skip to content

Commit 8ed7632

Browse files
Add more detail to footer and tweak tags (#34)
* Add more detail to footer and tweak tags
1 parent 8493291 commit 8ed7632

File tree

7 files changed

+46
-8
lines changed

7 files changed

+46
-8
lines changed

app/posts/bowel-screening/2024/12/2024-12-12-end-of-year-post.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ title: Bowel screening end of year update
33
description: A high level recap of what has been going on in the bowel screening space for the past month.
44
date: 2024-12-12
55
tags:
6-
- Bowel screening
7-
- Notify
8-
- Roadmap
9-
- Service-blueprint
6+
- bowel screening
7+
- notify
8+
- roadmap
9+
- service blueprint
1010
---
1111

1212
This is a high level recap of some of the things that have been going on in the bowel screening space for the past month:

app/posts/manage-breast-screening/2024/12/2024-12-19-understanding-the-challenges-in-breast-screening.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
title: Understanding the challenges in breast screening
33
description: What we learned in discovery and plan to do in alpha
44
date: 2024-12-19
5+
tags:
6+
- alpha
7+
- prototype
58
---
69

710
## Problem space

app/posts/manage-breast-screening/2024/12/2024-12-20-first-alpha-prototype.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
src: clinics_participants_questionnaire_summary.png
2525
- text: "Participant with questionnaire completed"
2626
src: clinics_participants_questionnaire_completed.png
27+
tags:
28+
- alpha
29+
- prototype
2730
---
2831

2932
## Where to begin

app/styles/_overrides.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
// Don't need bottom margin whilst there is no licence text
3+
.govuk-footer__meta-custom {
4+
margin-bottom: 0;
5+
6+
& :last-child {
7+
margin-bottom: 0;
8+
}
9+
}

app/styles/_typography.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@import "govuk-frontend/dist/govuk/base";
2+
3+
.app-footer--text {
4+
@include govuk-font($size: 16);
5+
}

app/styles/application.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ eleventyExcludeFromCollections: true
33
---
44
@import "govuk-frontend/dist/govuk/base";
55
@import "../_components/all";
6+
@import "./overrides";
7+
@import "./typography";
8+

eleventy.config.js

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,28 @@ module.exports = function (eleventyConfig) {
2424
}
2525
},
2626
footer: {
27-
contentLicence: false,
27+
meta: {
28+
items: [
29+
{
30+
href: "https://github.com/NHSDigital/screening-design-history",
31+
text: "Github source"
32+
},
33+
{
34+
href: "/sitemap",
35+
text: "Sitemap"
36+
},
37+
{
38+
href: "/tags",
39+
text: "Tags"
40+
}
41+
],
42+
html: `<p class="app-footer--text">Made by the NHS with <a class="govuk-footer__link" href="https://github.com/x-govuk/nhsuk-design-history-template">X-GOVUK NHS design history template</a></p>
43+
<p class="app-footer--text">All data and personal information shown in prototypes are fictional and for demonstration purposes only</p>`
44+
},
2845
copyright: {
2946
text: '© NHS England'
3047
},
31-
meta: {
32-
text: "All data and personal information shown in prototypes are fictional and for demonstration purposes only."
33-
}
48+
contentLicence: false
3449
},
3550
url:
3651
process.env.GITHUB_ACTIONS &&

0 commit comments

Comments
 (0)