-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.container { | ||
padding-top: 30px !important; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,30 @@ | ||
import { Divider, Typography } from 'antd'; | ||
import classNames from 'classnames'; | ||
import Link from 'next/link'; | ||
|
||
import Providers from '@/components/providers'; | ||
|
||
import { SignupForm } from './form'; | ||
import styles from './index.module.scss'; | ||
|
||
export default async function RegisterPage({ searchParams }) { | ||
const { callbackUrl } = await searchParams; | ||
|
||
export default function RegisterPage() { | ||
return ( | ||
<div className="auth-form"> | ||
<> | ||
<h1>注册</h1> | ||
<SignupForm /> | ||
</div> | ||
<div className={classNames('account-container', styles.container)}> | ||
<SignupForm /> | ||
|
||
<Typography> | ||
已有账号? | ||
<Link href="/signin">立即登录</Link> | ||
</Typography> | ||
|
||
<Divider plain>其他登录方式</Divider> | ||
|
||
<Providers callbackUrl={callbackUrl} /> | ||
</div> | ||
</> | ||
); | ||
} |