mirror of
https://github.com/xmanrui/OpenClaw-bot-review.git
synced 2026-07-27 22:25:52 +00:00
feat: add yuanbao platform logo fallback
This commit is contained in:
@@ -168,6 +168,11 @@ function PlatformBadge({
|
||||
badgeStyle: "bg-blue-500/20 text-blue-300 border border-blue-500/30 hover:bg-blue-500/40 hover:border-blue-400",
|
||||
logoSizeClass: "w-[1.09375rem] h-[1.09375rem]",
|
||||
},
|
||||
yuanbao: {
|
||||
remoteLogoSrc: "https://cdn-hybrid-prod.hunyuan.tencent.com/manual/favicon.png",
|
||||
logoFallbackSrc: "/assets/platform-logos/yuanbao-favicon.png?v=1",
|
||||
badgeStyle: "bg-cyan-500/20 text-cyan-300 border border-cyan-500/30 hover:bg-cyan-500/40 hover:border-cyan-400",
|
||||
},
|
||||
discord: {
|
||||
remoteLogoSrc: "https://cdn.simpleicons.org/discord/5865F2",
|
||||
logoFallbackSrc: "/assets/platform-logos/discord.svg",
|
||||
|
||||
@@ -136,6 +136,7 @@ const translations: Record<Locale, Record<string, string>> = {
|
||||
|
||||
// platform
|
||||
"platform.feishu": "📱 飛書",
|
||||
"platform.yuanbao": "🤖 元宝",
|
||||
"platform.discord": "🎮 Discord",
|
||||
"platform.telegram": "✈️ Telegram",
|
||||
"platform.whatsapp": "💬 WhatsApp",
|
||||
@@ -422,6 +423,7 @@ const translations: Record<Locale, Record<string, string>> = {
|
||||
|
||||
// platform
|
||||
"platform.feishu": "📱 飞书",
|
||||
"platform.yuanbao": "🤖 元宝",
|
||||
"platform.discord": "🎮 Discord",
|
||||
"platform.telegram": "✈️ Telegram",
|
||||
"platform.whatsapp": "💬 WhatsApp",
|
||||
@@ -708,6 +710,7 @@ const translations: Record<Locale, Record<string, string>> = {
|
||||
|
||||
// platform
|
||||
"platform.feishu": "📱 Feishu",
|
||||
"platform.yuanbao": "🤖 Yuanbao",
|
||||
"platform.discord": "🎮 Discord",
|
||||
"platform.telegram": "✈️ Telegram",
|
||||
"platform.whatsapp": "💬 WhatsApp",
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 800 B |
Reference in New Issue
Block a user