-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
115 lines (97 loc) · 3.48 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Error 404 — </title>
<meta name="description" content="">
<!-- Google / Search Engine Tags -->
<meta itemprop="name" content="Error 404 — ">
<meta itemprop="description" content="">
<!-- <meta itemprop="image" content={absoluteImageUrl} /> -->
<!-- Facebook Meta Tags -->
<meta property="og:type" content="website">
<meta property="og:title" content="Error 404 — ">
<meta property="og:description" content="">
<!-- <meta property="og:image" content={absoluteImageUrl} /> -->
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Error 404 — ">
<meta name="twitter:description" content="">
<!-- <meta name="twitter:image" content={absoluteImageUrl} /> -->
<!-- Generation Version -->
<meta name="generator" content="Astro v1.2.1">
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;700&display=swap" rel="stylesheet">
<!-- Google Site Verification
<meta
name="google-site-verification"
content="orcPxI47GSa-cRvY11tUe6iGg2IO_RPvnA1q95iEM3M"
/>
-->
<link rel="stylesheet" href="/assets/86e16542.0efc62b2.css" /></head>
<body class="antialiased text-gray-900 dark:text-slate-300 tracking-tight bg-white dark:bg-slate-900">
<main>
<section class="flex items-center h-full p-16">
<div class="container flex flex-col items-center justify-center px-5 mx-auto my-8">
<div class="max-w-md text-center">
<h2 class="mb-8 font-bold text-9xl">
<span class="sr-only">Error</span>
<span class="bg-clip-text text-transparent bg-gradient-to-r from-primary-500 to-secondary-500">404
</span>
</h2>
<p class="text-3xl font-semibold md:text-3xl">
Sorry, we couldn't find this page.
</p>
<a rel="noopener noreferrer" href="/" class="btn text-white bg-gray-900 hover:bg-gray-800 dark:bg-gray-700 dark:hover:bg-gray-800 ml-4">Back to homepage
</a>
</div>
</div>
</section>
</main>
<script>
if (
localStorage.theme === 'dark' ||
(!('theme' in localStorage) &&
window.matchMedia('(prefers-color-scheme: dark)').matches)
) {
document.documentElement.classList.add('dark')
} else {
document.documentElement.classList.remove('dark')
}
function attachEvent(selector, event, fn) {
const matches = document.querySelectorAll(selector)
if (matches && matches.length) {
matches.forEach((elem) => {
elem.addEventListener(
event,
function () {
fn(elem)
},
false
)
})
}
}
window.onload = function () {
attachEvent('[data-aw-toggle-menu]', 'click', function (elem) {
elem.classList.toggle('expanded')
document.getElementById('menu')?.classList.toggle('hidden')
})
attachEvent('[data-aw-toggle-color-scheme]', 'click', function (elem) {
document.documentElement.classList.toggle('dark')
localStorage.theme = document.documentElement.classList.contains('dark')
? 'dark'
: 'light'
})
}
window.onpageshow = function () {
const elem = document.querySelector('[data-aw-toggle-menu]')
if (elem) {
elem.classList.remove('expanded')
}
document.getElementById('menu')?.classList.add('hidden')
}
</script>
</body></html>