page signin & signup

This commit is contained in:
Ehsan
2024-06-24 03:41:03 +03:30
parent a5b4179135
commit 2e561762fa
6 changed files with 38 additions and 6 deletions
+11 -3
View File
@@ -1,11 +1,19 @@
import RegisterPage from '@/components/register'
import SignInPage from '@/components/register/signin'
'use client';
import RegisterPage from '@/components/register';
import SetCodePage from '@/components/register/SetCodePage';
import SignInPage from '@/components/register/SignInPage';
import { useState } from 'react';
function SignIn() {
const [isSendMsg, setIsSendMsg] = useState(false);
return (
<div>
<RegisterPage>
<SignInPage />
{isSendMsg ?
<SetCodePage /> :
<SignInPage />}
</RegisterPage>
</div>
)