Skip to content

Commit 62877b2

Browse files
Set service name and update index
1 parent 7388ca4 commit 62877b2

File tree

3 files changed

+5
-46
lines changed

3 files changed

+5
-46
lines changed

app/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module.exports = {
44
// Service name
5-
serviceName: 'NHS.UK prototype kit',
5+
serviceName: 'Manage screening events',
66

77
// Port to run nodemon on locally
88
port: 2000,

app/views/index.html

Lines changed: 3 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<!-- Set the page title -->
1414
{% block pageTitle %}
15-
NHS.UK prototype kit
15+
{{serviceName}}
1616
{% endblock %}
1717

1818
<!-- For adding a breadcrumb or back link -->
@@ -29,51 +29,10 @@
2929

3030
<!-- Change the page title here -->
3131
<h1>
32-
NHS.UK prototype kit
33-
<span class="nhsuk-caption-xl nhsuk-caption--bottom">Version {{version}}</span>
32+
{{serviceName}}
33+
<span class="nhsuk-caption-xl nhsuk-caption--bottom">Prototype kit {{version}}</span>
3434
</h1>
3535

36-
<!-- Add your content here -->
37-
<!-- Styles and components can be found at https://service-manual.nhs.uk/design-system -->
38-
39-
<p class="nhsuk-lede-text">
40-
This kit lets you rapidly create HTML prototypes of NHS services.
41-
</p>
42-
43-
<hr>
44-
45-
<h2>
46-
About this page
47-
</h2>
48-
49-
<p>
50-
Use this page as the index for your project.
51-
</p>
52-
53-
<p>
54-
You'll find the code for this page at <strong>/app/views/index.html</strong>.
55-
</p>
56-
57-
<p>
58-
There is also an <a href="/page-example">example page</a>, which contains a selection of NHS.UK frontend styles and components and some <a href="/docs/page-templates">page templates</a>.
59-
</p>
60-
61-
<hr>
62-
63-
<h2>
64-
Get started
65-
</h2>
66-
67-
<p>Get started by using the:</p>
68-
69-
<ul>
70-
<li>
71-
<a href="https://prototype-kit.service-manual.nhs.uk/how-tos">how to guides</a>
72-
</li>
73-
<li>
74-
code snippets for styles and components from the <a href="https://service-manual.nhs.uk/design-system">NHS digital service manual</a>
75-
</li>
76-
</ul>
7736

7837
<!-- End of content -->
7938

app/views/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{% block header %}
2323
{{ header({
2424
"service": {
25-
"name": "Prototype kit",
25+
"name": serviceName,
2626
"href": "/"
2727
},
2828
"showNav": "false",

0 commit comments

Comments
 (0)