-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
269 lines (257 loc) · 12 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="google-site-verification" content="KYY2gmgAlkWGunYxJZTgO_K8TAHiaPRdJUP6lpE9Yek" />
<link rel="icon" href="images/Nicholas_Wong_Favicon.png">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Not Found | Nicholas Wong</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@latest/devicon.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<style>
main{
display: flex;
height: 100vh;
justify-content: center;
align-items: center;
flex-direction: column;
}
.header404{
font-size: 48px;
}
.content404{
text-align: center;
}
</style>
<style>
.scroll-wrapper {text-align:center;}
.scroll {
font-size: 50px;
color: #000;
-webkit-animation: scrolling 3s ease infinite;
-moz-animation: scrolling 3s ease infinite;
-o-animation: scrolling 3s ease infinite;
animation: scrolling 3s ease infinite;
}
@keyframes scrolling {
0% {
transform: translate(0);
}
50% {
transform: translate(0,40px);
}
100% {
transform: translate(0);
}
}
</style>
<style>
#btn-back-to-top {
position: fixed;
bottom: 20px;
right: 20px;
display: none;
}
</style>
</head>
<body>
<nav class="navbar sticky-top navbar-dark navbar-expand-lg bg-dark ">
<div class="container-fluid">
<div class="mx-4">
<a class="navbar-brand" href="#">
<img src="images/Nicholas_Wong_Canada.jpg"
class="rounded-circle"
style="width:50px;height:50px;">
</a>
</div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo02">
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="https://thewonglife.is-a.dev/html/about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://thewonglife.is-a.dev/html/contact">Contact</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://thewonglife.is-a.dev/html/resume">Resume</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Light / Dark</a>
</li>
</ul>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="darkModeSwitch" checked>
</div>
<script>
var domainroot="thewonglife.is-a.dev"
function Gsitesearch(curobj){ curobj.q.value="site:"+domainroot+" "+curobj.qfront.value }
</script>
<form class="search navbar-form navbar-right" action="https://www.google.com/search" method="GET" role="search" onSubmit="Gsitesearch(this)">
<div class="input-group"> <input name="q" type="hidden" />
<input class="form-control" name="qfront" type="search" required class="searchField" placeholder="Search" maxlength="50"/>
<span class="input-group-btn"> <button type="submit" class="search-button btn btn-primary"> <span class="fa-solid fa-magnifying-glass fa-sm"></span> </button> </span>
</div>
</form>
</div>
</div>
</nav>
<main>
<h4 class="header404">404 <i class="fa-solid fa-magnifying-glass fa-sm"></i></h4>
<div class="content-404">
The page you're looking for couldn't be found <i class="fa-solid fa-user-xmark fa-sm"></i>.
</div>
<p>
Please navigate back to <a href="https://thewonglife.is-a.dev">my home <i class="fa-solid fa-house fa-sm"></i> page</a>.
</p>
</main>
<div class="scroll-wrapper"><a href="#footer"><i class="scroll fa-solid fa-chevron-down fa-sm"></i></a></div>
<button
type="button"
class="btn btn-dark btn-floating btn-lg"
id="btn-back-to-top"
>
<i class="fa-solid fa-chevron-up fa-sm"></i>
</button>
<footer class="text-center" id="footer">
<div class="container pt-4">
<section class="mb-4">
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="https://www.facebook.com/thewonglife1"
role="button"
data-mdb-ripple-color="dark"
><i class="fa-brands fa-facebook-f fa-xl"></i
></a>
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="https://github.com/TheWongLife"
role="button"
data-mdb-ripple-color="dark"
><i class="fa-brands fa-github fa-xl"></i
></a>
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="https://instagram.com/the.wong.life"
role="button"
data-mdb-ripple-color="dark"
><i class="fa-brands fa-instagram fa-xl"></i
></a>
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="https://kaggle.com/thewonglife1"
role="button"
data-mdb-ripple-color="dark"
><i class="fa-brands fa-kaggle fa-xl"></i
></a>
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="https://www.linkedin.com/in/nicholaswong27"
role="button"
data-mdb-ripple-color="dark"
><i class="fa-brands fa-linkedin fa-xl"></i
></a>
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="https://www.reddit.com/user/TheWongLife"
role="button"
data-mdb-ripple-color="dark"
><i class="fa-brands fa-reddit fa-xl"></i
></a>
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="https://open.spotify.com/user/l9pfb37uu8fi278pipxfi04x6"
role="button"
data-mdb-ripple-color="dark"
><i class="fa-brands fa-spotify fa-xl"></i
></a>
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="https://stackoverflow.com/users/22104114"
role="button"
data-mdb-ripple-color="dark"
><i class="fa-brands fa-stack-overflow fa-xl"></i
></a>
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="https://www.threads.net/@the.wong.life"
role="button"
data-mdb-ripple-color="dark"
><i class="fa-brands fa-threads fa-xl"></i
></a>
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="https://x.com/the_wong_life"
role="button"
data-mdb-ripple-color="dark"
><i class="fa-brands fa-x-twitter fa-xl"></i
></a>
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="https://www.youtube.com/channel/UCwX7WTNBrh2Q5BoRsfo_bgw"
role="button"
data-mdb-ripple-color="dark"
><i class="fa-brands fa-youtube fa-xl"></i
></a>
</section>
</div>
<div class="text-center p-3">
Copyright © 2024
<a class="text-body" href="https://thewonglife.is-a.dev">Nicholas Wong</a>
</div>
</footer>
<script>
document.addEventListener('DOMContentLoaded', (event) => {
const htmlElement = document.documentElement;
const switchElement = document.getElementById('darkModeSwitch');
const currentTheme = localStorage.getItem('bsTheme') || 'dark';
htmlElement.setAttribute('data-bs-theme', currentTheme);
switchElement.checked = currentTheme === 'dark';
switchElement.addEventListener('change', function () {
if (this.checked) {
htmlElement.setAttribute('data-bs-theme', 'dark');
localStorage.setItem('bsTheme', 'dark');
} else {
htmlElement.setAttribute('data-bs-theme', 'light');
localStorage.setItem('bsTheme', 'light');
}
});
});
</script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
<script src="js/script.js"></script>
<script src="js/scroll.js"></script>
<script>
import { Ripple, initMDB } from "mdb-ui-kit";
initMDB({ Ripple });
</script>
</body>
</html>