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
This commit is contained in:
@@ -23,6 +23,7 @@ const SITES_ROOT = path.join(REPO_ROOT, "sites");
|
||||
// ====================================================================
|
||||
const SITES = {
|
||||
"ai-stack": {
|
||||
authVariant: "glass",
|
||||
themeClass: "site-ai-stack",
|
||||
brandZh: {
|
||||
name: "AI Stack",
|
||||
@@ -92,6 +93,7 @@ const SITES = {
|
||||
},
|
||||
},
|
||||
launchai: {
|
||||
authVariant: "gradient",
|
||||
themeClass: "site-launchai",
|
||||
brandZh: {
|
||||
name: "LaunchAI",
|
||||
@@ -159,6 +161,7 @@ const SITES = {
|
||||
},
|
||||
},
|
||||
"the-ai-ledger": {
|
||||
authVariant: "editorial",
|
||||
themeClass: "site-the-ai-ledger",
|
||||
brandZh: {
|
||||
name: "The AI Ledger",
|
||||
@@ -227,6 +230,7 @@ const SITES = {
|
||||
},
|
||||
},
|
||||
"devai-tools": {
|
||||
authVariant: "terminal",
|
||||
themeClass: "site-devai-tools",
|
||||
brandZh: {
|
||||
name: "DevAI.tools",
|
||||
@@ -293,6 +297,7 @@ const SITES = {
|
||||
},
|
||||
},
|
||||
findai: {
|
||||
authVariant: "minimal",
|
||||
themeClass: "site-findai",
|
||||
brandZh: {
|
||||
name: "findai",
|
||||
@@ -776,6 +781,7 @@ NEXT_PUBLIC_APP_URL="http://localhost:${site.port}"
|
||||
NEXT_PUBLIC_APP_NAME="${site.brand.name}"
|
||||
# 登录页品牌模板(分栏侧栏颜色与标语)
|
||||
NEXT_PUBLIC_AUTH_ACCENT="${site.accent}"
|
||||
NEXT_PUBLIC_AUTH_VARIANT="${site.authVariant}"
|
||||
NEXT_PUBLIC_AUTH_BRAND_TAGLINE="${site.brand.tagline}"
|
||||
# 开发阶段免邮箱验证(生产置 false 发送真实验证邮件)
|
||||
DEV_SKIP_EMAIL_VERIFY="true"
|
||||
|
||||
Reference in New Issue
Block a user