-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
134 lines (116 loc) · 5.06 KB
/
404.html
File metadata and controls
134 lines (116 loc) · 5.06 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="tysm.dev 404" property="og:title" />
<meta content="Full stack developer | Mechanical and Software Engineer" property="og:description" />
<meta content="https://specs.tysm.dev/" property="og:url" />
<meta name="description" content="Tyler - Full Stack Developer" />
<meta
name="keywords"
content="crispy cream, tyhm dev, tysm.dev, dreamers network, crispy dreamers network, crispy cream discord, crispy cream discord, full-stack developer, developer, frontend developer, backend developer, system administrator, linux admin, discord bot developer, startups, specs, tysm specs, tysm.dev specs, specs tysm.dev, full stack dev, engineer"
/>
<title>404</title>
<style>
body {
background: #081421;
color: #d3d7de;
font-family: "Courier new";
font-size: 18px;
line-height: 1.5em;
cursor: default;
overflow: hidden;
}
a {
color: #fff;
text-decoration: none;
background-image: linear-gradient(currentColor, currentColor);
background-position: 0% 100%;
background-repeat: no-repeat;
background-size: 0% 2px;
transition: background-size cubic-bezier(0, 0.5, 0, 1) 0.3s;
}
a:hover,
a:focus {
text-decoration: none;
background-size: 100% 2px;
}
.code {
position: absolute;
width: 390px;
min-width: 320px;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.code > span {
display: block;
}
@media screen and (max-width: 320px) {
.code {
font-size: 5vw;
min-width: auto;
width: 95%;
margin: auto;
padding: 5px;
padding-left: 10px;
line-height: 6.5vw;
}
}
</style>
<link rel="shortcut icon" href="./_assets/img/_icon/icon.png" />
<link rel="apple-touch-icon" href="./_assets/img/_icon/icon.png" />
</head>
<body>
<div class="code">
<span>
<span style="color: #c46dd4;" id="1"> if </span><span id="2">(</span><span style="font-style: italic; color: #d65562;" id="3">error</span><span style="color: #4ca8ef;" id="4"> === </span>
<span style="color: #d8955c;" id="5">404</span><span id="6">) {</span>
</span>
<span>
<span style="width: 10px; padding-left: 15px; color: #ebbd70;" id="7">console</span><span id="8">.</span><span style="font-style: italic; color: #3fb0f3;" id="9">error</span><span id="10">(</span><span style="color: #88c06e;" id="11">"Page not found!"</span><span id="12">);</span>
</span>
<span>
<span style="display: block;" id="13">}</span>
<span style="color: #7e848f; font-style: italic;" id="14">// Go </span><span><a href="javascript:history.back()" id="15">Back</a></span><span style="color: #7e848f; font-style: italic;" id="16"> or </span>
<span><a href="/" id="17">Home</a></span><span style="color: #7e848f; font-style: italic;" id="18">!</span>
</span>
</div>
<script>
function typeEffect(ElementArray, speed) {
var element = document.getElementById(ElementArray.element);
element.display = "block";
var text = ElementArray.innerHTML;
var i = 0;
var num = parseInt(ElementArray.element);
var max = elements.length;
var timer = setInterval(function () {
if (i < text.length) {
element.innerHTML += text.charAt(i);
i++;
} else {
clearInterval(timer);
if (num < max) {
typeEffect(elements[num], speed);
}
}
}, speed);
}
var elements = [];
var i = 0;
for (i = 0; i < 18; i++) {
var num = (i + 1).toString();
var element = document.getElementById(num);
elements.push({
element: num,
innerHTML: element.innerHTML,
});
element.innerHTML = "";
}
typeEffect(elements[0], 75);
</script>
</body>
</html>