Use the current logo as favicon, add a new compact site logo
The original logo.png (the full illustrated artwork) is now generated
into a proper favicon set (favicon.ico, 16/32/48px PNGs, apple-touch-
icon) and wired up via <link rel="icon"> tags - it was never used as
the browser tab icon before.
logo.png itself doesn't work as the actual site logo in the sidebar/
navbar: at 56px/40px tall it's illegible (dense illustration + small
wordmark). There's no image-generation tool available in this session,
so instead of a new illustrated piece, added assets/images/logo-mark.svg:
a hand-built vector wordmark ("LUMINA" + a gold sunburst/wing emblem
with a small center gem) in the site's existing gold/dark palette,
echoing the wings/sigil/gem motifs of the original artwork but
designed to stay crisp at small sizes. Replaces logo.png in both
sidebar-brand and navbar-brand; the original PNG is left in place
unreferenced, still the source the favicons were generated from.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
42ebc82e63
commit
976c0e23b2
7 changed files with 39 additions and 2 deletions
BIN
assets/images/apple-touch-icon.png
Normal file
BIN
assets/images/apple-touch-icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 79 KiB |
BIN
assets/images/favicon-16.png
Normal file
BIN
assets/images/favicon-16.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 851 B |
BIN
assets/images/favicon-32.png
Normal file
BIN
assets/images/favicon-32.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/images/favicon-48.png
Normal file
BIN
assets/images/favicon-48.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
BIN
assets/images/favicon.ico
Normal file
BIN
assets/images/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 873 B |
32
assets/images/logo-mark.svg
Normal file
32
assets/images/logo-mark.svg
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 80">
|
||||
<defs>
|
||||
<linearGradient id="goldFill" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stop-color="#f1cf6b"/>
|
||||
<stop offset="55%" stop-color="#c9a227"/>
|
||||
<stop offset="100%" stop-color="#8a6d1a"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="goldFillSoft" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stop-color="#e0b930"/>
|
||||
<stop offset="100%" stop-color="#a5811f"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
|
||||
<!-- Wings -->
|
||||
<g fill="url(#goldFill)">
|
||||
<path d="M38,38 Q20,14 2,14 Q14,26 38,42 Z"/>
|
||||
<path d="M38,42 Q16,32 0,36 Q14,42 38,46 Z" fill="url(#goldFillSoft)"/>
|
||||
<path d="M38,46 Q18,44 6,58 Q20,52 38,50 Z"/>
|
||||
</g>
|
||||
<g fill="url(#goldFill)" transform="translate(80,0) scale(-1,1)">
|
||||
<path d="M38,38 Q20,14 2,14 Q14,26 38,42 Z"/>
|
||||
<path d="M38,42 Q16,32 0,36 Q14,42 38,46 Z" fill="url(#goldFillSoft)"/>
|
||||
<path d="M38,46 Q18,44 6,58 Q20,52 38,50 Z"/>
|
||||
</g>
|
||||
|
||||
<!-- Central blade -->
|
||||
<path d="M40,8 L46,40 L40,72 L34,40 Z" fill="url(#goldFill)"/>
|
||||
<circle cx="40" cy="40" r="4.5" fill="#fff3d0" stroke="#8a6d1a" stroke-width="1"/>
|
||||
|
||||
<!-- Wordmark -->
|
||||
<text x="92" y="48" font-family="'Segoe UI', Roboto, Arial, sans-serif" font-size="34" font-weight="700" letter-spacing="2" fill="url(#goldFill)">LUMINA</text>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
|
@ -40,13 +40,18 @@ $pageBackgroundClass = $pageBackgrounds[$currentScript] ?? '';
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="csrf-token" content="<?= e(csrf_token()) ?>">
|
||||
<title><?= e(($pageTitle ?? '') !== '' ? $pageTitle . ' - Aion2 Gilde' : 'Aion2 Gilde') ?></title>
|
||||
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/assets/images/favicon-16.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicon-32.png">
|
||||
<link rel="icon" type="image/png" sizes="48x48" href="/assets/images/favicon-48.png">
|
||||
<link rel="apple-touch-icon" href="/assets/images/apple-touch-icon.png">
|
||||
<link rel="stylesheet" href="/assets/css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<?php if ($currentUser): ?>
|
||||
<div class="app-shell">
|
||||
<aside class="sidebar">
|
||||
<div class="sidebar-brand"><a href="/"><img src="/assets/images/logo.png" alt="Aion2 Gilde"></a></div>
|
||||
<div class="sidebar-brand"><a href="/"><img src="/assets/images/logo-mark.svg" 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>
|
||||
|
|
@ -100,7 +105,7 @@ $pageBackgroundClass = $pageBackgrounds[$currentScript] ?? '';
|
|||
<?php endforeach; ?>
|
||||
<?php else: ?>
|
||||
<header class="navbar">
|
||||
<div class="navbar-brand"><a href="/"><img src="/assets/images/logo.png" alt="Aion2 Gilde"></a></div>
|
||||
<div class="navbar-brand"><a href="/"><img src="/assets/images/logo-mark.svg" alt="Aion2 Gilde"></a></div>
|
||||
<div class="navbar-user">
|
||||
<a href="/login.php">Login</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue