fix(ui): use local QQ favicon for qqbot logo

This commit is contained in:
xmanrui
2026-03-07 03:09:43 +08:00
parent 9ac7b6f473
commit c605b49bf8
3 changed files with 2 additions and 16 deletions
+2 -2
View File
@@ -177,8 +177,8 @@ function PlatformBadge({
badgeStyle: "bg-green-500/20 text-green-300 border border-green-500/30 hover:bg-green-500/40 hover:border-green-400",
},
qqbot: {
remoteLogoSrc: "https://cdn.simpleicons.org/qq/12B7F5",
logoFallbackSrc: "/assets/platform-logos/qq.svg",
remoteLogoSrc: "/assets/platform-logos/qq-favicon.ico?v=1",
logoFallbackSrc: "/assets/platform-logos/qq-favicon.ico?v=1",
badgeStyle: "bg-blue-500/20 text-blue-300 border border-blue-500/30 hover:bg-blue-500/40 hover:border-blue-400",
},
};
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

-14
View File
@@ -1,14 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="QQ logo">
<circle cx="32" cy="32" r="30" fill="#12B7F5"/>
<ellipse cx="32" cy="33" rx="16" ry="19" fill="#1F1F1F"/>
<ellipse cx="32" cy="39.5" rx="9.5" ry="11.5" fill="#FFFFFF"/>
<ellipse cx="32" cy="20.5" rx="11.5" ry="9.5" fill="#1F1F1F"/>
<ellipse cx="27.2" cy="22" rx="3.4" ry="4.2" fill="#FFFFFF"/>
<ellipse cx="36.8" cy="22" rx="3.4" ry="4.2" fill="#FFFFFF"/>
<circle cx="27.2" cy="22.4" r="1.5" fill="#1F1F1F"/>
<circle cx="36.8" cy="22.4" r="1.5" fill="#1F1F1F"/>
<path d="M28.8 28.2h6.4l-3.2 3.2z" fill="#F6C045"/>
<path d="M21.5 30.7c4 1.8 7.6 2.7 10.5 2.7s6.5-.9 10.5-2.7c1.2-.5 2.1.8 1.5 1.9l-2.8 4.8H22.8L20 32.6c-.6-1.1.3-2.4 1.5-1.9z" fill="#E53935"/>
<ellipse cx="25.5" cy="52" rx="4.2" ry="2.5" fill="#F6C045"/>
<ellipse cx="38.5" cy="52" rx="4.2" ry="2.5" fill="#F6C045"/>
</svg>

Before

Width:  |  Height:  |  Size: 905 B