feat: Another page template

- Template untuk page Data Akun dan Validasi Transaksi
This commit is contained in:
Hafid Nur
2025-03-27 15:06:30 +07:00
parent 7f9a106fca
commit bc9a0fd740
5 changed files with 73 additions and 1 deletions
@@ -0,0 +1,18 @@
import { FC, ReactElement } from 'react';
import { Outlet } from 'react-router-dom';
import { BackofficeSidebar } from '@imphnen-frontend-service/ui/organisms';
export const AppLayout: FC = (): ReactElement => {
return (
<div className="bg-primary-50 min-h-screen flex justify-center">
<div className="bg-primary-50 min-h-screen max-w-[1280px] w-full flex">
<BackofficeSidebar />
<div className="flex-1 overflow-auto">
<Outlet />
</div>
</div>
</div>
);
};
export default AppLayout;
+17
View File
@@ -0,0 +1,17 @@
import { FC, ReactElement } from 'react';
export const Components: FC = (): ReactElement => {
return (
<main className="w-full px-[48px] py-[40px] flex flex-col gap-8">
{/* Dashboard Header */}
<header className="bg-white py-4 px-8 rounded-md shadow p-4">
<h1 className="text-p2 font-semibold">Data Akun</h1>
</header>
{/* Transaction Table Section */}
<div className="flex justify-between gap-[40px] p-8 bg-white rounded-md"></div>
</main>
);
};
export default Components;
@@ -0,0 +1,18 @@
import { FC, ReactElement } from 'react';
import { Outlet } from 'react-router-dom';
import { BackofficeSidebar } from '@imphnen-frontend-service/ui/organisms';
export const AppLayout: FC = (): ReactElement => {
return (
<div className="bg-primary-50 min-h-screen flex justify-center">
<div className="bg-primary-50 min-h-screen max-w-[1280px] w-full flex">
<BackofficeSidebar />
<div className="flex-1 overflow-auto">
<Outlet />
</div>
</div>
</div>
);
};
export default AppLayout;
@@ -0,0 +1,19 @@
import { ArrowDownOutlined, PlusOutlined } from '@ant-design/icons';
import { Button } from '@imphnen-frontend-service/ui/atoms';
import { FC, ReactElement } from 'react';
export const Components: FC = (): ReactElement => {
return (
<main className="w-full px-[48px] py-[40px] flex flex-col gap-8">
{/* Dashboard Header */}
<header className="bg-white py-4 px-8 rounded-md shadow p-4">
<h1 className="text-p2 font-semibold">Validasi Transaksi</h1>
</header>
{/* Accounts Table Section */}
<div className="flex justify-between gap-[40px] p-8 bg-white rounded-md"></div>
</main>
);
};
export default Components;