-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path404.html
More file actions
65 lines (60 loc) · 2.29 KB
/
404.html
File metadata and controls
65 lines (60 loc) · 2.29 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Home thing -->
<link rel="stylesheet" href="https://awashcard0.pages.dev/home-thing/style.css">
<script src='https://awashcard0.pages.dev/home-thing/script.js'></script>
<!-- End home thing -->
<link rel="stylesheet" href="/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk&display=swap" rel="stylesheet">
<title>404 - Awashcard0</title>
</head>
<body>
<!-- <div class="topnav">
<a href="/">Home</a>
<a href="/stuff">What I have made</a>
<a href="/games">Games</a>
<a href="/about">About</a>
</div> -->
<div class="main">
<h1>404</h1>
<h2 id="the">You shouldn't be here</h2>
<p id="text"></p>
</div>
<style>
.main {
text-align: center;
}
</style>
<script>
document.getElementById("text").innerHTML = window.location.pathname + " does not exist";
var list = [
"You wonder why people don't use apple maps",
"Employees only",
"You shouldn't be here",
"How are you here?",
"Look I don't have any money",
"Imagine an alleyway with nothing in it",
"Are you lost?",
"Do you need directions?",
"Don't make me do it",
"Here's your friendly reminder to drink water",
"Was I supposed to put something here",
"You're as lost as I am",
"That's enough Internet for today",
"Never gonna give you up, gonna let you down",
`I was hoping you'd see this...\n<a target="_blank" href= https://open.spotify.com/track/4PTG3Z6ehGkBFwjybzWkR8?si=a4e18c26fb624e0f>https://open.spotify.com/track/4PTG3Z6ehGkBFwjybzWkR8?si=a4e18c26fb624e0f</a>`
];
const index = Math.floor(Math.random() * list.length);
const thing = list[index];
document.getElementById("the").innerHTML = thing
if (window.location.href.includes("/o/")) {
const id = window.location.href.split("/o/")[1]
location.href = "/projects/links#id=" + id
}
</script>
</body>
</html>