Neb added

This commit is contained in:
2025-07-25 22:46:38 +12:00
parent 1b6c58a348
commit cfd2ccf50d
22 changed files with 4483 additions and 223 deletions
+41
View File
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>404 - Lost in the Void</title>
<link rel="stylesheet" href="404.css">
</head>
<body>
<div class="container">
<div class="error-icon">🪐</div>
<h1>404 - Page Not Found</h1>
<p>Youve warped into an unknown sector.</p>
<p class="url-line">Tried to reach: <span id="attempted-url"></span></p>
<div class="actions">
<button onclick="goHome()">Go to Home</button>
<button onclick="goSettings()">Open Settings</button>
</div>
</div>
<script>
function getQueryParam(name) {
const params = new URLSearchParams(window.location.search);
return params.get(name);
}
const attemptedUrl = getQueryParam("url");
if (attemptedUrl) {
document.getElementById("attempted-url").textContent = decodeURIComponent(attemptedUrl);
}
function goHome() {
window.location.href = "https://google.com";
}
function goSettings() {
window.location.href = "settings.html";
}
</script>
</body>
</html>