gcx/frontend/admin-web
hailin 34b85f68ae feat(admin-web): 登录页 + Auth Guard + API URL 切换域名
- 新建 /login 页面(邮箱/密码登录,对接 auth-context)
- AdminLayout 添加 auth guard:未登录自动跳转 /login
- api-client 默认 URL 从 localhost:8080 → https://api.gogenex.com
- Header 头像显示用户首字母,点击登出
- i18n 补充 header_logout (zh/en/ja)

API 联通验证(全部正常):
- POST /api/v1/auth/sms/send → 400 (手机号未注册)
- POST /api/v1/auth/login → 401 (密码错误)
- POST /api/v1/auth/register → 400 (验证码过期)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 02:57:45 -08:00
..
nginx chore: Switch domain from admin.gogenex.com to admin.gogenex.cn 2026-02-11 05:18:22 -08:00
public fix(branding): 统一Logo色调与App主色调 #6C5CE7 2026-02-23 18:12:35 -08:00
src feat(admin-web): 登录页 + Auth Guard + API URL 切换域名 2026-03-02 02:57:45 -08:00
.dockerignore chore: Add Next.js project config and app entry for admin-web 2026-02-11 01:35:19 -08:00
.env.development chore: Add Docker deployment config for admin-web 2026-02-11 01:22:22 -08:00
.env.production chore: Add Docker deployment config for admin-web 2026-02-11 01:22:22 -08:00
.gitignore chore: Add Next.js project config and app entry for admin-web 2026-02-11 01:35:19 -08:00
DEPLOY.md chore: Switch domain from admin.gogenex.com to admin.gogenex.cn 2026-02-11 05:18:22 -08:00
Dockerfile fix: Make Dockerfile tolerant of missing package-lock.json 2026-02-11 01:39:14 -08:00
deploy.sh chore: Switch domain from admin.gogenex.com to admin.gogenex.cn 2026-02-11 05:18:22 -08:00
docker-compose.yml chore: Add Docker deployment config for admin-web 2026-02-11 01:22:22 -08:00
next.config.ts chore: Add Next.js project config and app entry for admin-web 2026-02-11 01:35:19 -08:00
package-lock.json feat: Wire all view components to Next.js App Router routes 2026-02-11 05:37:28 -08:00
package.json chore: Add Next.js project config and app entry for admin-web 2026-02-11 01:35:19 -08:00
tsconfig.json chore: Add Next.js project config and app entry for admin-web 2026-02-11 01:35:19 -08:00