fix design register + and link to old version
This commit is contained in:
+2
-1
@@ -41,7 +41,8 @@
|
||||
"mobile_number": "شماره موبایل",
|
||||
"enter_mobile_number": "شماره موبایل خود را وارد کنید",
|
||||
"try_again": "ارسال مجدد",
|
||||
"toast_resend_code": "کد جدیدی برای شما ارسال شد"
|
||||
"toast_resend_code": "کد جدیدی برای شما ارسال شد",
|
||||
"old_version": "نسخه قدیمی داشبورد"
|
||||
},
|
||||
"errors": {
|
||||
"required": "این فیلد اجباری می باشد",
|
||||
|
||||
@@ -21,12 +21,13 @@ const Register: FC = () => {
|
||||
<div className='flex-1 min-w-[50%] overflow-y-auto bg-white lg:px-9 px-4 py-7'>
|
||||
<div className='flex-1 h-full flex flex-col'>
|
||||
|
||||
<div className='flex relative flex-1 flex-col justify-center'>
|
||||
|
||||
<div className='flex relative flex-1 flex-col h-full justify-center'>
|
||||
<img src={LogoSmallImage} className='w-8 hidden xl:block' />
|
||||
<div className=''>
|
||||
<img src={LogoImage} className='w-44 mx-auto my-20 xl:hidden' />
|
||||
</div>
|
||||
<div className='flex-1'>
|
||||
<div className=''>
|
||||
<div className='mt-5'>
|
||||
<h2 className='text-2xl font-bold'>
|
||||
{t('auth.welcome')}
|
||||
|
||||
@@ -13,6 +13,7 @@ import { isEmail } from '../../../config/func'
|
||||
import { useCheckHasAccount, useLoginWithOtp } from '../hooks/useAuthData'
|
||||
import { toast } from 'react-toastify'
|
||||
import { ErrorType } from '../../../helpers/types'
|
||||
import { ArrowLeft } from 'iconsax-react'
|
||||
|
||||
const LoginStep1: FC = () => {
|
||||
|
||||
@@ -102,6 +103,13 @@ const LoginStep1: FC = () => {
|
||||
<div>{t('auth.register')}</div>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
<a href='https://accounts.danakcorp.com' target='_blank' className='mt-4 flex gap-1 text-sm justify-center text-description'>
|
||||
<div>
|
||||
{t('auth.old_version')}
|
||||
</div>
|
||||
<ArrowLeft size={20} color='black' />
|
||||
</a>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user