diff --git a/webapp/src/components/dashboard/home/generalLook.tsx b/webapp/src/components/dashboard/home/generalLook.tsx index 7869f56..a4c3e4b 100644 --- a/webapp/src/components/dashboard/home/generalLook.tsx +++ b/webapp/src/components/dashboard/home/generalLook.tsx @@ -1,8 +1,7 @@ import { useTranslations } from 'next-intl'; import { useAppSelector } from '@/redux/store'; -export default function GeneralLook() -{ +export default function GeneralLook() { const t = useTranslations('statistics'); const report = useAppSelector((state) => state.statisticsReducer.value.report) @@ -35,7 +34,11 @@ export default function GeneralLook() value: report?.disActiveMembersCount?.value ?? 0, label: t('totalUnActiveMembers'), bgColor: 'bg-error' - }, + } + ]; + + + const stats2 = [ { icon: 'services', value: report?.servicesCount?.value ?? 0, @@ -53,7 +56,13 @@ export default function GeneralLook() value: report?.disActiveServicesCount?.value ?? 0, label: t('totalUnActiveServices'), bgColor: 'bg-error' - }, + } + ]; + + + + + const stats3 = [ { icon: 'activeSubscriptions', value: report?.activeSubscriptionsCount?.value ?? 0, @@ -74,14 +83,18 @@ export default function GeneralLook() } ]; + return (
{stat.label}
{stat.value}
+{stat.label}
+ +{stat.value}
+{stat.label}
+ +{stat.value}
+{stat.label}
+ +