feat: add views field to news response schema and update dashboard pages

This commit is contained in:
Ardeman
2025-03-24 15:45:43 +08:00
parent 1c33eba834
commit 65f7bbe0aa
4 changed files with 29 additions and 15 deletions
+6 -6
View File
@@ -1,11 +1,11 @@
import { ChartBarIcon, ChartPieIcon } from '@heroicons/react/24/solid'
export const REPORT = [
{ title: 'Total User', amount: 10_800, icon: ChartBarIcon },
{ title: 'Total User Subscribe', amount: 5000, icon: ChartBarIcon },
{ title: 'Total User', amount: 8, icon: ChartBarIcon },
{ title: 'Total User Subscribe', amount: 0, icon: ChartBarIcon },
{
title: 'Total Nilai Subscribe',
amount: 250_000_000,
amount: 0,
icon: ChartBarIcon,
currency: 'Rp. ',
},
@@ -14,12 +14,12 @@ export const REPORT = [
export const HISTORY = [
{
title: 'Total Content Biasa',
amount: 2890,
amount: 7,
icon: ChartPieIcon,
},
{
title: 'Total Content Premium',
amount: 274,
title: 'Total Content Premium',
amount: 3,
icon: ChartPieIcon,
},
]