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 {
|
.navbar-brand a {
|
||||||
|
display: block;
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: var(--gold);
|
color: var(--gold);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar-brand img {
|
||||||
|
display: block;
|
||||||
|
height: 40px;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.navbar-user {
|
.navbar-user {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
@ -78,6 +85,14 @@ a:hover { color: var(--gold-hover); text-decoration: underline; }
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sidebar-brand a { display: block; }
|
||||||
|
|
||||||
|
.sidebar-brand img {
|
||||||
|
display: block;
|
||||||
|
height: 56px;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.sidebar-brand a { color: var(--gold); }
|
.sidebar-brand a { color: var(--gold); }
|
||||||
|
|
||||||
.sidebar-nav {
|
.sidebar-nav {
|
||||||
|
|
@ -364,6 +379,7 @@ input:focus, select:focus, textarea:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-brand { padding: 0 0.75rem 0 0; }
|
.sidebar-brand { padding: 0 0.75rem 0 0; }
|
||||||
|
.sidebar-brand img { height: 32px; }
|
||||||
|
|
||||||
.sidebar-nav {
|
.sidebar-nav {
|
||||||
flex-direction: row;
|
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): ?>
|
<?php if ($currentUser): ?>
|
||||||
<div class="app-shell">
|
<div class="app-shell">
|
||||||
<aside class="sidebar">
|
<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">
|
<nav class="sidebar-nav">
|
||||||
<a href="/dashboard.php" class="sidebar-link<?= $isDashboardActive ? ' active' : '' ?>" title="Dashboard">
|
<a href="/dashboard.php" class="sidebar-link<?= $isDashboardActive ? ' active' : '' ?>" title="Dashboard">
|
||||||
<?= icon('home') ?><span class="label">Dashboard</span>
|
<?= 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 endforeach; ?>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<header class="navbar">
|
<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">
|
<div class="navbar-user">
|
||||||
<a href="/login.php">Login</a>
|
<a href="/login.php">Login</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue