Replace the "Aion2 Gilde" text brand with the guild logo image
Swaps the text link in the sidebar and the logged-out top bar for the logo at assets/images/logo.png, sized via CSS (56px in the sidebar, 40px in the top bar, 32px on the collapsed mobile bar). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
77bb1b3ff5
commit
00e52f2308
3 changed files with 18 additions and 2 deletions
|
|
@ -39,11 +39,18 @@ a:hover { color: var(--gold-hover); text-decoration: underline; }
|
|||
}
|
||||
|
||||
.navbar-brand a {
|
||||
display: block;
|
||||
font-size: 1.25rem;
|
||||
font-weight: bold;
|
||||
color: var(--gold);
|
||||
}
|
||||
|
||||
.navbar-brand img {
|
||||
display: block;
|
||||
height: 40px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.navbar-user {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -78,6 +85,14 @@ a:hover { color: var(--gold-hover); text-decoration: underline; }
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
.sidebar-brand a { display: block; }
|
||||
|
||||
.sidebar-brand img {
|
||||
display: block;
|
||||
height: 56px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.sidebar-brand a { color: var(--gold); }
|
||||
|
||||
.sidebar-nav {
|
||||
|
|
@ -364,6 +379,7 @@ input:focus, select:focus, textarea:focus {
|
|||
}
|
||||
|
||||
.sidebar-brand { padding: 0 0.75rem 0 0; }
|
||||
.sidebar-brand img { height: 32px; }
|
||||
|
||||
.sidebar-nav {
|
||||
flex-direction: row;
|
||||
|
|
|
|||
BIN
assets/images/logo.png
Normal file
BIN
assets/images/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1 MiB |
|
|
@ -22,7 +22,7 @@ $isRolesActive = in_array($currentScript, ['roles.php', 'role_form.php', 'role_d
|
|||
<?php if ($currentUser): ?>
|
||||
<div class="app-shell">
|
||||
<aside class="sidebar">
|
||||
<div class="sidebar-brand"><a href="/">Aion2 Gilde</a></div>
|
||||
<div class="sidebar-brand"><a href="/"><img src="/assets/images/logo.png" alt="Aion2 Gilde"></a></div>
|
||||
<nav class="sidebar-nav">
|
||||
<a href="/dashboard.php" class="sidebar-link<?= $isDashboardActive ? ' active' : '' ?>" title="Dashboard">
|
||||
<?= icon('home') ?><span class="label">Dashboard</span>
|
||||
|
|
@ -55,7 +55,7 @@ $isRolesActive = in_array($currentScript, ['roles.php', 'role_form.php', 'role_d
|
|||
<?php endforeach; ?>
|
||||
<?php else: ?>
|
||||
<header class="navbar">
|
||||
<div class="navbar-brand"><a href="/">Aion2 Gilde</a></div>
|
||||
<div class="navbar-brand"><a href="/"><img src="/assets/images/logo.png" alt="Aion2 Gilde"></a></div>
|
||||
<div class="navbar-user">
|
||||
<a href="/login.php">Login</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue