feat: update sidebar logo to use custom logo.png
Build and Push Docker Image / build-and-push (push) Successful in 1m0s
Build and Push Docker Image / deploy (push) Successful in 7s

This commit is contained in:
nuyue
2026-07-12 19:54:58 +08:00
parent 692392bb64
commit d7716b463b
4 changed files with 6 additions and 30 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

+2 -10
View File
@@ -3,11 +3,7 @@
<aside class="sidebar" :class="{ collapsed: sidebarCollapsed, 'mobile-open': mobileMenuOpen }">
<div class="sidebar-header">
<div class="logo" @click="$router.push('/admin')">
<div class="logo-icon">
<svg viewBox="0 0 24 24" fill="currentColor" width="18" height="18">
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/>
</svg>
</div>
<img src="/logo.png" alt="Logo" class="logo-icon" />
<span class="logo-text">Admin</span>
</div>
</div>
@@ -272,11 +268,7 @@ function toggleFullscreen() {
width: 32px;
height: 32px;
border-radius: 8px;
background: linear-gradient(135deg, #4e6ef2, #7c5cfc);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
object-fit: contain;
flex-shrink: 0;
}
+2 -10
View File
@@ -3,11 +3,7 @@
<aside class="sidebar" :class="{ collapsed: sidebarCollapsed, 'mobile-open': mobileMenuOpen }">
<div class="sidebar-header">
<div class="logo" @click="$router.push('/supplier')">
<div class="logo-icon">
<svg viewBox="0 0 24 24" fill="currentColor" width="18" height="18">
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/>
</svg>
</div>
<img src="/logo.png" alt="Logo" class="logo-icon" />
<span class="logo-text">Supplier</span>
</div>
</div>
@@ -144,11 +140,7 @@ function handleCommand(command: string) {
width: 32px;
height: 32px;
border-radius: 8px;
background: linear-gradient(135deg, #4e6ef2, #7c5cfc);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
object-fit: contain;
flex-shrink: 0;
}
+2 -10
View File
@@ -3,11 +3,7 @@
<aside v-if="!hideSidebar" class="sidebar" :class="{ collapsed: sidebarCollapsed, 'mobile-open': mobileMenuOpen }">
<div class="sidebar-header">
<div class="logo" @click="$router.push('/')">
<div class="logo-icon">
<svg viewBox="0 0 24 24" fill="currentColor" width="18" height="18">
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/>
</svg>
</div>
<img src="/logo.png" alt="Logo" class="logo-icon" />
<span class="logo-text">Sale</span>
</div>
</div>
@@ -202,11 +198,7 @@ if (isLoggedIn.value) cartStore.fetchCart()
width: 32px;
height: 32px;
border-radius: 8px;
background: linear-gradient(135deg, #4e6ef2, #7c5cfc);
display: flex;
align-items: center;
justify-content: center;
color: #fff;
object-fit: contain;
flex-shrink: 0;
}