feat: login and register page

This commit is contained in:
Junyan Qin
2025-05-09 20:33:12 +08:00
parent b966f47acb
commit cf6076f504
14 changed files with 385 additions and 277 deletions
+3 -14
View File
@@ -1,7 +1,6 @@
'use client';
import React from 'react';
import { ConfigProvider, theme } from 'antd';
export default function LoginLayout({
children,
@@ -9,18 +8,8 @@ export default function LoginLayout({
children: React.ReactNode;
}>) {
return (
<ConfigProvider
theme={{
token: {
colorPrimary: '#2288ee',
borderRadius: 6,
},
algorithm: theme.defaultAlgorithm,
}}
>
<div style={{ width: '100%', height: '100%' }}>
<main style={{ width: '100%', height: '100%' }}>{children}</main>
</div>
</ConfigProvider>
<div className="min-h-screen bg-background">
<main className="min-h-screen">{children}</main>
</div>
);
}