forked from theneolanders/theneolanders.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
72 lines (62 loc) · 2.56 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<!-- Main -->
<title>404 Not Found</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="page not found!">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Page Not Found!">
<meta name="twitter:description" content="error 404">
<meta name="twitter:image" content="https://www.theneolanders.com/assets/NeolandStatic.webp">
<!-- Open Graph Meta Tags -->
<meta property="og:title" content="The Neolanders | 404" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.theneolanders.com/404.html" />
<meta property="og:image" content="https://www.theneolanders.com/assets/NeolandStatic.webp" />
<meta property="og:description" content="error 404, page not found!" />
<meta property="og:site_name" content="The Neolanders" />
<!-- Style -->
<style>
*{
padding:0;
margin:0;
overflow-y: hidden;
-ms-overflow-style: none; /* for Internet Explorer, Edge */
scrollbar-width: none; /* for Firefox */
}
.center{
display: block;
margin-left: auto;
margin-right: auto;
text-align: center;
width: 100vw;
position: relative;
pointer-events: none;
user-select: none;
}
@media screen and (min-width: 972px) {
.center{
width: 70%;
}
}
</style>
</head>
<body>
<main>
<div class="center">
<img id="imgDisplay" alt="error 404, page not found" src="https://www.theneolanders.com/assets/404/Neolanders_404.webp" class="center">
</div>
</main>
<script>
const image = document.getElementById("imgDisplay");
const sources = ["https://www.theneolanders.com/assets/404/Neolanders_404.webp", "https://www.theneolanders.com/assets/404/Neolanders_404-2.webp"];
image.src = sources[getRndInteger(0,sources.length)];
function getRndInteger(min, max) {
return Math.floor(Math.random() * (max - min) ) + min;
}
</script>
</body>
</html>