mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-12 18:26:36 +08:00
[重构] 前端改造v1
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
import { PublicShell } from '@/components/layout/public-shell';
|
||||
|
||||
interface PublicLayoutProps {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
export default function PublicLayout({ children }: PublicLayoutProps) {
|
||||
return <PublicShell>{children}</PublicShell>;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { PublicRoutePlaceholder } from '@/features/auth/components/public-route-placeholder';
|
||||
|
||||
export default function LoginPage() {
|
||||
return (
|
||||
<PublicRoutePlaceholder
|
||||
title='登录页占位'
|
||||
description='阶段 2 将在此接入真实登录表单、Session 兼容与登录后跳转。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { PublicRoutePlaceholder } from '@/features/auth/components/public-route-placeholder';
|
||||
|
||||
export default function GithubOAuthPage() {
|
||||
return (
|
||||
<PublicRoutePlaceholder
|
||||
title='GitHub OAuth 回调占位'
|
||||
description='阶段 2 将在此接入授权回调处理、状态提示与跳转逻辑。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { PublicRoutePlaceholder } from '@/features/auth/components/public-route-placeholder';
|
||||
|
||||
export default function RegisterPage() {
|
||||
return (
|
||||
<PublicRoutePlaceholder
|
||||
title='注册页占位'
|
||||
description='阶段 2 将在此接入注册表单、字段校验与提交流程。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { PublicRoutePlaceholder } from '@/features/auth/components/public-route-placeholder';
|
||||
|
||||
export default function ResetPasswordPage() {
|
||||
return (
|
||||
<PublicRoutePlaceholder
|
||||
title='重置密码页占位'
|
||||
description='阶段 2 将在此接入找回密码与重置流程。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user