From a46f3510213100c5e2dec5153d3133648c5e4384 Mon Sep 17 00:00:00 2001 From: v0 Date: Fri, 20 Mar 2026 10:50:57 +0000 Subject: [PATCH] feat: update AI API proxy servers and add label for Oracle Change server list and style label for Oracle server. Co-authored-by: Simon <85533298+handsomezhuzhu@users.noreply.github.com> --- components/site-navigation.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/site-navigation.tsx b/components/site-navigation.tsx index f50129d..5083f53 100644 --- a/components/site-navigation.tsx +++ b/components/site-navigation.tsx @@ -82,14 +82,14 @@ const categories: Category[] = [ { domain: "api-proxy.zhuzihan.com", name: "AI API转发", - server: ["狐蒂云-美国", "Google-Iowa", "Google-Oregon"], + server: ["Oracle", "Google-Iowa", "Google-Oregon"], cdn: "ESA API加速", url: "https://api-proxy.zhuzihan.com", }, { domain: "ai-proxy.zhuzihan.com", name: "AI API转发", - server: ["狐蒂云-美国", "Google-Iowa", "Google-Oregon"], + server: ["Oracle", "Google-Iowa", "Google-Oregon"], cdn: "ESA API加速", url: "https://ai-proxy.zhuzihan.com", }, @@ -337,6 +337,7 @@ function getCdnBadgeStyle(cdn: string) { } function getServerBadgeStyle(server: string) { + if (server.includes("Oracle")) return "bg-red-600/20 text-red-400" if (server.includes("DigitalOcean")) return "bg-blue-500/20 text-blue-400" if (server.includes("Azure")) return "bg-sky-500/20 text-sky-400" if (server.includes("华为")) return "bg-red-500/20 text-red-400"