Update WHM logo: new icon + "GNIZA Backup" text in nav

Replace old logo SVG with gniza.svg and render the icon alongside
"GNIZA Backup" text where "Backup" uses the icon's orange (#f47216).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shuki
2026-03-05 04:19:46 +02:00
parent e48907ecd4
commit ffd4792aa0
2 changed files with 14 additions and 25 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 369 KiB

After

Width:  |  Height:  |  Size: 685 B

View File

@@ -50,9 +50,12 @@ sub render_nav {
my ($current_page) = @_; my ($current_page) = @_;
my $logo = ''; my $logo = '';
if ($_logo_data_uri) { if ($_logo_data_uri) {
$logo = qq{<img src="$_logo_data_uri" alt="GNIZA" style="height:32px;width:auto">}; $logo = qq{<div class="flex items-center gap-2">}
. qq{<img src="$_logo_data_uri" alt="" style="height:32px;width:auto">}
. qq{<span style="font-size:1.4rem;font-weight:700;line-height:1">GNIZA <span style="color:#f47216">Backup</span></span>}
. qq{</div>};
} }
my $html = qq{<div class="flex items-center justify-center gap-3 mb-5">\n}; my $html = qq{<div class="flex items-center justify-center gap-4 mb-5">\n};
$html .= qq{ $logo\n} if $logo; $html .= qq{ $logo\n} if $logo;
$html .= qq{ <div role="tablist" class="tabs tabs-box tabs-lg">\n}; $html .= qq{ <div role="tablist" class="tabs tabs-box tabs-lg">\n};
for my $item (@NAV_ITEMS) { for my $item (@NAV_ITEMS) {