"use client"; import { Search, Filter, Brain, ArrowUpRight, ArrowDownRight, DollarSign, Activity, PieChart, Download, Wallet, Plus } from "lucide-react"; import { Bar, BarChart, CartesianGrid, ResponsiveContainer, Tooltip, XAxis, YAxis, Area, AreaChart, Pie, PieChart as RechartsPieChart, Cell } from "recharts"; // Mock Data const cashFlowData = [ { month: "Jan", in: 45000, out: 28000 }, { month: "Feb", in: 52000, out: 31000 }, { month: "Mar", in: 48000, out: 29000 }, { month: "Apr", in: 61000, out: 34000 }, { month: "May", in: 59000, out: 42000 }, { month: "Jun", in: 75000, out: 38000 }, ]; const expensesData = [ { name: "Payroll", value: 45000, color: "#6C5BB0" }, { name: "Software/SaaS", value: 12000, color: "#54468B" }, { name: "Marketing", value: 18000, color: "#3B3161" }, { name: "Office/Rent", value: 8000, color: "#221C38" }, ]; const recentTransactions = [ { id: 1, desc: "Stripe Payout", category: "Revenue", amount: "+$12,450.00", date: "Today", status: "Completed" }, { id: 2, desc: "Amazon Web Services", category: "Software", amount: "-$3,240.50", date: "Yesterday", status: "Completed" }, { id: 3, desc: "Google Ads", category: "Marketing", amount: "-$4,500.00", date: "May 15", status: "Pending" }, { id: 4, desc: "WeWork Remote", category: "Office", amount: "-$1,200.00", date: "May 12", status: "Completed" }, ]; export default function FinancePage() { return (
I detected an anomaly: Software/SaaS expenses increased by 22% compared to last month. Specifically, AWS costs spiked. AI recommends auditing idle EC2 instances to save approximately $850/mo.
Revenue vs Expenses over the last 6 months.