-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
97 lines (85 loc) · 3.26 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
<!DOCTYPE html>
<html lang="404" dir="ltr" class="h-full">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/x-icon" href="/img/favicon/favicon.ico">
<title>Error 404 — undefined | Find.Bible</title>
<meta name="description" content="">
<meta itemprop="name" content="Error 404 — undefined">
<meta itemprop="description" content="">
<meta property="og:type" content="website">
<meta property="og:title" content="Error 404 — undefined">
<meta property="og:description" content="">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Error 404 — undefined">
<meta name="twitter:description" content="">
<meta name="generator" content="Astro v2.0.11">
<meta name="theme-color" content="#059669">
<link rel="stylesheet" href="/_astro/404.56259f6a.css" />
<link rel="stylesheet" href="/_astro/faq.ef0f9413.css" /></head>
<body class="antialiased text-stone-900 dark:text-stone-300 tracking-tight bg-white dark:bg-stone-900 h-full">
<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>
<p class="mt-4 mb-8 text-lg text-stone-600 dark:text-stone-400">
But dont worry, you can find plenty of other things on our homepage.
</p>
<a rel="noopener noreferrer" href="/" class="btn text-white bg-stone-900 hover:bg-stone-800 dark:bg-stone-700 dark:hover:bg-stone-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>