fix(web): 项目主图标统一替换为昔涟3rd_Form-Cyrene-3F-Q-Happy-1.png
- favicon/apple-touch-icon (index.html) - PWA manifest 图标 (manifest.json) - PWA precache (sw.js) - 用户端侧栏品牌头像 (Nav.tsx) - 管理面板顶栏品牌头像 (AdminApp.tsx) - 删除已被替换的 icon.svg 残留引用
This commit is contained in:
1 parent
bcf7fe5de0
commit
fe5dbcddba
6 files changed
+9
-20
No files matched your search
@@ -6,8 +6,8 @@
|
||||
<meta name="theme-color" content="#161616" />
|
||||
<meta name="description" content="Cyrene v2 用户前端(M9 模态 UI)" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<link rel="icon" type="image/png" href="/images/Cyrene_Avatar/2nd_Form/Cyrene-2F-N-Happy-1-192x192.png" />
|
||||
<link rel="apple-touch-icon" href="/images/Cyrene_Avatar/2nd_Form/Cyrene-2F-N-Happy-1-192x192.png" />
|
||||
<link rel="icon" type="image/png" href="/images/Cyrene_Avatar/3rd_Form/Cyrene-3F-Q-Happy-1.png" />
|
||||
<link rel="apple-touch-icon" href="/images/Cyrene_Avatar/3rd_Form/Cyrene-3F-Q-Happy-1.png" />
|
||||
<title>Cyrene · 昔涟</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="48" height="48">
|
||||
<defs>
|
||||
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0" stop-color="#3d6bff" />
|
||||
<stop offset="1" stop-color="#6a8dff" />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect x="4" y="4" width="40" height="40" rx="12" fill="url(#g)" />
|
||||
<circle cx="24" cy="24" r="10" fill="#0c0c0c" />
|
||||
<circle cx="24" cy="24" r="4" fill="#f5f5f7" />
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 452 B |
@@ -9,10 +9,10 @@
|
||||
"orientation": "any",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/icon.svg",
|
||||
"type": "image/svg+xml",
|
||||
"sizes": "any",
|
||||
"purpose": "any maskable"
|
||||
"src": "/images/Cyrene_Avatar/3rd_Form/Cyrene-3F-Q-Happy-1.png",
|
||||
"type": "image/png",
|
||||
"sizes": "1500x1500",
|
||||
"purpose": "any"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
/* Cyrene v2 PWA service worker — core-resource caching + offline shell. */
|
||||
const CACHE = "cyrene-web-v1";
|
||||
const PRECACHE = ["/", "/index.html", "/manifest.json", "/icon.svg"];
|
||||
const PRECACHE = ["/", "/index.html", "/manifest.json", "/images/Cyrene_Avatar/3rd_Form/Cyrene-3F-Q-Happy-1.png"];
|
||||
|
||||
self.addEventListener("install", (event) => {
|
||||
event.waitUntil(
|
||||
|
||||
@@ -138,7 +138,7 @@ function AdminTopBar({ section, onMenu }: { section: AdminSectionId; onMenu?: ()
|
||||
</button>
|
||||
) : null}
|
||||
<div className="flex min-w-0 items-center gap-2">
|
||||
<img src="/images/Cyrene_Avatar/2nd_Form/Cyrene-2F-N-Happy-1-192x192.png" alt="Cyrene" className="h-7 w-7 shrink-0 rounded-full object-cover" />
|
||||
<img src="/images/Cyrene_Avatar/3rd_Form/Cyrene-3F-Q-Happy-1.png" alt="Cyrene" className="h-7 w-7 shrink-0 rounded-full object-cover" />
|
||||
<div className="min-w-0 leading-tight">
|
||||
<div className="truncate whitespace-nowrap text-sm font-semibold">Cyrene · 管理面板</div>
|
||||
<div className="truncate whitespace-nowrap text-[11px] text-[var(--mu-text-lo)]">{meta?.label ?? "仪表盘"}</div>
|
||||
|
||||
@@ -68,7 +68,7 @@ function NavContent({ onNavigate }: { onNavigate: () => void }): React.ReactNode
|
||||
return (
|
||||
<>
|
||||
<div className="flex items-center gap-2 px-2 py-2">
|
||||
<img src="/images/Cyrene_Avatar/2nd_Form/Cyrene-2F-N-Happy-1-192x192.png" alt="Cyrene" className="h-7 w-7 rounded-full object-cover" />
|
||||
<img src="/images/Cyrene_Avatar/3rd_Form/Cyrene-3F-Q-Happy-1.png" alt="Cyrene" className="h-7 w-7 rounded-full object-cover" />
|
||||
<div className="leading-tight">
|
||||
<div className="text-sm font-semibold">Cyrene</div>
|
||||
<div className="text-[11px] text-[var(--mu-text-lo)]">昔涟</div>
|
||||
|
||||
Reference in new issue
Block a user