① 全局字号提升一档:body 基准 16.8px,14 个核心组件 99 处 text-xs/text-sm 放大 ② 五站五套登录模板:FormShell 品牌分栏布局(左品牌色侧栏+右表单), 每站独立 accent(近黑/橙红/纸墨棕/终端绿/紫),站点字标替换 Toolso.AI Logo; AuthLayout 简化为容器,布局职责下沉 FormShell ③ 第三方登录按钮:未配置 OAuth 凭据时显示 Google/GitHub 按钮, 走 /api/auth/mock-social 一键创建演示 session(生产配置凭据后自动 403 切真实流程); 按钮重设计为全宽方形(替换胶囊 Button) ④ 开发阶段免邮箱验证:better-auth databaseHooks 注册即 emailVerified=true, sendOnSignUp 仅生产开启;注册成功直接回跳原页面(跳过 check-email) 回归验证:字号 16.8px / 五站品牌色各异 / mock 登录闭环(投票→登录→回原页)/ 注册免验证直接进站(emailVerified=t + 跳首页)全部 PASS
109 lines
2.4 KiB
TypeScript
109 lines
2.4 KiB
TypeScript
import type { SiteConfig } from "@/kit/types";
|
|
|
|
// AI Stack —— 独立站点的全部品牌/导航/页脚配置
|
|
export const siteConfig: SiteConfig = {
|
|
"accent": "222 47% 11%",
|
|
"port": 3001,
|
|
"brand": {
|
|
"name": "AI Stack",
|
|
"tagline": "The professional AI tools directory — ranked by the community.",
|
|
"headline": "Find the best AI tools, ranked by real users",
|
|
"subheadline": "1,000+ AI tools across 14 categories. Compare votes, reviews and pricing to pick the right one."
|
|
},
|
|
"navItems": [
|
|
{
|
|
"label": "Discover",
|
|
"href": "/tools"
|
|
},
|
|
{
|
|
"label": "Use Cases",
|
|
"href": "/ai-tools-for"
|
|
},
|
|
{
|
|
"label": "Best Lists",
|
|
"href": "/best"
|
|
},
|
|
{
|
|
"label": "Rankings",
|
|
"href": "/rankings"
|
|
},
|
|
{
|
|
"label": "Blog",
|
|
"href": "/blog"
|
|
},
|
|
{
|
|
"label": "Submit",
|
|
"href": "/submit"
|
|
}
|
|
],
|
|
"footerGroups": [
|
|
{
|
|
"title": "Discover",
|
|
"links": [
|
|
{
|
|
"label": "All Tools",
|
|
"href": "/tools"
|
|
},
|
|
{
|
|
"label": "Use Cases",
|
|
"href": "/ai-tools-for"
|
|
},
|
|
{
|
|
"label": "Best Lists",
|
|
"href": "/best"
|
|
},
|
|
{
|
|
"label": "Rankings",
|
|
"href": "/rankings"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "Community",
|
|
"links": [
|
|
{
|
|
"label": "Submit a Tool",
|
|
"href": "/submit"
|
|
},
|
|
{
|
|
"label": "Blog",
|
|
"href": "/blog"
|
|
},
|
|
{
|
|
"label": "Dashboard",
|
|
"href": "/dashboard"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "Legal",
|
|
"links": [
|
|
{
|
|
"label": "Terms",
|
|
"href": "/terms"
|
|
},
|
|
{
|
|
"label": "Privacy",
|
|
"href": "/privacy"
|
|
},
|
|
{
|
|
"label": "Contact",
|
|
"href": "/contact"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"searchPlaceholder": "Search AI tools...",
|
|
"seo": {
|
|
"en": {
|
|
"title": "AI Stack — Find the Best AI Tools, Ranked by Real Users",
|
|
"description": "The professional AI tools directory. 1,000+ AI tools across 14 categories ranked by community votes, reviews and engagement."
|
|
},
|
|
"zh": {
|
|
"title": "AI Stack — 由真实用户排名的 AI 工具目录",
|
|
"description": "专业 AI 工具导航:14 个分类、1000+ 工具,由社区投票、评论与互动数据实时排名。"
|
|
}
|
|
},
|
|
"id": "ai-stack"
|
|
};
|