import React from "react"; import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/card"; import { DollarSign, TrendingUp, Calendar, Award } from "lucide-react"; import { BarChart, Bar, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer } from 'recharts'; export default function WorkforceEarnings() { const earningsData = [ { month: 'Jan', earnings: 2400, hours: 96 }, { month: 'Feb', earnings: 2800, hours: 112 }, { month: 'Mar', earnings: 3200, hours: 128 }, { month: 'Apr', earnings: 2600, hours: 104 }, { month: 'May', earnings: 3400, hours: 136 }, ]; const stats = { totalEarnings: 14400, thisMonth: 3400, totalHours: 576, avgHourly: 25, }; return (
Track your income and hours worked
Total Earnings (YTD)
${stats.totalEarnings.toLocaleString()}
This Month
${stats.thisMonth.toLocaleString()}
Total Hours
{stats.totalHours}
Avg Hourly
${stats.avgHourly}
{payment.date} • {payment.hours} hours
${payment.amount}