feat: add DoctorIcon component and integrate it into dashboard reports

This commit is contained in:
Ardeman
2025-02-24 09:31:48 +08:00
parent 4d7fa04d91
commit ca0dfbc5f8
4 changed files with 58 additions and 45 deletions
+10 -7
View File
@@ -1,20 +1,23 @@
import { DoctorIcon } from '~/components/icons/doctor'
import { GraphIcon } from '~/components/icons/graph'
export const REPORT = [
{ title: 'Total Transaksi', amount: 10_800_000_000, icon: 'money' },
{ title: 'Transaksi Tertagih', amount: 2_000_000, icon: 'money' },
{ title: 'Transaksi Tertagih', amount: 2_000_000, icon: 'money' },
{ title: 'Total Transaksi', amount: 10_800_000_000, icon: GraphIcon },
{ title: 'Transaksi Tertagih', amount: 2_000_000, icon: GraphIcon },
{ title: 'Transaksi Tertagih', amount: 2_000_000, icon: GraphIcon },
]
export const HISTORY = [
{
title: 'Total Kunjungan',
total: 1_000_000,
icon: 'money',
amount: 2890,
icon: GraphIcon,
counter: [2190, 700],
},
{
title: 'Total User Memesan',
total: 274,
icon: 'money',
amount: 274,
icon: DoctorIcon,
counter: [211, 54],
},
]