diff --git a/apps/backoffice/public/gacha-clip.png b/apps/backoffice/public/gacha-clip.png deleted file mode 100644 index 9fe05c0..0000000 Binary files a/apps/backoffice/public/gacha-clip.png and /dev/null differ diff --git a/apps/backoffice/public/gacha-clip.webp b/apps/backoffice/public/gacha-clip.webp new file mode 100644 index 0000000..65f37d3 Binary files /dev/null and b/apps/backoffice/public/gacha-clip.webp differ diff --git a/apps/backoffice/public/gacha.png b/apps/backoffice/public/gacha.png deleted file mode 100644 index 04a57c3..0000000 Binary files a/apps/backoffice/public/gacha.png and /dev/null differ diff --git a/apps/backoffice/public/gacha.webp b/apps/backoffice/public/gacha.webp new file mode 100644 index 0000000..b41964e Binary files /dev/null and b/apps/backoffice/public/gacha.webp differ diff --git a/apps/backoffice/src/app/accounts/layout.tsx b/apps/backoffice/src/app/accounts/layout.tsx index 5d2c643..a770c99 100644 --- a/apps/backoffice/src/app/accounts/layout.tsx +++ b/apps/backoffice/src/app/accounts/layout.tsx @@ -7,7 +7,7 @@ export const AppLayout: FC = (): ReactElement => {
-
+
diff --git a/apps/backoffice/src/app/dashboard/layout.tsx b/apps/backoffice/src/app/dashboard/layout.tsx index 5d2c643..a770c99 100644 --- a/apps/backoffice/src/app/dashboard/layout.tsx +++ b/apps/backoffice/src/app/dashboard/layout.tsx @@ -7,7 +7,7 @@ export const AppLayout: FC = (): ReactElement => {
-
+
diff --git a/apps/backoffice/src/app/dashboard/page.tsx b/apps/backoffice/src/app/dashboard/page.tsx index d1f76c6..09fc3ba 100644 --- a/apps/backoffice/src/app/dashboard/page.tsx +++ b/apps/backoffice/src/app/dashboard/page.tsx @@ -1,4 +1,10 @@ -import { ArrowDownOutlined, PlusOutlined } from '@ant-design/icons'; +import { + PlusOutlined, + ReloadOutlined, + UsergroupAddOutlined, + UsergroupDeleteOutlined, + UserSwitchOutlined, +} from '@ant-design/icons'; import { Button } from '@imphnen-frontend-service/ui/atoms'; import { FC, ReactElement } from 'react'; @@ -18,23 +24,51 @@ export const Components: FC = (): ReactElement => { Summary
- {/* Summary Cards */} - {[1, 2, 3, 4].map((item) => ( -
-
- -
-
-

1000

-

- Total Participants -

-
+ {/* Participants */} +
+
+
- ))} +
+

1000

+

Participants

+
+
+ + {/* Roll and Reroll */} +
+
+ +
+
+

1000

+

+ Roll and Reroll +

+
+
+ + {/* Redeem */} +
+
+ +
+
+

1000

+

Redeem

+
+
+ + {/* Inactive Users */} +
+
+ +
+
+

1000

+

Inactive Users

+
+
@@ -78,7 +112,7 @@ export const Components: FC = (): ReactElement => { @@ -87,7 +121,7 @@ export const Components: FC = (): ReactElement => { {/* Lebih baik gunakan gambar yang sudah di-clip dengan size height: 78px daripada hard-code object-position dan margin */} Lanyard IMPHNEN @@ -99,7 +133,7 @@ export const Components: FC = (): ReactElement => { {/* Right-side illustration */} diff --git a/apps/backoffice/src/app/transactions/layout.tsx b/apps/backoffice/src/app/transactions/layout.tsx index 5d2c643..a770c99 100644 --- a/apps/backoffice/src/app/transactions/layout.tsx +++ b/apps/backoffice/src/app/transactions/layout.tsx @@ -7,7 +7,7 @@ export const AppLayout: FC = (): ReactElement => {
-
+
diff --git a/libs/ui/src/organisms/datatable/datatable.tsx b/libs/ui/src/organisms/datatable/datatable.tsx index dddbcf5..3a3a425 100644 --- a/libs/ui/src/organisms/datatable/datatable.tsx +++ b/libs/ui/src/organisms/datatable/datatable.tsx @@ -5,6 +5,7 @@ import { getPaginationRowModel, flexRender, ColumnDef, + Table, } from '@tanstack/react-table'; import { Pagination } from '../../molecules'; @@ -13,6 +14,7 @@ import React from 'react'; interface DataTableProps { data: T[]; columns: ColumnDef[]; + table: Table; pageSize?: number; }