"use client" import { Topbar } from "@/components/topbar" import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" import { Button } from "@/components/ui/button" import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" import { CalendarDateRangePicker } from "@/components/date-range-picker" import { Overview } from "@/components/overview" import { RecentSales } from "@/components/recent-sales" import { DataTable } from "@/components/data-table" import { DollarSign, TrendingUp, Users, Target, Plus } from "lucide-react" import { useTranslation } from "@/lib/i18n" export default function Dashboard() { const { t } = useTranslation() const dashboardStats = [ { title: t("dashboard.stats.monthlyRevenue"), value: "$48,500", description: t("dashboard.stats.monthlyRevenueChange"), icon: DollarSign, }, { title: t("dashboard.stats.newDealsClosed"), value: "12", description: t("dashboard.stats.newDealsChange"), icon: Target, }, { title: t("dashboard.stats.pipelineValue"), value: "$320,000", description: t("dashboard.stats.pipelineChange"), icon: TrendingUp, }, { title: t("dashboard.stats.conversionRate"), value: "18.4%", description: t("dashboard.stats.conversionChange"), icon: Users, }, ] return (

{t("dashboard.title")}

{t("dashboard.tabs.overview")} {t("dashboard.tabs.analytics")} {t("dashboard.tabs.allDeals")} {t("dashboard.tabs.reports")}
{dashboardStats.map((stat, index) => ( {stat.title}
{stat.value}

{stat.description}

))}
{t("dashboard.revenueOverview")} {t("dashboard.revenueOverviewDesc")} {t("dashboard.recentSales")} {t("dashboard.recentSalesDesc")}
{t("dashboard.allDealsTitle")} {t("dashboard.allDealsDesc")}
{dashboardStats.map((stat, index) => ( {stat.title}
{stat.value}

{stat.description}

))}
{t("dashboard.analyticsTitle")} {t("dashboard.analyticsDesc")}
{t("dashboard.analyticsPlaceholder")}
{t("dashboard.reportsTitle")} {t("dashboard.reportsDesc")}
{t("dashboard.reportsPlaceholder")}
) }