-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path404.html
More file actions
177 lines (153 loc) · 6.5 KB
/
404.html
File metadata and controls
177 lines (153 loc) · 6.5 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
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
---
permalink: /404.html
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 - Page Not Found | XerahS</title>
<meta name="description" content="The page you are looking for could not be found.">
<!-- Fonts -->
<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=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<!-- Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<!-- Styles -->
<link rel="stylesheet" href="{{ site.baseurl }}/css/tokens.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/animations.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/components.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/layout.css">
<link rel="icon" href="{{ site.baseurl }}/favicon.ico">
<style>
.error-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
min-height: 60vh;
position: relative;
z-index: 10;
}
.error-code {
font-size: 8rem;
font-weight: 700;
line-height: 1;
margin-bottom: 1rem;
background: var(--gradient-primary);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 10px 30px rgba(var(--color-primary-rgb), 0.3);
animation: float 6s ease-in-out infinite;
}
.error-message {
font-size: 1.5rem;
color: var(--color-text);
margin-bottom: 2rem;
max-width: 600px;
}
.error-illustration {
font-size: 4rem;
color: var(--color-text-muted);
margin-bottom: 2rem;
opacity: 0.8;
animation: pulse-glow 3s infinite alternate;
}
.action-buttons {
display: flex;
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-15px); }
100% { transform: translateY(0px); }
}
@keyframes pulse-glow {
0% { text-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.2); transform: scale(1); }
100% { text-shadow: 0 0 30px rgba(var(--color-primary-rgb), 0.6); transform: scale(1.05); }
}
</style>
</head>
<body>
<!-- ═══════════════════════════════════════
BACKGROUND SYSTEM
═══════════════════════════════════════ -->
<div class="background-system">
<div class="gradient-base"></div>
<div class="noise-overlay"></div>
<div class="blob blob-primary" style="top: 20%; left: 30%; width: 400px; height: 400px;"></div>
<div class="blob blob-secondary" style="top: 60%; right: 20%; width: 500px; height: 500px; animation-delay: -5s;"></div>
<div class="grid-overlay"></div>
</div>
<!-- ═══════════════════════════════════════
NAVIGATION
═══════════════════════════════════════ -->
{% include navbar.html %}
<main>
<section class="section-padding" style="padding-top: 15vh;">
<div class="container error-container animate-on-scroll">
<div class="error-illustration">
<i class="fa-solid fa-ghost"></i>
</div>
<h1 class="error-code">404</h1>
<p class="error-message">Oops! Looks like the region you captured doesn't exist.</p>
<div class="action-buttons">
<a href="{{ site.baseurl }}/" class="btn btn-primary">
<i class="fa-solid fa-home"></i>
Return Home
</a>
<a href="{{ site.baseurl }}/downloads/" class="btn btn-secondary">
<i class="fa-solid fa-download"></i>
Get XerahS
</a>
</div>
</div>
</section>
</main>
{% include footer.html %}
<!-- ═══════════════════════════════════════
SCRIPTS
═══════════════════════════════════════ -->
<script>
// Theme toggle functionality
const themeToggles = document.querySelectorAll('.theme-toggle');
const html = document.documentElement;
function getPreferredTheme() {
const savedTheme = localStorage.getItem('theme');
if (savedTheme) return savedTheme;
return window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light';
}
function setTheme(theme) {
if (theme === 'light') {
html.setAttribute('data-theme', 'light');
} else {
html.removeAttribute('data-theme');
}
localStorage.setItem('theme', theme);
}
setTheme(getPreferredTheme());
themeToggles.forEach(toggle => {
toggle.addEventListener('click', () => {
const currentTheme = html.getAttribute('data-theme');
const newTheme = currentTheme === 'light' ? 'dark' : 'light';
setTheme(newTheme);
});
});
// Mobile menu toggle
const navToggle = document.querySelector('.nav-toggle');
const navMobile = document.querySelector('.nav-mobile');
if (navToggle && navMobile) {
navToggle.addEventListener('click', () => {
const isActive = navToggle.classList.toggle('active');
navMobile.classList.toggle('active');
navToggle.setAttribute('aria-expanded', isActive);
});
}
</script>
</body>
</html>