mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-07-26 11:49:16 +00:00
refactor: replace PNG logos with SVG (#1559)
Swap sencho-logo PNGs for SVGs in frontend/public. Update all references in index.html, SidebarBrand.tsx, and README.md.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<div align="center">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="frontend/public/sencho-logo-dark.png">
|
||||
<img src="frontend/public/sencho-logo-light.png" alt="Sencho" width="220">
|
||||
<source media="(prefers-color-scheme: dark)" srcset="frontend/public/sencho-logo-dark.svg">
|
||||
<img src="frontend/public/sencho-logo-light.svg" alt="Sencho" width="220">
|
||||
</picture>
|
||||
|
||||
### Self-hosted Docker Compose management for one machine or a fleet.
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="/sencho-logo-dark.png" media="(prefers-color-scheme: dark)" />
|
||||
<link rel="icon" type="image/png" href="/sencho-logo-light.png" media="(prefers-color-scheme: light)" />
|
||||
<link rel="apple-touch-icon" href="/sencho-logo-light.png" />
|
||||
<link rel="icon" type="image/svg+xml" href="/sencho-logo-dark.svg" media="(prefers-color-scheme: dark)" />
|
||||
<link rel="icon" type="image/svg+xml" href="/sencho-logo-light.svg" media="(prefers-color-scheme: light)" />
|
||||
<link rel="apple-touch-icon" href="/sencho-logo-light.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Sencho</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.8 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 9.6 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 14 KiB |
@@ -6,7 +6,7 @@ export function SidebarBrand({ isDarkMode }: SidebarBrandProps) {
|
||||
return (
|
||||
<div className="flex items-center justify-center gap-3 px-4 h-14 border-b border-glass-border">
|
||||
<img
|
||||
src={isDarkMode ? '/sencho-logo-dark.png' : '/sencho-logo-light.png'}
|
||||
src={isDarkMode ? '/sencho-logo-dark.svg' : '/sencho-logo-light.svg'}
|
||||
alt=""
|
||||
className="w-9 h-9 shrink-0"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user