Mirrored from https://github.com/Camo67/OCIU-npo.git
Synced Nov 21, 06:00 UTC
fix/ociu-remove-placeholder-content
| 1 | import React from 'react'; |
| 2 | import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; |
| 3 | import { Users, BookOpen, Briefcase, Award } from "lucide-react"; |
| 4 | |
| 5 | export const ImpactReport = () => { |
| 6 | const stats = [ |
| 7 | { label: "Members Supported", value: "1,250", icon: Users, color: "text-blue-500" }, |
| 8 | { label: "Lessons Completed", value: "3,400", icon: BookOpen, color: "text-green-500" }, |
| 9 | { label: "Projects Built", value: "85", icon: Award, color: "text-yellow-500" }, |
| 10 | { label: "Members Placed", value: "42", icon: Briefcase, color: "text-purple-500" }, |
| 11 | ]; |
| 12 | |
| 13 | return ( |
| 14 | <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4"> |
| 15 | {stats.map((stat) => ( |
| 16 | <Card key={stat.label}> |
| 17 | <CardHeader className="flex flex-row items-center justify-between pb-2"> |
| 18 | <CardTitle className="text-xs font-medium text-muted-foreground uppercase tracking-wider"> |
| 19 | {stat.label} |
| 20 | </CardTitle> |
| 21 | <stat.icon className={`h-4 w-4 ${stat.color}`} /> |
| 22 | </CardHeader> |
| 23 | <CardContent> |
| 24 | <div className="text-2xl font-bold">{stat.value}</div> |
| 25 | </CardContent> |
| 26 | </Card> |
| 27 | ))} |
| 28 | </div> |
| 29 | ); |
| 30 | }; |