-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
142 lines (122 loc) · 3.74 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!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="/aemedge/scripts/scripts.js" type="module" crossorigin="use-credentials"></script>
<script type="module">
import { sampleRUM } from "/aemedge/scripts/aem.js";
window.addEventListener("load", () => {
sampleRUM("404", {
source: document.referrer,
target: window.location.href,
});
});
</script>
<link rel="stylesheet" href="/aemedge/styles/css_variables.css" />
<link rel="stylesheet" href="/aemedge/styles/styles.css" />
<style>
.error {
display: grid;
margin-inline: var(--udexGridMargins);
grid-template-columns: repeat(12, minmax(0, 1fr));
column-gap: var(--udexGridGutters);
}
.error-page {
grid-column: span 12;
margin-block: var(--udexSpacer56);
text-align: center;
.default-content-wrapper {
display: flex;
flex-direction: column;
align-items: center;
}
}
.error-message {
margin-block: var(--udexSpacer24) var(--udexSpacer20);
font-size: var(--udexTypographyHeadingMediumSFontSize);
font-weight: var(--udexTypographyFontWeightMedium);
}
.error-content {
margin-block: 0 var(--udexSpacer32);
font-size: var(--udexTypographyBodySFontSize);
}
@media (width >=640px) {
.error-message {
font-size: var(--udexTypographyHeadingMediumSFontSize);
}
}
@media (width >=980px) {
.error-page {
grid-column: 3 /11;
margin-block: var(--udexSpacer64);
}
.error-message {
margin-block: var(--udexSpacer32) var(--udexSpacer20);
font-size: var(--udexTypographyHeadingMediumMFontSize);
}
.error-content {
margin-block-end: var(--udexSpacer32);
}
.alert-error {
height: 120px;
width: 120px;
}
}
@media (width >=1280px) {
.error-page {
margin-block: var(--udexSpacer84);
}
.error-message {
margin-block: var(--udexSpacer40) var(--udexSpacer20);
font-size: var(--udexTypographyHeadingMediumLFontSize);
}
.error-content {
margin-block-end: var(--udexSpacer40);
font-size: var(--udexTypographyBodyMFontSize);
}
.alert-error {
height: 140px;
width: 140px;
}
}
@media (width >=1600px) {
:root {
--udexGridMargins: 246px;
}
.error-message {
font-size: var(--udexTypographyHeadingMediumXLFontSize);
}
}
</style>
<link rel="stylesheet" href="/aemedge/styles/lazy-styles.css" />
</head>
<body>
<header></header>
<main class="error">
<div class="section error-page">
<img class="alert-error" src="/aemedge/icons/error_alert.svg" alt="404" />
<h1 class="error-message">Page not found</h1>
<p class="error-content">
Sorry, we can't find that page. Why not? You may have used an incorrect URL or a broken link—or tried to access
a page
that no longer exists. Let's see if we can help you find the information you’re looking for:
</p>
<div class="error-buttons">
<p class="button-container">
<a href="/topics/" class="button primary button-xs-medium button-m-large">Explore other topics</a>
</p>
<p class="button-container">
<a href="/topics/all-content" class="button secondary button-xs-medium button-m-large">Browse all content</a>
</p>
</div>
</div>
</main>
<footer></footer>
</body>
</html>