From f07ca66f3f2c76baac0cea072edd2dcb72e944e9 Mon Sep 17 00:00:00 2001 From: v0 Date: Thu, 8 Jan 2026 14:12:11 +0000 Subject: [PATCH] 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> --- components/site-navigation.tsx | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/components/site-navigation.tsx b/components/site-navigation.tsx index 7fc2d67..9325f49 100644 --- a/components/site-navigation.tsx +++ b/components/site-navigation.tsx @@ -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" }