feat: backoffice login page
This commit is contained in:
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 351 KiB |
@@ -1,11 +1,9 @@
|
|||||||
import { FC, ReactElement } from 'react';
|
import { FC, ReactElement } from 'react';
|
||||||
import { Outlet } from 'react-router-dom';
|
import { Outlet } from 'react-router-dom';
|
||||||
import { Navbar } from '@imphnen-frontend-service/ui/organisms';
|
|
||||||
|
|
||||||
export const AppLayout: FC = (): ReactElement => {
|
export const AppLayout: FC = (): ReactElement => {
|
||||||
return (
|
return (
|
||||||
<main className="bg-primary-50 min-h-screen">
|
<main className="bg-primary-50 min-h-screen">
|
||||||
<Navbar />
|
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
import { FC, ReactElement } from 'react';
|
||||||
|
import {
|
||||||
|
Input,
|
||||||
|
Button,
|
||||||
|
PasswordInput,
|
||||||
|
} from '@imphnen-frontend-service/ui/atoms';
|
||||||
|
|
||||||
|
export const Components: FC = (): ReactElement => {
|
||||||
|
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 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>
|
||||||
|
<div className="flex gap-[8px] flex-col">
|
||||||
|
<div className="self-start text-p3 font-medium">Email</div>
|
||||||
|
<Input placeholder="Masukkan Email" type="email" size="lg" />
|
||||||
|
</div>
|
||||||
|
<div className="flex gap-[8px] flex-col">
|
||||||
|
<div className="self-start text-p3 font-medium">Password</div>
|
||||||
|
<PasswordInput placeholder="Masukkan Password" size="lg" />
|
||||||
|
</div>
|
||||||
|
<Button>Login</Button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Components;
|
||||||
Reference in New Issue
Block a user