fix: seperated auth pages

This commit is contained in:
Mahyar Khanbolooki
2025-08-21 20:24:31 +03:30
parent 3cb48023b6
commit ef91469766
7 changed files with 787 additions and 195 deletions
@@ -5,6 +5,7 @@ import { EyeToggleIcon } from '@/components/icons/EyeToggleIcon'
import InputField from '@/components/input/InputField'
import { AUTH_PAGE_ELEMENT } from '@/enums'
import Image from 'next/image'
import Link from 'next/link'
import React, { useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next'
@@ -88,14 +89,14 @@ function StepEnterPassword ({
</button>
</InputField>
<div className='inline-flex justify-between items-center w-full pt-3'>
<button
<Link
href={'/auth/forgot-password'}
id={AUTH_PAGE_ELEMENT.RESET_PASSWORD}
type='button'
onClick={onClick}
className='text-sm2 cursor-pointer'
>
{t('EnterPass.ButtonRecover')}
</button>
</Link>
<div className='inline-flex justify-between items-center'>
{/* TODO: customize checkbox */}