change date-picker & add page login-verify & account & new user & payment

This commit is contained in:
Ehsan
2024-08-26 20:04:33 +03:30
parent 31ed32fc21
commit 7925493681
34 changed files with 564 additions and 60 deletions
+17 -6
View File
@@ -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>
)
}