Mentor Register Page (#48)

* feat: responsive

* fix: success register

* feat: auth login responsive && auth login implementation

* fix: login page button disabled & register page

* fix: conflict

* fix: button disabled when loading

* feat: register and otp integration

* Update middleware.ts

* feat: OTP Resend

* fix: minor

* stash

* feat: mentor register pages

* feat: mentor status page pending and success
This commit is contained in:
Naufal Azmi
2025-07-13 03:40:23 +07:00
committed by GitHub
parent dcd4ef88d6
commit 228f92e9ed
21 changed files with 609 additions and 8 deletions
@@ -32,7 +32,7 @@ export const Components: FC = (): ReactElement => {
const m = Math.floor(seconds / 60);
const s = seconds % 60;
return `${m}:${s.toString().padStart(2, '0')}`;
};
};
return (
<div className='flex flex-col justify-center items-center min-h-screen py-[60px] px-[80px]'>
@@ -51,7 +51,7 @@ export const Components: FC = (): ReactElement => {
name={'otp'}
maxLength={6}
control={form.control}
/>
/>
<Button type="button" className="mt-2" disabled={disabled} onClick={
() => {
resendOTP({email: searchParams.get("email") || ""})