Show the Homelab Manager logo on the sign-in page and in the sidebar

The logo replaces the plain-text title on the sign-in card and in the sidebar
(and the top bar on phones). The picture's empty margin is trimmed with CSS so
the logo fills the space; an environment badge, when set, sits beside or under
it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-10-13 22:59:57 +02:00
1 parent 7e196be56d
commit aab2f8cb4a
4 files changed
+43 -4

No files matched your search

+5 -3
View File
@@ -5,9 +5,11 @@ export default function Login() {
return (
<div className="login-screen">
<div className={`login-card ${environment ? "login-card-env" : ""}`}>
<h1>
Homelab Manager
{environment?.name && <span className="badge ms-2 env-badge">{environment.name}</span>}
<h1 className="login-logo">
<span className="logo-frame">
<img src="/logo.webp" alt="Homelab Manager" width={901} height={460} />
</span>
{environment?.name && <span className="badge env-badge">{environment.name}</span>}
</h1>
<p>Sign in with your homelab identity provider to continue.</p>
<a className="btn btn-primary w-100" href="/auth/login">