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:
1 parent
7e196be56d
commit
aab2f8cb4a
4 files changed
+43
-4
No files matched your search
@@ -233,7 +233,11 @@ export default function AppShell({ user, children }: { user: CurrentUser; childr
|
||||
<IconMenu2 size={20} />
|
||||
</button>
|
||||
<h1 className="navbar-brand navbar-brand-autodark">
|
||||
<NavLink to="/">Homelab Manager</NavLink>
|
||||
<NavLink to="/" aria-label="Homelab Manager">
|
||||
<span className="logo-frame">
|
||||
<img src="/logo.webp" alt="Homelab Manager" width={901} height={460} />
|
||||
</span>
|
||||
</NavLink>
|
||||
{environment?.name && <span className="badge ms-2 env-badge">{environment.name}</span>}
|
||||
</h1>
|
||||
<div className={`navbar-collapse collapse ${sidebarOpen ? "show" : ""}`}>
|
||||
|
||||
Reference in new issue
Block a user