mirror of
https://github.com/handsomezhuzhu/personal-navigation-site.git
synced 2026-02-20 19:50:16 +00:00
Compare commits
9 Commits
v0/kdaugh1
...
5355b6e04e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5355b6e04e | ||
|
|
800a61a837 | ||
|
|
e9184dfca3 | ||
|
|
e8932dc080 | ||
|
|
7db48b99aa | ||
|
|
723aa11344 | ||
|
|
867a850f43 | ||
|
|
9503eb4c5c | ||
|
|
7898615906 |
@@ -67,8 +67,8 @@ const categories: Category[] = [
|
||||
},
|
||||
{
|
||||
domain: "api.zhuzihan.com",
|
||||
name: "New-API",
|
||||
server: "DigitalOcean",
|
||||
name: "NEW-API",
|
||||
server: "狐蒂云-日本",
|
||||
cdn: "无加速",
|
||||
url: "https://api.zhuzihan.com",
|
||||
},
|
||||
@@ -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",
|
||||
},
|
||||
@@ -114,13 +114,6 @@ const categories: Category[] = [
|
||||
cdn: "EdgeOne加速",
|
||||
url: "https://api-test.zhuzihan.com",
|
||||
},
|
||||
{
|
||||
domain: "health.zhuzihan.com/status/ai",
|
||||
name: "AI服务状态查询",
|
||||
server: "青竹云",
|
||||
cdn: "ESA加速",
|
||||
url: "https://health.zhuzihan.com/status/ai",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -157,8 +150,8 @@ const categories: Category[] = [
|
||||
},
|
||||
{
|
||||
domain: "qzy.zhuzihan.com",
|
||||
name: "青竹云管理后台",
|
||||
server: "青竹云",
|
||||
name: "青瑞云管理后台",
|
||||
server: "青瑞云",
|
||||
cdn: "无加速",
|
||||
url: "https://qzy.zhuzihan.com",
|
||||
},
|
||||
@@ -176,6 +169,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 +292,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 +308,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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user