mirror of
https://github.com/handsomezhuzhu/personal-navigation-site.git
synced 2026-02-20 19:50:16 +00:00
feat: distinguish FoxCloud servers by color
Assign pink for FoxCloud Japan and violet for FoxCloud US. Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com>
This commit is contained in:
@@ -79,6 +79,20 @@ const categories: Category[] = [
|
||||
cdn: "EdgeOne加速",
|
||||
url: "https://load.zhuzihan.com",
|
||||
},
|
||||
{
|
||||
domain: "api-proxy.zhuzihan.com",
|
||||
name: "AI API转发",
|
||||
server: "狐蒂云-美国",
|
||||
cdn: "ESA API加速",
|
||||
url: "https://api-proxy.zhuzihan.com",
|
||||
},
|
||||
{
|
||||
domain: "ai-proxy.zhuzihan.com",
|
||||
name: "AI API转发",
|
||||
server: "狐蒂云-美国",
|
||||
cdn: "ESA API加速",
|
||||
url: "https://ai-proxy.zhuzihan.com",
|
||||
},
|
||||
{
|
||||
domain: "crs.zhuzihan.com",
|
||||
name: "Claude轮训",
|
||||
@@ -273,7 +287,8 @@ function getServerBadgeStyle(server: string) {
|
||||
if (server.includes("GitHub")) return "bg-foreground/10 text-foreground"
|
||||
if (server.includes("EdgeOne")) return "bg-emerald-500/20 text-emerald-400"
|
||||
if (server.includes("网易") || server.includes("企业邮箱")) return "bg-red-500/20 text-red-400"
|
||||
if (server.includes("狐蒂")) return "bg-pink-500/20 text-pink-400"
|
||||
if (server.includes("狐蒂云-日本")) return "bg-pink-500/20 text-pink-400"
|
||||
if (server.includes("狐蒂云-美国")) return "bg-violet-500/20 text-violet-400"
|
||||
return "bg-muted text-muted-foreground"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user