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>
)