feat: add dashboard page and data structure for reporting

This commit is contained in:
fredy.siswanto 2025-02-23 21:13:31 +07:00
parent 7b42f6bfe5
commit 712b9155d2
3 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,20 @@
export const REPORT = [
{ title: 'Total Transaksi', amound: 1_000_000, icon: 'money' },
{ title: 'Transaksi Tertagih', amound: 2_000_000, icon: 'money' },
{ title: 'Transaksi Tertagih', amound: 2_000_000, icon: 'money' },
]
export const HISTORY = [
{
title: 'Total Kunjungan',
total: 1_000_000,
icon: 'money',
report: [2190, 700],
},
{
title: 'Total User Memesan',
total: 274,
icon: 'money',
report: [211, 54],
},
]

View File

@ -0,0 +1,7 @@
export const DashboardPage = () => {
return (
<div className="relative">
<h1>test DashboardPage</h1>
</div>
)
}

View File

@ -1,4 +1,6 @@
import { DashboardPage } from '~/pages/dashboard'
const DashboardIndexLayout = () => {
return <div>Dashboard Page</div>
return <DashboardPage />
}
export default DashboardIndexLayout