changes in otp page.
This commit is contained in:
parent
67bf293bef
commit
86187eaf8a
@ -191,21 +191,25 @@ const LoginPage = () => {
|
||||
</form>
|
||||
|
||||
{/* Footer Text */}
|
||||
<p className="text-center mt-3">
|
||||
<span>New on our platform? </span>
|
||||
{IsLoginWithOTP ? (
|
||||
{!IsLoginWithOTP ? (
|
||||
<p className="text-center mt-3">
|
||||
<span>New on our platform? </span>
|
||||
<Link to="/auth/reqest/demo" className="btn btn-link p-0">
|
||||
Request a Demo
|
||||
</Link>
|
||||
</p>
|
||||
) : (
|
||||
<div className="text-center mt-3">
|
||||
<button
|
||||
className="btn btn-link p-0"
|
||||
onClick={() => setLoginWithOtp(false)}
|
||||
>
|
||||
Login With Password
|
||||
<i className="bx bx-chevron-left scaleX-n1-rtl bx-sm"></i>
|
||||
Back to login
|
||||
</button>
|
||||
) : (
|
||||
<Link to="/auth/reqest/demo" className="btn btn-link p-0">
|
||||
Request a Demo
|
||||
</Link>
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user