Register and OTP (#31)

* 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
This commit is contained in:
Naufal Azmi
2025-05-26 20:49:57 +07:00
committed by GitHub
parent 0f46244d2b
commit aaf5b4262d
14 changed files with 273 additions and 90 deletions
@@ -1,9 +1,15 @@
import { FC, ReactElement } from 'react';
import { FC, ReactElement, useEffect } from 'react';
import { RegisterResetBanner } from '@imphnen-frontend-service/ui/organisms';
import { Button } from '@imphnen-frontend-service/ui/atoms';
import { ArrowRightOutlined } from '@ant-design/icons';
export const Components: FC = (): ReactElement => {
useEffect(() => {
setTimeout(() => {
document.location.href = "/auth/login"
}, 10000)
}, [])
return (
<div className="flex flex-col justify-center items-center min-h-screen py-[60px] px-[80px]">
<div className="bg-white xl:min-w-[1220px] min-h-[712px] p-10 rounded-2xl shadow-md flex gap-6">
@@ -41,10 +47,12 @@ export const Components: FC = (): ReactElement => {
<h4 className="mt-10 text-primary-500 font-medium text-xl">
Kamu akan memasuki isekai dalam 10 dtk
</h4>
<Button className="gap-3 mt-10" size="lg">
Masuk Isekai
<ArrowRightOutlined />
</Button>
<a href="/auth/login">
<Button className="gap-3 mt-10" size="lg">
Masuk Isekai
<ArrowRightOutlined />
</Button>
</a>
</div>
</div>
</div>