changes in otp page.

This commit is contained in:
Kartik Sharma 2025-08-05 11:48:10 +05:30 committed by pramod mahajan
parent 67bf293bef
commit 86187eaf8a

View File

@ -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>
);