Merge pull request #1 from handsomezhuzhu/v0/kdaugh14-4907-5f74c627

feat: Enhance site navigation and server infrastructure
This commit is contained in:
Simon
2026-01-28 22:26:29 +08:00
committed by GitHub

View File

@@ -82,14 +82,14 @@ const categories: Category[] = [
{
domain: "api-proxy.zhuzihan.com",
name: "AI API转发",
server: ["狐蒂云-美国", "Google-Iowa", "Google-Oregon"],
server: ["狐蒂云-美国", "Google-Iowa", "Google-Oregon", "Google-Taiwan"],
cdn: "ESA API加速",
url: "https://api-proxy.zhuzihan.com",
},
{
domain: "ai-proxy.zhuzihan.com",
name: "AI API转发",
server: ["狐蒂云-美国", "Google-Iowa", "Google-Oregon"],
server: ["狐蒂云-美国", "Google-Iowa", "Google-Oregon", "Google-Taiwan"],
cdn: "ESA API加速",
url: "https://ai-proxy.zhuzihan.com",
},
@@ -117,7 +117,7 @@ const categories: Category[] = [
{
domain: "health.zhuzihan.com/status/ai",
name: "AI服务状态查询",
server: "青云",
server: "青云",
cdn: "ESA加速",
url: "https://health.zhuzihan.com/status/ai",
},
@@ -157,8 +157,8 @@ const categories: Category[] = [
},
{
domain: "qzy.zhuzihan.com",
name: "青云管理后台",
server: "青云",
name: "青云管理后台",
server: "青云",
cdn: "无加速",
url: "https://qzy.zhuzihan.com",
},
@@ -176,6 +176,13 @@ const categories: Category[] = [
cdn: "无加速",
url: "https://google2.zhuzihan.com",
},
{
domain: "google3.zhuzihan.com",
name: "Google-Taiwan管理后台",
server: "Google-Taiwan",
cdn: "无加速",
url: "https://google3.zhuzihan.com",
},
{
domain: "hdy.zhuzihan.com",
name: "狐蒂云-日本管理后台",
@@ -292,7 +299,9 @@ const categories: Category[] = [
]
function getCdnBadgeStyle(cdn: string) {
if (cdn.includes("EdgeOne")) return "bg-emerald-500/20 text-emerald-400"
if (cdn.includes("EdgeOne Pages")) return "bg-emerald-500/20 text-emerald-400"
if (cdn.includes("EdgeOne")) return "bg-green-500/20 text-green-400"
if (cdn.includes("ESA API")) return "bg-indigo-500/20 text-indigo-400"
if (cdn.includes("ESA")) return "bg-sky-500/20 text-sky-400"
if (cdn.includes("Vercel")) return "bg-foreground/10 text-foreground"
return "bg-muted text-muted-foreground"
@@ -306,11 +315,14 @@ function getServerBadgeStyle(server: string) {
if (server.includes("火山")) return "bg-amber-500/20 text-amber-400"
if (server.includes("Vercel") || server.includes("v0")) return "bg-foreground/10 text-foreground"
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("EdgeOne Pages")) return "bg-emerald-500/20 text-emerald-400"
if (server.includes("EdgeOne")) return "bg-green-500/20 text-green-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-violet-500/20 text-violet-400"
if (server.includes("Google-Iowa") || server.includes("Google-Oregon")) return "bg-green-500/20 text-green-400"
if (server.includes("Google-Iowa")) return "bg-green-500/20 text-green-400"
if (server.includes("Google-Oregon")) return "bg-teal-500/20 text-teal-400"
if (server.includes("Google-Taiwan")) return "bg-cyan-500/20 text-cyan-400"
return "bg-muted text-muted-foreground"
}