import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/Card.tsx'; import { Grid } from '@/components/ui/layout'; import MetricItem from '@/components/ui/MetricItem.tsx'; import { formatNumber } from '@/lib/fin'; import { Briefcase, MapPin, Target, TrendingUp } from 'lucide-react'; type Props = { totalOrganizations: number; totalSites: number; totalResourceFlows: number; totalMatches: number; t: (key: string) => string; }; const PlatformOverviewSection = ({ totalOrganizations, totalSites, totalResourceFlows, totalMatches, t, }: Props) => { return ( {t('dashboard.platformOverview')} } label={t('dashboard.organizations')} value={formatNumber(totalOrganizations)} /> } label={t('dashboard.sites')} value={formatNumber(totalSites)} /> } label={t('dashboard.resourceFlows')} value={formatNumber(totalResourceFlows)} /> } label={t('dashboard.matches')} value={formatNumber(totalMatches)} /> ); }; export default PlatformOverviewSection;