Files
ai-directory-platform/sites/the-ai-ledger/src/site/brand.tsx
T
AI Directory Platform 3fddde470b feat: 五站五种登录页设计(去 shadcn 默认味)+ 语言路由确认
- FormShell 重写为六种布局变体,五站各用一种:
  · AI Stack  = glass      深蓝渐变全屏 + 玻璃拟态浮动卡片
  · LaunchAI  = gradient   橙色渐变全屏 + 白色大圆角卡片
  · The AI Ledger = editorial 报纸头版:双细线报头(日期/品牌/标语衬线居中)
                            + 下划线输入 + 方角大写 tracking 黑按钮
  · DevAI.tools = terminal 深色终端窗口(三色标题栏 + $ devai.tools auth --login)
                            + 等宽输入 + 绿底黑字命令按钮
  · findai    = minimal    纯白居中 + 大圆角浅灰输入 + 紫色按钮
- 输入框/标签/社交按钮按 data-theme 形态变化(auth 路由注入 data-theme)
- 修复 FormShell 各变体根元素缺 w-full(被 auth flex 容器挤压成 1/3 宽)
- 回归:五站构建 OK / mock 登录 OK
2026-09-09 20:06:10 +00:00

127 lines
2.8 KiB
TypeScript

import type { SiteConfig } from "@/kit/types";
// The AI Ledger —— 独立站点的全部品牌/导航/页脚配置
export const siteConfig: SiteConfig = {
"authVariant": "editorial",
"themeClass": "site-the-ai-ledger",
"brandZh": {
"name": "The AI Ledger",
"tagline": "独立 AI 报道,附社区排名目录。",
"headline": "AI 工具,评测与排名",
"subheadline": "指南、对比,以及由社区驱动的最佳 AI 工具目录。",
"nav": [
"文章",
"指南",
"最佳推荐",
"目录",
"排行榜",
"提交"
],
"footer": [
"阅读",
"目录",
"公司"
],
"searchPlaceholder": "搜索目录..."
},
"accent": "36 70% 40%",
"port": 3003,
"brand": {
"name": "The AI Ledger",
"tagline": "Independent journalism on AI tools, with a community-ranked directory.",
"headline": "AI tools, reviewed and ranked",
"subheadline": "Guides, comparisons and a community-powered directory of the best AI tools."
},
"navItems": [
{
"label": "Stories",
"href": "/blog"
},
{
"label": "Guides",
"href": "/ai-tools-for"
},
{
"label": "Best Picks",
"href": "/best"
},
{
"label": "Directory",
"href": "/tools"
},
{
"label": "Rankings",
"href": "/rankings"
},
{
"label": "Submit",
"href": "/submit"
}
],
"footerGroups": [
{
"title": "Read",
"links": [
{
"label": "Latest Stories",
"href": "/blog"
},
{
"label": "Buying Guides",
"href": "/best"
},
{
"label": "Use Case Guides",
"href": "/ai-tools-for"
}
]
},
{
"title": "Directory",
"links": [
{
"label": "All Tools",
"href": "/tools"
},
{
"label": "Community Rankings",
"href": "/rankings"
},
{
"label": "Submit a Tool",
"href": "/submit"
}
]
},
{
"title": "Company",
"links": [
{
"label": "Contact",
"href": "/contact"
},
{
"label": "Terms",
"href": "/terms"
},
{
"label": "Privacy",
"href": "/privacy"
}
]
}
],
"searchPlaceholder": "Search the directory...",
"seo": {
"en": {
"title": "The AI Ledger — AI Tools, Reviewed and Ranked",
"description": "Independent journalism on AI: buying guides, comparisons and a community-ranked directory of the best AI tools."
},
"zh": {
"title": "The AI Ledger — AI 工具评测与排名",
"description": "独立 AI 媒体:深度指南、横向对比,以及由社区排名的 AI 工具目录。"
}
},
"id": "the-ai-ledger"
};