feat: add dashboard page and data structure for reporting
This commit is contained in:
parent
7b42f6bfe5
commit
712b9155d2
20
app/pages/dashboard/data.ts
Normal file
20
app/pages/dashboard/data.ts
Normal 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],
|
||||
},
|
||||
]
|
||||
7
app/pages/dashboard/index.tsx
Normal file
7
app/pages/dashboard/index.tsx
Normal file
@ -0,0 +1,7 @@
|
||||
export const DashboardPage = () => {
|
||||
return (
|
||||
<div className="relative">
|
||||
<h1>test DashboardPage</h1>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@ -1,4 +1,6 @@
|
||||
import { DashboardPage } from '~/pages/dashboard'
|
||||
|
||||
const DashboardIndexLayout = () => {
|
||||
return <div>Dashboard Page</div>
|
||||
return <DashboardPage />
|
||||
}
|
||||
export default DashboardIndexLayout
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user