generated from adobe/aem-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path404.html
86 lines (81 loc) · 3.04 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
<!DOCTYPE html>
<html>
<head>
<title>404: Page Not Found !</title>
<script type="text/javascript">
const locationURL = new URL(window.location.href);
let urlAdjusted = false;
if (locationURL.pathname.endsWith('/')) {
locationURL.pathname = locationURL.pathname.substring(0, locationURL.pathname.length -1);
urlAdjusted = true;
}
if (locationURL.pathname.toLowerCase() !== locationURL.pathname) {
locationURL.pathname = locationURL.pathname.toLowerCase();
urlAdjusted = true;
}
if (urlAdjusted) {
window.location.href = locationURL.href;
}
</script>
<script type="text/javascript">
window.isErrorPage = true;
window.errorCode = '404';
</script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
name="description"
content="We're sorry, but we are unable to locate the page you have requested. If you have reached this page in error, you may wish to proceed to the home page to locate the information you are looking for. If you continue to receive this message, please do not hesitate to contact us for assistance."
/>
<meta property="og:title" content="404: Page Not Found !" />
<meta property="og:site_name" content="Molecular Devices" />
<script src="/scripts/scripts.js" type="module" crossorigin="use-credentials"></script>
<script type="module">
import { sampleRUM } from '/scripts/lib-franklin.js';
window.addEventListener('load', () => {
sampleRUM('404', { source: document.referrer, target: window.location.href });
});
</script>
<link rel="stylesheet" href="/styles/styles.css" />
<link rel="stylesheet" href="/styles/lazy-styles.css" />
</head>
<body>
<header></header>
<main class="error">
<div class="hero error">
<div>
<div>
<p>
<picture>
<source type="image/webp" srcset="/images/default-banner.webp" />
<source type="image/jpeg" srcset="/images/default-banner.jpg" />
<img
loading="lazy"
alt="Background"
type="image/jpeg"
src="/images/default-banner.jpg"
width="2880"
height="400"
/>
</picture>
</p>
<h1 id="error">404: Page Not Found !</h1>
</div>
</div>
</div>
<div class="section wave">
<div>
<p>
We're sorry, but we are unable to locate the page you have requested. If you have
reached this page in error, you may wish to proceed to the
<a href="https://www.moleculardevices.com">home</a>
page to locate the information you are looking for. If you continue to receive this
message, please do not hesitate to
<a href="/contact">contact us</a>
for assistance.
</p>
</div>
</div>
</main>
<footer></footer>
</body>
</html>