remove 404 page in place of redirect

This commit is contained in:
kittentm 2026-02-03 05:58:14 +01:00
commit 9c830fccd4

View file

@ -1,87 +1,11 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8">
<title>SplatNet - Splatoon's multiplayer service hub</title> <meta http-equiv="refresh" content="0;url=/sign_in/">
<title>Whoops, page not found!</title>
<link rel="icon" href="/favicon.ico" />
<link rel="stylesheet" href="/styles.css" />
<style>
.notfound {
margin-top: 40px;
background: rgba(0, 0, 0, 0.85);
border-radius: 18px;
padding: 32px 40px;
text-align: center;
max-width: 600px;
}
.notfound h1 {
font-family: "Splatoon1";
font-size: 96px;
margin: 0;
color: #ff4fd8;
letter-spacing: 6px;
}
.notfound h2 {
font-family: "Splatoon1";
font-size: 32px;
margin: 8px 0 16px;
color: white;
}
.notfound p {
font-family: "Regular";
font-size: 18px;
color: #ddd;
margin-bottom: 28px;
}
.notfound a {
display: inline-block;
font-family: "Splatoon1";
font-size: 20px;
padding: 12px 28px;
background: #ff4fd8;
color: black;
text-decoration: none;
border-radius: 999px;
transition: transform 0.15s ease, background 0.15s ease;
}
.notfound a:hover {
background: #ff7ae6;
transform: scale(1.05);
}
body {
background-image: url("/assets/friendlist.png");
}
</style>
</head> </head>
<body> <body>
<div id="header"></div> <p>If you are not redirected automatically, <a href="/sign_in/">click here</a>.</p>
<div class="content">
<div class="notfound">
<h1>404</h1>
<h2>Booyah…?</h2>
<p>
This page got splatted.<br />
</p>
<a href="/">Return to somewhere safe</a>
</div>
</div>
<script>
fetch("/header.html")
.then(res => res.text())
.then(html => {
document.getElementById("header").innerHTML = html;
});
</script>
</body> </body>
</html> </html>