Skip to content

Commit 64c1359

Browse files
committed
Amending the 404 page
1 parent b4005f4 commit 64c1359

File tree

2 files changed

+40
-17
lines changed

2 files changed

+40
-17
lines changed

docs/pages/404(old).html

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
permalink: /404.html
3+
layout: default
4+
---
5+
6+
<style type="text/css" media="screen">
7+
.container {
8+
margin: 10px auto;
9+
max-width: 600px;
10+
text-align: center;
11+
}
12+
13+
h1 {
14+
margin: 30px 0;
15+
font-size: 4em;
16+
line-height: 1;
17+
letter-spacing: -1px;
18+
}
19+
</style>
20+
21+
<div class="container">
22+
<h1>404</h1>
23+
24+
<p><strong>Page not found :(</strong></p>
25+
<p>The requested page could not be found.</p>
26+
</div>

docs/pages/404.html

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
---
22
permalink: /404.html
33
layout: default
4+
title: Page not found
45
---
56

6-
<style type="text/css" media="screen">
7-
.container {
8-
margin: 10px auto;
9-
max-width: 600px;
10-
text-align: center;
11-
}
7+
<div class="nhsuk-width-container">
8+
<main class="nhsuk-main-wrapper" id="maincontent" role="main">
9+
<div class="nhsuk-grid-row">
10+
<div class="nhsuk-grid-column-three-quarters">
1211

13-
h1 {
14-
margin: 30px 0;
15-
font-size: 4em;
16-
line-height: 1;
17-
letter-spacing: -1px;
18-
}
19-
</style>
12+
<h1>Page not found</h1>
2013

21-
<div class="container">
22-
<h1>404</h1>
14+
<p>If you typed or pasted the web address, check it is correct.</p>
2315

24-
<p><strong>Page not found :(</strong></p>
25-
<p>The requested page could not be found.</p>
16+
<p>If you used a link or bookmark, this page may have been moved or deleted.</p>
17+
18+
<p>Use you browser's back button or <a href="/">go to the homepage</a>.</p>
19+
20+
</div>
21+
</div>
22+
</main>
2623
</div>

0 commit comments

Comments
 (0)