change date-picker & add page login-verify & account & new user & payment
This commit is contained in:
@@ -1,12 +1,23 @@
|
||||
import Layout from '@/components/layout'
|
||||
import LoginVerifyPage from '@/components/loginVerify'
|
||||
import React from 'react'
|
||||
'use client';
|
||||
|
||||
import RegisterPage from '@/components/register';
|
||||
import SetCodePage from '@/components/register/SetCodePage';
|
||||
import SignInPage from '@/components/register/SignInPage';
|
||||
import { useState } from 'react';
|
||||
|
||||
function LoginVerify() {
|
||||
|
||||
const [isSendMsg, setIsSendMsg] = useState(false);
|
||||
|
||||
return (
|
||||
<Layout title='وبلاگ ها' name='blogs'>
|
||||
<LoginVerifyPage />
|
||||
</Layout>
|
||||
<RegisterPage>
|
||||
{isSendMsg ?
|
||||
<SetCodePage
|
||||
setIsSendMsg={setIsSendMsg}
|
||||
link={`/account/${localStorage.getItem('doctor-id')}`}
|
||||
/> :
|
||||
<SignInPage setIsSendMsg={setIsSendMsg} />}
|
||||
</RegisterPage>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user