-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
73 lines (62 loc) · 2.42 KB
/
Copy path404.html
File metadata and controls
73 lines (62 loc) · 2.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Error 404: Page not found</title>
<link rel="icon" type="image/png" href="/-assets/favicon.png">
<link rel="stylesheet" href="/-css/style.css">
<link rel="canonical" href="https://axosunion.github.io">
</head>
<body>
<!-- Navigation -->
<nav class="nav-container">
<div class="nav">
<a class="nav-logo" href="/index.html">AXR</a>
<div class="nav-links">
<a href="/index.html">Home</a>
<a href="/-pages/laws.html">Law</a>
<a href="/-pages/news.html">News</a>
<a href="/-pages/military.html">Military</a>
<a href="/-pages/dev/">Dev</a>
<button class="theme-toggle" id="themeToggle">⏾</button>
</div>
</div>
</nav>
<!-- Header -->
<header class="hero">
<div class="hero-content">
<img src="/-assets/Axian Wreath wt.png" alt="AXR Emblem" class="hero-emblem">
<div class="hero-text">
<h1>Axos Republic</h1>
<p class="subtitle">Official Website of the AXR</p>
</div>
</div>
</header>
<main class="content">
<section>
<p>You have been brought here because the target page was not found, a bit like Atlantis. Instead go to a page that exists.</p>
</section>
</main>
<footer class="footer">
<p>Content on this site is licensed under <a href="https://AxosUnion.github.io/LICENSE">Attribution 4.0 International</a> unless otherwise noted. All rights reserved.</p>
<p>Not an official Minecraft website; nor are we associated with Mojang or Microsoft.</p>
</footer>
<script>
const themeToggle = document.getElementById('themeToggle');
const htmlElement = document.documentElement;
// Load theme preference from localStorage
const currentTheme = localStorage.getItem('theme') || 'dark';
if (currentTheme === 'light') {
htmlElement.classList.add('light-mode');
themeToggle.textContent = '☀︎';
}
themeToggle.addEventListener('click', () => {
htmlElement.classList.toggle('light-mode');
const isLight = htmlElement.classList.contains('light-mode');
localStorage.setItem('theme', isLight ? 'light' : 'dark');
themeToggle.textContent = isLight ? '☀︎' : '⏾';
});
</script>
</body>
</html>