-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
397 lines (313 loc) · 10.5 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
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=no" />
<title>404 | emmanpbarrameda</title>
<!--==================== UNICONS ====================-->
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css" />
<!-- ============FAVICONS============== -->
<link rel="apple-touch-icon" sizes="180x180" href="assets/img/favicons/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="assets//img/favicons/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="assets/img/favicons/favicon-16x16.png" />
<link rel="icon" type="image/x-icon" href="assets/img/favicons/favicon.ico" />
<!--==================== SWIPER CSS ====================-->
<link rel="stylesheet" href="assets/css/swiper-bundle.min.css" />
<!--==================== ANIMATE CSS ====================-->
<link rel="stylesheet" href="assets/css/animate.min.css" />
<!--==================== CSS ====================-->
<link rel="stylesheet" href="assets/css/styles.css" />
<!--==================== MATERIAL ICONS ====================-->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
</head>
<style>
@import url('https://fonts.googleapis.com/css?family=Montserrat:300');
body {
background: #3498DB;
color: #fff;
font-family: 'Montserrat', sans-serif;
font-size: 16px;
}
h1 {
font-size: 20vh;
color: #fff;
}
h2 {
color: #fff;
}
h2 span {
font-size: 4rem;
font-weight: 600;
color: #fff;
}
p {
font-size: 3vh;
color: #fff;
font-weight: 500;
}
a:link,
a:visited {
text-decoration: none;
color: #fff;
}
h3 a:hover {
text-decoration: none;
background: #fff;
color: #3498DB;
cursor: pointer;
}
/*==================== FOOTER ====================*/
.footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding-top: 2rem;
padding-bottom: 0.15rem;
}
@media screen and (min-width: 351px) {
.footer {
padding-top: 2rem;
padding-bottom: 1rem;
}
}
@media screen and (min-width: 768px) {
.footer {
padding-top: 2rem;
padding-bottom: 1rem;
}
}
@media screen and (min-width: 1024px) {
.footer {
padding-top: 0rem;
padding-bottom: 1rem;
}
}
.footer__container {
row-gap: 3.5rem;
}
.footer__bg {
background-color: var(--first-color-second);
padding: 2rem 0 3rem;
}
.footer__links {
display: flex;
flex-direction: column;
row-gap: 1.5rem;
}
.footer__link {
transition: transform 0.3s, opacity 0.3s;
}
.footer__link:hover {
color: var(--first-color-lighter);
/*animation while hovering */
transform: scale(1.05);
opacity: 0.9;
}
.footer__social {
font-size: 1.25rem;
margin-right: var(--mb-1-5);
}
.footer__social:hover {
color: var(--first-color-lighter);
}
.footer__copy {
font-size: 0.75rem;
text-align: center;
color: #fff;
margin-top: var(--mb-0-5);
font-weight: 600;
}
.footer__title,
.footer__subtitle,
.footer__link,
.footer__social {
color: #fff;
}
/* SOCIAL MEDIA ICONS CONTAINER */
.footer__socialmedia_container {
display: flex;
justify-content: center;
align-items: center;
}
/* SOCIAL MEDIA MARGIN */
.footer__socialmedia {
margin: 0 10px;
/* Adjust the margin */
}
/* FOOTER SOCIAL MEDIA ICON */
.footer__socialmedia_icon {
font-size: 1rem;
color: var(--text-color-white);
}
/* FOOTER__HOVER EFFECT AND SETTINGS */
.footer__hover_text {
display: none;
color: #fff;
font-size: var(--smaller-font-size);
font-weight: 600;
}
.footer__socialmedia:hover .footer__hover_text {
display: inline;
}
/* FOOTER HOVER ON EACH SOCIAL MEDIA */
.ft_1,
.ft_2,
.ft_3,
.ft_4,
.ft_5 {
transition: transform 0.3s, opacity 0.3s;
}
.ft_1:hover,
.ft_2:hover,
.ft_3:hover,
.ft_4:hover,
.ft_5:hover {
filter: drop-shadow(0px 12px 12px var(--shadow));
/*animation while hovering */
transform: scale(1.09);
opacity: 0.9;
}
</style>
<body>
<!--==================== MAIN ====================-->
<main class="main">
<section class="error section">
<div class="container">
<h1>:(</h1><br>
<h2>A <span>404</span> error occured.</h2>
<p>We couldn't find what you were looking for.<br>Click the button below to go back to the homepage.</p><br><br>
<h3><a href="https://emmanpbarrameda.github.io/">RETURN TO HOME PAGE</a></h3>
</div>
</section>
</main>
<!--==================== FOOTER ====================-->
<footer class="footer">
<!-- SOCIAL MEDIA LINKS -->
<div class="footer__socialmedia_container">
<!-- EMAIL -->
<div class="footer__socialmedia ft_1">
<a href="" class="email_Link" target="_blank">
<i class="uil uil-envelope footer__socialmedia_icon"></i>
<span class="footer__hover_text">Email</span>
</a>
</div>
<!-- PORTFOLIO -->
<div class="footer__socialmedia ft_2">
<a href="" class="portfolio_Link" target="_blank">
<i class="uil uil-globe footer__socialmedia_icon"></i>
<span class="footer__hover_text">My Portfolio</span>
</a>
</div>
<!-- GITHUB -->
<div class="footer__socialmedia ft_3">
<a href="" class="github_Link" target="_blank">
<i class="uil uil-github footer__socialmedia_icon"></i>
<span class="footer__hover_text">My GitHub</span>
</a>
</div>
<!-- LINKEDIN -->
<div class="footer__socialmedia ft_4">
<a href="" class="linkedin_Link" target="_blank">
<i class="uil uil-linkedin-alt footer__socialmedia_icon"></i>
<span class="footer__hover_text">LinkedIn</span>
</a>
</div>
<!-- FB -->
<div class="footer__socialmedia ft_5">
<a href="" class="facebook_Link" target="_blank">
<i class="uil uil-facebook footer__socialmedia_icon"></i>
<span class="footer__hover_text">Facebook</span>
</a>
</div>
</div>
<!-- COPYRIGHT YEAR -->
<p class="footer__copy"><b>Copyright © <span current-year></span> emmanpbarrameda<br>All rights reserved.</p>
</footer>
<!--==================== LINKS ====================-->
<script>
//LINKEDIN
var linkedin_Var = document.getElementsByClassName('linkedin_Link');
Array.from(linkedin_Var).forEach(function (linkElement) {
linkElement.href = 'https://www.linkedin.com/in/emmanpbarrameda/';
});
//GITHUB
var github_Var = document.getElementsByClassName('github_Link');
Array.from(github_Var).forEach(function (linkElement) {
linkElement.href = 'https://github.com/emmanpbarrameda';
});
//PORTFOLIO
var portfolio_Link = document.getElementsByClassName('portfolio_Link');
Array.from(portfolio_Link).forEach(function (linkElement) {
linkElement.href = 'https://emmanpbarrameda.github.io';
});
//TELEGRAM
var telegram_Var = document.getElementsByClassName('telegram_Link');
Array.from(telegram_Var).forEach(function (linkElement) {
linkElement.href = 'https://t.me/emmanpbarrameda';
});
//FACEBOOK
var facebook_Var = document.getElementsByClassName('facebook_Link');
Array.from(facebook_Var).forEach(function (linkElement) {
linkElement.href = 'https://facebook.com/emmanpbarrameda';
});
//INSTAGRAM
var instagram_Var = document.getElementsByClassName('instagram_Link');
Array.from(instagram_Var).forEach(function (linkElement) {
linkElement.href = 'https://instagram.com/emmanpbarrameda';
});
//TWITTER
var twitter_Var = document.getElementsByClassName('twitter_Link');
Array.from(twitter_Var).forEach(function (linkElement) {
linkElement.href = 'https://twitter.com/emmanpbarrameda';
});
//YOUTUBE
var youtube_Var = document.getElementsByClassName('youtube_Link');
Array.from(youtube_Var).forEach(function (linkElement) {
linkElement.href = 'https://youtube.com/@emmanpbarrameda';
});
//EMAIL
var email_Var = document.getElementsByClassName('email_Link');
Array.from(email_Var).forEach(function (linkElement) {
linkElement.href = 'mailto:[email protected]';
});
</script>
<script>
/*==================== GET YEAR AND CURRENT AGE ====================*/
//update copyright year automatically and age
//USAGE: <span current-year></span>
//USAGE: <span my-age></span>
// Function to update the year and age
function updateYearAndAge() {
// Get all elements with the current-year and my-age attributes
let yearElements = document.querySelectorAll("[current-year]");
let ageElements = document.querySelectorAll("[my-age]");
// Get the current date and time in Asia/Manila time zone
let currentDate = new Date();
let options = { year: 'numeric', timeZone: 'Asia/Manila' };
let currentYear = new Intl.DateTimeFormat('en-US', options).format(currentDate);
/* console.log("Year: " +currentYear); */
// Calculate the age
let birthdate = new Date("July 28, 2001"); // Set the birthdate to July 28, 2001
let ageInMilliseconds = currentDate - birthdate; // Calculate the difference between current date and birthdate in milliseconds
let ageInYears = Math.floor(ageInMilliseconds / (365.25 * 24 * 60 * 60 * 1000)); // Calculate the age in years, accounting for leap years
/* console.log("Age: " +ageInYears); */
// Iterate over each element and update the year
yearElements.forEach((element) => {
element.textContent = currentYear; // Replace content with current year
});
// Iterate over each element and update the age
ageElements.forEach((element) => {
element.textContent = ageInYears; // Replace content with the calculated age
});
}
// Call the updateYearAndAge function initially
updateYearAndAge();
// Schedule the updateYearAndAge function to be called every minute
setInterval(updateYearAndAge, 60000); // 60000 milliseconds = 1 minute
</script>
<!--==================== DISABLE WEB TOOLS ====================-->
<!-- https://github.com/theajack/disable-devtool/tree/master -->
<script disable-devtool-auto src='https://cdn.jsdelivr.net/npm/disable-devtool'></script>
</body>
</html>