From 3ac29d8da3da4bb307d7185463e8101d1d2f9654 Mon Sep 17 00:00:00 2001 From: Adithya Krishna Date: Sat, 26 Aug 2023 13:18:28 +0530 Subject: [PATCH] chore: updated dashboard page Signed-off-by: Adithya Krishna --- .../src/app/(dashboard)/dashboard/page.tsx | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/apps/web/src/app/(dashboard)/dashboard/page.tsx b/apps/web/src/app/(dashboard)/dashboard/page.tsx index a9d650eb6..6af737a68 100644 --- a/apps/web/src/app/(dashboard)/dashboard/page.tsx +++ b/apps/web/src/app/(dashboard)/dashboard/page.tsx @@ -34,22 +34,23 @@ export default async function DashboardPage() { }), ]); + const cardData = [ + { icon: FileCheck, title: 'Completed', status: stats.COMPLETED }, + { icon: File, title: 'Drafts', status: stats.DRAFT }, + { icon: Clock, title: 'Pending', status: stats.PENDING }, + ]; + return (

Dashboard

-
- - - - - - - - - + {cardData.map((card) => ( + + + + ))}
- + ;