This commit is contained in:
Devin Zuczek
2026-07-24 23:07:53 -04:00
parent 273d62ed80
commit beed8451d4
2 changed files with 26 additions and 8 deletions
+12 -8
View File
@@ -315,14 +315,18 @@ function About({ slides, error }: { slides: Slide[] | null; error: string }) {
View the source
</a>
</div>
<p className={`status ${state}`}>
<span className="dot" />
{state === 'online'
? 'Server online'
: state === 'down'
? 'Server unreachable'
: 'Checking the server'}
</p>
<div className="status-block">
<p className={`status ${state}`}>
<span className="dot" />
{state === 'online'
? 'Server online'
: state === 'down'
? 'Server unreachable'
: 'Checking the server'}
</p>
{/* Only when it's actually up: when it isn't, people want the status, not the joke. */}
{state === 'online' && <p className="status-quip">The cloud never goes down, right?</p>}
</div>
</div>
</section>
)
+14
View File
@@ -324,6 +324,20 @@ body {
gap: 12px;
}
.status-block {
display: flex;
flex-direction: column;
gap: 7px;
}
.status-quip {
margin: 0;
font-size: 0.8rem;
font-style: italic;
color: var(--muted);
opacity: 0.8;
}
/* Status of the actual server, not decoration — see About. */
.status {
display: inline-flex;