feat: ship native boss android console

This commit is contained in:
kris
2026-03-26 23:16:56 +08:00
parent 90e904814d
commit 90cb6b7ff1
261 changed files with 40051 additions and 135 deletions

View File

@@ -0,0 +1,17 @@
import { AppShell, AuthForm, PageNav, StatusBar } from "@/components/app-ui";
import { redirectIfAuthenticated } from "@/lib/boss-auth";
export default async function ForgotPasswordPage() {
await redirectIfAuthenticated();
return (
<AppShell bottomNav={false}>
<StatusBar />
<PageNav title="忘记密码" backHref="/auth/login" />
<AuthForm
mode="forgot-password"
title="重置登录密码"
description="通过验证码确认身份后,才能设置新的登录密码。验证码带有效期,使用后会立即失效。"
/>
</AppShell>
);
}

View File

@@ -0,0 +1,26 @@
import { AppShell, PageNav, StatusBar } from "@/components/app-ui";
export default function AuthHelpPage() {
return (
<AppShell bottomNav={false}>
<StatusBar />
<PageNav title="登录帮助" backHref="/auth/login" />
<div className="space-y-3 px-[18px] pb-6">
<div className="rounded-2xl border border-[#E5E5EA] bg-white px-4 py-4 text-[13px] leading-6 text-[#57606A]">
</div>
<div className="rounded-2xl border border-[#E5E5EA] bg-white px-4 py-4 text-[13px] leading-6 text-[#57606A]">
`17600003315`
<br />
`boss123456`
<br />
`最高管理员`
</div>
<div className="rounded-2xl bg-[#EAF7F0] px-4 py-4 text-[13px] leading-6 text-[#215B39]">
`000000` MVP
/
</div>
</div>
</AppShell>
);
}

View File

@@ -0,0 +1,17 @@
import { AppShell, AuthForm, PageNav, StatusBar } from "@/components/app-ui";
import { redirectIfAuthenticated } from "@/lib/boss-auth";
export default async function LoginPage() {
await redirectIfAuthenticated();
return (
<AppShell bottomNav={false}>
<StatusBar />
<PageNav title="登录" rightLabel="帮助" rightHref="/auth/help" />
<AuthForm
mode="login"
title="登录 Codex 协同"
description="当前已临时切到免验证登录模式,点击登录会直接进入会话首页。账号密码和验证码输入暂时不作为拦截条件。"
/>
</AppShell>
);
}

View File

@@ -0,0 +1,17 @@
import { AppShell, AuthForm, PageNav, StatusBar } from "@/components/app-ui";
import { redirectIfAuthenticated } from "@/lib/boss-auth";
export default async function RegisterPage() {
await redirectIfAuthenticated();
return (
<AppShell bottomNav={false}>
<StatusBar />
<PageNav title="注册" backHref="/auth/login" />
<AuthForm
mode="register"
title="创建账号"
description="注册后可绑定自己的 Mac、Windows 或云端 Codex 节点。注册仍通过验证码确认身份,验证码会校验发送频率并在使用后失效。"
/>
</AppShell>
);
}