From bc9a0fd74050d64570f2c10285b531330c497fa9 Mon Sep 17 00:00:00 2001 From: Hafid Nur Date: Thu, 27 Mar 2025 15:06:30 +0700 Subject: [PATCH] feat: Another page template - Template untuk page Data Akun dan Validasi Transaksi --- apps/backoffice/src/app/accounts/layout.tsx | 18 ++++++++++++++++++ apps/backoffice/src/app/accounts/page.tsx | 17 +++++++++++++++++ .../src/app/transactions/layout.tsx | 18 ++++++++++++++++++ apps/backoffice/src/app/transactions/page.tsx | 19 +++++++++++++++++++ .../backoffice-sidebar/backoffice-sidebar.tsx | 2 +- 5 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 apps/backoffice/src/app/accounts/layout.tsx create mode 100644 apps/backoffice/src/app/accounts/page.tsx create mode 100644 apps/backoffice/src/app/transactions/layout.tsx create mode 100644 apps/backoffice/src/app/transactions/page.tsx diff --git a/apps/backoffice/src/app/accounts/layout.tsx b/apps/backoffice/src/app/accounts/layout.tsx new file mode 100644 index 0000000..423168f --- /dev/null +++ b/apps/backoffice/src/app/accounts/layout.tsx @@ -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 ( +
+
+ +
+ +
+
+
+ ); +}; + +export default AppLayout; diff --git a/apps/backoffice/src/app/accounts/page.tsx b/apps/backoffice/src/app/accounts/page.tsx new file mode 100644 index 0000000..ffa154e --- /dev/null +++ b/apps/backoffice/src/app/accounts/page.tsx @@ -0,0 +1,17 @@ +import { FC, ReactElement } from 'react'; + +export const Components: FC = (): ReactElement => { + return ( +
+ {/* Dashboard Header */} +
+

Data Akun

+
+ + {/* Transaction Table Section */} +
+
+ ); +}; + +export default Components; diff --git a/apps/backoffice/src/app/transactions/layout.tsx b/apps/backoffice/src/app/transactions/layout.tsx new file mode 100644 index 0000000..423168f --- /dev/null +++ b/apps/backoffice/src/app/transactions/layout.tsx @@ -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 ( +
+
+ +
+ +
+
+
+ ); +}; + +export default AppLayout; diff --git a/apps/backoffice/src/app/transactions/page.tsx b/apps/backoffice/src/app/transactions/page.tsx new file mode 100644 index 0000000..cd1c262 --- /dev/null +++ b/apps/backoffice/src/app/transactions/page.tsx @@ -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 ( +
+ {/* Dashboard Header */} +
+

Validasi Transaksi

+
+ + {/* Accounts Table Section */} +
+
+ ); +}; + +export default Components; diff --git a/libs/ui/src/organisms/backoffice-sidebar/backoffice-sidebar.tsx b/libs/ui/src/organisms/backoffice-sidebar/backoffice-sidebar.tsx index a5e9b7a..d894144 100644 --- a/libs/ui/src/organisms/backoffice-sidebar/backoffice-sidebar.tsx +++ b/libs/ui/src/organisms/backoffice-sidebar/backoffice-sidebar.tsx @@ -33,7 +33,7 @@ export const BackofficeSidebar: FC = (): ReactElement => {