generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path404.html
120 lines (107 loc) · 3.09 KB
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html>
<head>
<title>Page not found</title>
<script type="text/javascript">
window.isErrorPage = true;
window.errorCode = '404';
</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="Page not found">
<script src="/scripts/scripts.js" type="module" crossorigin="use-credentials"></script>
<script type="module">
import { sampleRUM } from '/scripts/aem.js';
import { load404 } from '/scripts/scripts.js';
sampleRUM('404', { source: document.referrer });
await load404();
</script>
<link rel="stylesheet" href="/styles/styles.css">
<style>
body.error header .language-container {
display: none;
}
body.error main.loading .section .default-content-wrapper {
opacity: 0;
}
body.error main .section {
text-align: center;
}
body.error main .section a.button {
text-transform: uppercase;
margin-top: 40px;
}
body.error main .section form {
display: block;
position: relative;
}
body.error main .section form input {
width: 100%;
height: 45px;
padding: 2px 10px;
}
body.error main .section form button {
position: absolute;
right: 0;
background-color: transparent;
margin: 0;
padding: 0;
border: unset;
border-radius: unset;
}
html[dir="rtl"] body.error main .section form button {
left: 0;
right: unset;
}
body.error main .section form button:hover,
body.error main .section form button:focus {
background-color: transparent;
}
body.error main .section form button .search-icon {
cursor: pointer;
width: 24px;
padding: 10px;
}
</style>
<link rel="stylesheet" href="/styles/lazy-styles.css">
</head>
<body class="error">
<header></header>
<main class="loading">
<div>
<h1 id="page-not-found">Page Not Found</h1>
<h2 id="error">404 Error</h2>
<p>The page you requested could not be found. Try using the search box below or click on the homepage button to go there.</p>
<form role="search" name="search" method="get" action="https://www.worldbank.org/en/search">
<input type="search" id="error-search-input" name="q" placeholder="Search worldbank.org">
<button type="submit" title="Search" class="search-submit-icon">
<img class="search-icon" src="/icons/search.svg" alt="search">
</button>
</form>
<p><a href="/ext/en/home">Go to homepage</a></p>
<div class="section-metadata">
<div>
<div>sec-spacing</div>
<div>section-xhuge</div>
</div>
<div>
<div>sec-spacing-bottom</div>
<div>section-xhuge</div>
</div>
<div>
<div>sec-swoosh</div>
<div>sec-swoosh-type1</div>
</div>
<div>
<div>style</div>
<div>bg-primary-blue-70</div>
</div>
<div>
<div>sec-width</div>
<div>true</div>
</div>
</div>
</div>
</main>
<footer></footer>
</body>
</html>