"use client"; import { Play, Pause, Brain, Clock, Plus, Tag, ArrowUpRight, DollarSign, Activity } from "lucide-react"; import { Area, AreaChart, ResponsiveContainer, XAxis, Tooltip, CartesianGrid } from "recharts"; // Mock Data const timeData = [ { day: "Mon", billable: 5, nonBillable: 1 }, { day: "Tue", billable: 6.5, nonBillable: 0.5 }, { day: "Wed", billable: 4, nonBillable: 2 }, { day: "Thu", billable: 7, nonBillable: 1 }, { day: "Fri", billable: 5.5, nonBillable: 1.5 }, ]; const timeLogs = [ { id: 1, task: "Database Schema Design", project: "Stark Enterprise App", duration: "02:45:00", date: "Today", billable: true }, { id: 2, client: "Acme Corp", task: "Weekly Sync & Planning", project: "Retainer", duration: "01:00:00", date: "Today", billable: true }, { id: 3, task: "Invoice Generation & Emails", project: "Admin", duration: "00:45:00", date: "Yesterday", billable: false }, { id: 4, task: "Frontend Component Refactor", project: "Stark Enterprise App", duration: "04:15:00", date: "Yesterday", billable: true }, ]; export default function TimeTrackingPage() { return (
You have logged 14.5 unbilled hours for Stark Industries this week. Based on your hourly rate of $120/hr, the unbilled amount is $1,740. AI suggests generating an invoice today as their accounting cycle ends on the 15th.