-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
56 lines (49 loc) · 3.37 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
<!DOCTYPE html><html lang="404" dir="ltr" class="h-full dark"> <head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><link rel="icon" type="image/x-icon" href="/images/favicon/favicon.ico"><title>Error 404 | find.bible</title><meta name="description" content=""><meta itemprop="name" content="Error 404"><meta itemprop="description" content=""><meta property="og:type" content="website"><meta property="og:title" content="Error 404"><meta property="og:description" content=""><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="Error 404"><meta name="twitter:description" content=""><meta name="generator" content="Astro v3.6.4"><meta name="theme-color" content="#059669"><meta name="astro-view-transitions-enabled" content="true"><meta name="astro-view-transitions-fallback" content="animate"><script>
const setDarkMode = () => {
if (localStorage.theme !== 'dark' || (!('theme' in localStorage) && !window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.remove('dark')
} else {
document.documentElement.classList.add('dark')
}
attachEvent('[data-aw-toggle-color-scheme]', 'click', function (elem) {
document.documentElement.classList.toggle('dark')
localStorage.theme = document.documentElement.classList.contains('dark') ? 'dark' : 'light'
})
}
document.addEventListener('astro:after-swap', setDarkMode);
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')
})
}
window.onpageshow = function () {
const elem = document.querySelector('[data-aw-toggle-menu]')
if (elem) {
elem.classList.remove('expanded')
}
document.getElementById('menu')?.classList.add('hidden')
}
</script><link rel="stylesheet" href="/_astro/add.38c98b5f.css" />
<link rel="stylesheet" href="/_astro/add.9a7fd770.css" /><script type="module" src="/_astro/hoisted.77775e67.js"></script>
<script type="module" src="/_astro/page.b7cc8384.js"></script></head> <body class="antialiased text-stone-900 dark:text-stone-300 tracking-tight h-screen dark:bg-none dark:bg-black"> <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> </body></html>