feat(assets): replace logo image with SVG format and update favicon; adjust theme color in manifest

This commit is contained in:
hamed
2026-07-03 12:00:52 +03:30
parent 913a8c4bfa
commit 9cabdb33e8
9 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -453,7 +453,7 @@ export default function Sidebar({ mobileOpen: _m, onMobileClose: _c }: Props) {
{/* Brand */}
<div className="sidebar-brand">
<div className="brand-logo">
<img src="/logo.png" alt="Clinic Pro" className="brand-img" />
<img src="/logo.svg" alt="Clinic Pro" className="brand-img" />
</div>
<div className="brand-text">
<b>ClinicPro</b>
+1 -1
View File
@@ -187,7 +187,7 @@ export default function LoginPage() {
<div style={{ textAlign: 'center', marginBottom: 28 }}>
<div className="brand-logo" style={{ margin: '0 auto 16px', width: 54, height: 54, borderRadius: 16 }}>
<img src="/logo.png" alt="Clinic Pro" className="brand-img" />
<img src="/logo.svg" alt="Clinic Pro" className="brand-img" />
</div>
<h1 style={{ fontSize: 22, fontWeight: 800, marginBottom: 6 }}>ورود به پنل</h1>
<p className="muted" style={{ fontSize: 13 }}>
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="512" height="512">
<g fill="none">
<path d="M34.6 13.4 A15 15 0 1 0 34.6 34.6" stroke="#5559CE" stroke-width="9" stroke-linecap="butt"></path>
<line x1="24" y1="24" x2="33" y2="19.5" stroke="#FFB800" stroke-width="3.5" stroke-linecap="round"></line>
<circle cx="24" cy="24" r="2.8" fill="#5559CE"></circle>
</g>
</svg>

After

Width:  |  Height:  |  Size: 401 B

+1 -1
View File
@@ -6,7 +6,7 @@
"scope": "/admin",
"display": "standalone",
"orientation": "portrait-primary",
"theme_color": "#5b4fd8",
"theme_color": "#5559CE",
"background_color": "#f8fafc",
"lang": "fa",
"dir": "rtl",
+4 -2
View File
@@ -4,13 +4,15 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ClinicPro Admin</title>
<link rel="icon" type="image/svg+xml" href="/logo.svg">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png">
<link rel="manifest" href="/manifest.json">
<meta name="theme-color" content="#5b4fd8">
<meta name="theme-color" content="#5559CE">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="ClinicPro">
<link rel="apple-touch-icon" href="/logo.png">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100..900&display=swap" rel="stylesheet">