fix design register + and link to old version
This commit is contained in:
+2
-1
@@ -41,7 +41,8 @@
|
|||||||
"mobile_number": "شماره موبایل",
|
"mobile_number": "شماره موبایل",
|
||||||
"enter_mobile_number": "شماره موبایل خود را وارد کنید",
|
"enter_mobile_number": "شماره موبایل خود را وارد کنید",
|
||||||
"try_again": "ارسال مجدد",
|
"try_again": "ارسال مجدد",
|
||||||
"toast_resend_code": "کد جدیدی برای شما ارسال شد"
|
"toast_resend_code": "کد جدیدی برای شما ارسال شد",
|
||||||
|
"old_version": "نسخه قدیمی داشبورد"
|
||||||
},
|
},
|
||||||
"errors": {
|
"errors": {
|
||||||
"required": "این فیلد اجباری می باشد",
|
"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 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-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' />
|
<img src={LogoSmallImage} className='w-8 hidden xl:block' />
|
||||||
<div className=''>
|
<div className=''>
|
||||||
<img src={LogoImage} className='w-44 mx-auto my-20 xl:hidden' />
|
<img src={LogoImage} className='w-44 mx-auto my-20 xl:hidden' />
|
||||||
</div>
|
</div>
|
||||||
<div className='flex-1'>
|
<div className=''>
|
||||||
<div className='mt-5'>
|
<div className='mt-5'>
|
||||||
<h2 className='text-2xl font-bold'>
|
<h2 className='text-2xl font-bold'>
|
||||||
{t('auth.welcome')}
|
{t('auth.welcome')}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import { isEmail } from '../../../config/func'
|
|||||||
import { useCheckHasAccount, useLoginWithOtp } from '../hooks/useAuthData'
|
import { useCheckHasAccount, useLoginWithOtp } from '../hooks/useAuthData'
|
||||||
import { toast } from 'react-toastify'
|
import { toast } from 'react-toastify'
|
||||||
import { ErrorType } from '../../../helpers/types'
|
import { ErrorType } from '../../../helpers/types'
|
||||||
|
import { ArrowLeft } from 'iconsax-react'
|
||||||
|
|
||||||
const LoginStep1: FC = () => {
|
const LoginStep1: FC = () => {
|
||||||
|
|
||||||
@@ -102,6 +103,13 @@ const LoginStep1: FC = () => {
|
|||||||
<div>{t('auth.register')}</div>
|
<div>{t('auth.register')}</div>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user