Add logo count display to header for improved user information

This commit is contained in:
sHa
2025-04-30 16:49:26 +03:00
parent a999f219d4
commit ed5cde4db5

View File

@@ -194,6 +194,7 @@
<header class="main-header">
<div class="header-row">
<h1>Logo Gallery</h1>
<span class="logo-count">{logos.length} images in gallery</span>
<div class="theme-switcher">
<div class="theme-switch-group">
<button on:click={() => setTheme('system')} class:active={theme === 'system'} aria-label="System theme">
@@ -327,6 +328,16 @@
font-weight: 700;
}
.logo-count {
font-family: system-ui, Arial, sans-serif;
font-size: 0.6rem;
font-weight: normal;
color: var(--color-text, #444);
margin-left: 1rem;
align-self: center;
opacity: 0.7;
}
.search-bar {
margin-bottom: 0;
width: 100%;