feat: 深度设计五站视觉语言 + 语言路由修复

- 语言路由:localeDetection 关闭,/ 固定英文、/zh 固定中文,URL 决定语言
  (不再按 cookie/Accept-Language 自动跳转;语言切换器显式切换不受影响)
- 五站独立视觉语言(data-theme 驱动的设计系统层):
  · AI Stack:深蓝渐变 Hero + 统计条 + 卡片左色条 hover(专业 SaaS)
  · LaunchAI:橙色渐变 Banner + 斜切底边 + 暖白底(活力社区)
  · The AI Ledger:黑色报头日期条 + 衬线字体 + 直角 + 双细线 + 报纸排版(媒体)
  · DevAI.tools:全站深色 + 等宽字体 + 终端 Hero + 扫描线纹理 + 系统状态条(终端)
  · findai:纯白极简 + 紫色聚焦光圈 + 无界卡片(搜索引擎)
- 修复 :first-of-type 误伤(hero 样式收敛到专用 class)
This commit is contained in:
AI Directory Platform
2026-09-09 19:22:58 +00:00
parent 5cc4195d68
commit 6baf0246d2
20 changed files with 360 additions and 15 deletions
+5
View File
@@ -23,6 +23,7 @@ const SITES_ROOT = path.join(REPO_ROOT, "sites");
// ====================================================================
const SITES = {
"ai-stack": {
themeClass: "site-ai-stack",
brandZh: {
name: "AI Stack",
tagline: "由真实用户排名的专业 AI 工具目录。",
@@ -91,6 +92,7 @@ const SITES = {
},
},
launchai: {
themeClass: "site-launchai",
brandZh: {
name: "LaunchAI",
tagline: "发现并投票今日的 AI 新品。",
@@ -157,6 +159,7 @@ const SITES = {
},
},
"the-ai-ledger": {
themeClass: "site-the-ai-ledger",
brandZh: {
name: "The AI Ledger",
tagline: "独立 AI 报道,附社区排名目录。",
@@ -224,6 +227,7 @@ const SITES = {
},
},
"devai-tools": {
themeClass: "site-devai-tools",
brandZh: {
name: "DevAI.tools",
tagline: "面向开发者的 AI 工具——精选、实测、社区排名。",
@@ -289,6 +293,7 @@ const SITES = {
},
},
findai: {
themeClass: "site-findai",
brandZh: {
name: "findai",
tagline: "极简 AI 工具搜索引擎。",