All checks were successful
Release / Test backend (push) Successful in 23s
CI / Backend (push) Successful in 41s
CI / UI (push) Successful in 49s
Release / Check ui (push) Successful in 27s
CI / UI (pull_request) Successful in 27s
CI / Backend (pull_request) Successful in 47s
Release / Docker / caddy (push) Successful in 1m7s
Release / Docker / backend (push) Successful in 1m48s
Release / Docker / ui (push) Successful in 2m2s
Release / Docker / runner (push) Successful in 3m9s
Release / Gitea Release (push) Successful in 13s
Match main site logo style: lowercase 'libnovel' in full brand amber. Add meta http-equiv refresh fallback for 5xx pages. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
204 lines
4.8 KiB
HTML
204 lines
4.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>500 — Internal Error — libnovel</title>
|
|
<meta http-equiv="refresh" content="20">
|
|
<style>
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
html, body {
|
|
height: 100%;
|
|
background: #09090b;
|
|
}
|
|
|
|
body {
|
|
min-height: 100svh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-family: ui-sans-serif, system-ui, sans-serif;
|
|
color: #a1a1aa;
|
|
}
|
|
|
|
header {
|
|
padding: 1.5rem 2rem;
|
|
border-bottom: 1px solid #27272a;
|
|
}
|
|
.logo {
|
|
font-size: 1.125rem;
|
|
font-weight: 700;
|
|
color: #f59e0b;
|
|
letter-spacing: -0.02em;
|
|
text-decoration: none;
|
|
}
|
|
|
|
main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 3rem 2rem;
|
|
text-align: center;
|
|
gap: 0;
|
|
}
|
|
|
|
.illustration {
|
|
width: 96px;
|
|
height: 96px;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.watermark {
|
|
font-size: clamp(5rem, 22vw, 9rem);
|
|
font-weight: 800;
|
|
color: #18181b;
|
|
line-height: 1;
|
|
letter-spacing: -0.04em;
|
|
user-select: none;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.status-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
.dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #f59e0b;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.4; transform: scale(0.75); }
|
|
}
|
|
.status-label {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: #f59e0b;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: #e4e4e7;
|
|
letter-spacing: -0.02em;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
p {
|
|
font-size: 0.9375rem;
|
|
max-width: 38ch;
|
|
line-height: 1.65;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.75rem;
|
|
justify-content: center;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 0.625rem 1.5rem;
|
|
border-radius: 0.5rem;
|
|
background: #f59e0b;
|
|
color: #000;
|
|
font-weight: 600;
|
|
font-size: 0.875rem;
|
|
text-decoration: none;
|
|
transition: background 0.15s;
|
|
}
|
|
.btn:hover { background: #d97706; }
|
|
|
|
.btn-secondary {
|
|
background: transparent;
|
|
color: #a1a1aa;
|
|
border: 1px solid #27272a;
|
|
cursor: pointer;
|
|
}
|
|
.btn-secondary:hover { background: #18181b; color: #e4e4e7; }
|
|
|
|
.refresh-note {
|
|
margin-top: 1.25rem;
|
|
font-size: 0.8rem;
|
|
color: #52525b;
|
|
}
|
|
#countdown { color: #71717a; }
|
|
|
|
footer {
|
|
padding: 1.5rem 2rem;
|
|
border-top: 1px solid #27272a;
|
|
text-align: center;
|
|
font-size: 0.8rem;
|
|
color: #3f3f46;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<header>
|
|
<a class="logo" href="/">libnovel</a>
|
|
</header>
|
|
|
|
<main>
|
|
<!-- Book with lightning bolt SVG -->
|
|
<svg class="illustration" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
|
<!-- Book cover -->
|
|
<rect x="14" y="12" width="50" height="68" rx="4" fill="#27272a" stroke="#3f3f46" stroke-width="1.5"/>
|
|
<!-- Spine -->
|
|
<rect x="10" y="12" width="8" height="68" rx="2" fill="#18181b" stroke="#3f3f46" stroke-width="1.5"/>
|
|
<!-- Pages edge -->
|
|
<rect x="62" y="14" width="4" height="64" rx="1" fill="#1c1c1f"/>
|
|
<!-- Lightning bolt -->
|
|
<path d="M44 22 L34 46 H42 L36 70 L58 42 H48 L56 22 Z" fill="#f59e0b" opacity="0.9"/>
|
|
<!-- Text lines -->
|
|
<rect x="22" y="58" width="28" height="2.5" rx="1.25" fill="#3f3f46"/>
|
|
<rect x="22" y="63" width="18" height="2.5" rx="1.25" fill="#3f3f46"/>
|
|
<rect x="22" y="68" width="24" height="2.5" rx="1.25" fill="#3f3f46"/>
|
|
</svg>
|
|
|
|
<div class="watermark">500</div>
|
|
|
|
<div class="status-row">
|
|
<div class="dot"></div>
|
|
<span class="status-label">Internal error</span>
|
|
</div>
|
|
|
|
<h1>Something went wrong</h1>
|
|
<p>An unexpected error occurred on our end. We're on it — try again in a moment.</p>
|
|
|
|
<div class="actions">
|
|
<a class="btn" href="/">Go home</a>
|
|
<button class="btn btn-secondary" onclick="location.reload()">Retry</button>
|
|
</div>
|
|
|
|
<p class="refresh-note">Auto-refreshing in <span id="countdown">20</span>s</p>
|
|
</main>
|
|
|
|
<footer>
|
|
© LibNovel
|
|
</footer>
|
|
|
|
<script>
|
|
var s = 20;
|
|
var el = document.getElementById('countdown');
|
|
var t = setInterval(function () {
|
|
s--;
|
|
el.textContent = s;
|
|
if (s <= 0) { clearInterval(t); location.reload(); }
|
|
}, 1000);
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|