-
Notifications
You must be signed in to change notification settings - Fork 115
/
404.html
72 lines (65 loc) · 2.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Sanu Kumar">
<meta name="description" content="Page not found on the Random Disco Light Simulator site. Please check the URL or return to the homepage.">
<link rel="icon" href="assets/images/favicon/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="./css/404.css">
<link rel="stylesheet" href="./css/style.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<title>Error - 404</title>
<script src="./js/404.js" defer></script>
<link rel="stylesheet" href="/css/preloader.css">
</head>
<body>
<!-- Preloader starts -->
<div id="preloader">
<div class="spinner">
<div class="spinner-inner"></div>
<div id="loading-percentage">0%</div>
</div>
</div>
<script>
window.addEventListener('load', () => {
const preloader = document.getElementById('preloader');
const content = document.getElementById('content');
const loadingPercentage = document.getElementById('loading-percentage');
let percentage = 0;
const interval = setInterval(() => {
percentage += 10;
loadingPercentage.textContent = `${percentage}%`;
if (percentage >= 100) {
clearInterval(interval);
setTimeout(() => {
preloader.style.display = 'none';
content.style.display = 'block';
document.body.style.overflow = 'auto';
}, 300);
}
}, 100);
});
</script>
<!-- Preloader Ends -->
<div id="content">
<div class="errorpage"></div>
<div class="stars"></div>
<div class="container">
<div class="text1">Oops!</div>
<div class="text2">404 - Page not Found</div>
<div class="text3">The page you are looking for might have been removed, had its name changed, or is temporarily
unavailable.</div>
<div class="text4 text3">Redirecting in <strong></strong> seconds</div>
<div class="text5"><a href="index.html">Go to HomePage</a></div>
</div>
<div id="sun-moon-mode-toggler" class="toggle-container" >
<input type="checkbox" id="themeToggle" class="switch-checkbox">
<label id="themeChangeToggle" class="theme-switch" for="themeToggle">
<div class="toggle-button">
<span class="light-mode-icon"><img src="sun.svg" style = "display: block;"></span>
<span class="dark-mode-icon"><img src="moon.svg"style = "display: block;"></span>
</div>
</div>
</body>
</html>