Sync deploy mirror and upstream error page
This commit is contained in:
197
public/errors/upstream-gateway.html
Normal file
197
public/errors/upstream-gateway.html
Normal file
@@ -0,0 +1,197 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<title>Skinbase Nova Temporarily Unavailable</title>
|
||||
<style>
|
||||
:root {
|
||||
color-scheme: dark;
|
||||
--bg0: #020617;
|
||||
--bg1: #0f172a;
|
||||
--panel: rgba(15, 23, 42, 0.72);
|
||||
--panel-border: rgba(148, 163, 184, 0.16);
|
||||
--text: #f8fafc;
|
||||
--muted: rgba(226, 232, 240, 0.72);
|
||||
--soft: rgba(226, 232, 240, 0.42);
|
||||
--accent: #38bdf8;
|
||||
--accent-strong: #0ea5e9;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
color: var(--text);
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 28%),
|
||||
radial-gradient(circle at top right, rgba(244, 114, 182, 0.16), transparent 32%),
|
||||
linear-gradient(180deg, var(--bg1) 0%, var(--bg0) 100%);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 32px 20px;
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(760px, 100%);
|
||||
border: 1px solid var(--panel-border);
|
||||
border-radius: 32px;
|
||||
background: linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(2, 6, 23, 0.94));
|
||||
box-shadow: 0 30px 100px rgba(2, 6, 23, 0.45);
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.shell::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background:
|
||||
radial-gradient(circle at 18% 14%, rgba(125, 211, 252, 0.16), transparent 24%),
|
||||
radial-gradient(circle at 84% 0%, rgba(244, 114, 182, 0.14), transparent 30%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.content {
|
||||
position: relative;
|
||||
padding: 56px 28px 32px;
|
||||
}
|
||||
|
||||
.code {
|
||||
font-size: clamp(72px, 18vw, 132px);
|
||||
line-height: 0.9;
|
||||
font-weight: 800;
|
||||
letter-spacing: -0.06em;
|
||||
color: rgba(56, 189, 248, 0.18);
|
||||
text-align: center;
|
||||
margin: 0 0 12px;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
border: 1px solid rgba(56, 189, 248, 0.24);
|
||||
background: rgba(56, 189, 248, 0.1);
|
||||
color: #c4f1ff;
|
||||
border-radius: 999px;
|
||||
padding: 10px 16px;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.24em;
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
max-width: 560px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 22px 0 14px;
|
||||
font-size: clamp(34px, 7vw, 48px);
|
||||
line-height: 1.05;
|
||||
letter-spacing: -0.04em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: clamp(16px, 2vw, 20px);
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.button,
|
||||
.button-secondary {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
min-height: 48px;
|
||||
padding: 0 22px;
|
||||
border-radius: 16px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
|
||||
}
|
||||
|
||||
.button {
|
||||
border: 1px solid transparent;
|
||||
background: linear-gradient(180deg, var(--accent), var(--accent-strong));
|
||||
color: white;
|
||||
box-shadow: 0 18px 40px rgba(14, 165, 233, 0.24);
|
||||
}
|
||||
|
||||
.button-secondary {
|
||||
border: 1px solid rgba(226, 232, 240, 0.12);
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
color: rgba(248, 250, 252, 0.84);
|
||||
}
|
||||
|
||||
.button:hover,
|
||||
.button-secondary:hover {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.button-secondary:hover {
|
||||
border-color: rgba(226, 232, 240, 0.24);
|
||||
color: #fff;
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.footnote {
|
||||
margin-top: 28px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--soft);
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.content {
|
||||
padding: 44px 20px 24px;
|
||||
}
|
||||
|
||||
.button,
|
||||
.button-secondary {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="shell" aria-labelledby="error-title">
|
||||
<div class="content">
|
||||
<div class="center">
|
||||
<div class="code">50x</div>
|
||||
<div class="badge">Gateway Error</div>
|
||||
<h1 id="error-title">Skinbase Nova Is Temporarily Out of Orbit</h1>
|
||||
<p>The site is reachable, but the application layer did not answer in time. This is usually brief. Give it a moment and try again.</p>
|
||||
|
||||
<div class="actions">
|
||||
<a class="button" href="javascript:window.location.reload()">Try Again</a>
|
||||
<a class="button-secondary" href="/">Return Home</a>
|
||||
<a class="button-secondary" href="/discover/trending">Browse Discover</a>
|
||||
</div>
|
||||
|
||||
<div class="footnote">Static upstream fallback for nginx-level 502 and 504 responses</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user