my ccompany + footer+ nofit + ...

This commit is contained in:
hamid zarghami
2025-05-21 15:54:02 +03:30
parent 70b7434a3e
commit 836c1168b2
50 changed files with 1137 additions and 5321 deletions
+2 -10
View File
@@ -8,12 +8,11 @@ import { useAuthStore } from '../store/AuthStore'
import Error from '../../../components/Error'
import Button from '../../../components/Button'
import { Link } from 'react-router-dom'
import { Pages } from '../../../config/Pages'
import { isEmail } from '../../../config/func'
import { useCheckHasAccount, useLoginWithOtp } from '../hooks/useAuthData'
import { ErrorType } from '../../../helpers/types'
import { ArrowLeft } from 'iconsax-react'
import { toast } from '../../../components/Toast'
import { buildPath } from '../../../helpers/utils'
const LoginStep1: FC = () => {
const { t } = useTranslation('global')
@@ -98,17 +97,10 @@ const LoginStep1: FC = () => {
<p className='text-description'>
{t('auth.have_account')}
</p>
<Link to={Pages.auth.register}>
<Link to={buildPath('auth/register')}>
<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>
)
}