Files
imphnen-frontend-service/apps/backoffice/src/app/page.tsx
T

37 lines
1.2 KiB
TypeScript
Raw Normal View History

2025-03-17 12:48:11 +07:00
import { FC, ReactElement } from 'react';
2025-03-27 22:28:40 +07:00
import { useNavigate } from 'react-router';
import { Button } from '@imphnen-frontend-service/ui/atoms';
import { InputForm } from '@imphnen-frontend-service/ui/molecules';
2025-03-17 09:39:04 +07:00
export const Components: FC = (): ReactElement => {
2025-03-27 22:28:40 +07:00
const navigate = useNavigate();
return (
<div className="flex justify-center items-center min-h-screen">
<div className="bg-white border border-primary-200 shadow-lg p-[60px] text-center flex flex-col justify-items-stretch gap-8 rounded-2xl">
<img src="/logos/logo.svg" alt="" className="h-[70px] w-auto" />
<h1 className="text-primary-500 text-p1 font-semibold">
Welcome to IMPHNEN Backoffice
</h1>
<InputForm
label="Email"
placeholder="Masukkan Email"
type="email"
size="lg"
2025-03-27 22:28:40 +07:00
className="w-full"
/>
<InputForm
label="Password"
placeholder="Masukkan password"
type="password"
size="lg"
2025-03-27 22:28:40 +07:00
className="w-full"
/>
2025-03-27 22:28:40 +07:00
<Button onClick={() => navigate('/dashboard')}>Login</Button>
</div>
</div>
);
2025-03-17 09:39:04 +07:00
};
export default Components;