diff --git a/components/accounts/components/accounts-dashboard.tsx b/components/accounts/components/accounts-dashboard.tsx index 3a5f8fa8..4bd2a5f2 100644 --- a/components/accounts/components/accounts-dashboard.tsx +++ b/components/accounts/components/accounts-dashboard.tsx @@ -131,7 +131,7 @@ export function AccountsDashboard({ label: "", icon: Tag, variant: "ghost", - link: "/dashboard/", + link: "/dashboard/categories", }, { title: "Recurring", diff --git a/components/categories/components/categories-display.tsx b/components/categories/components/categories-display.tsx index 2171aba6..d016d81d 100644 --- a/components/categories/components/categories-display.tsx +++ b/components/categories/components/categories-display.tsx @@ -251,10 +251,10 @@ export function CategoriesDisplay({ mail }: MailDisplayProps) { {/* Left section with avatar and text */}
- + /> */} {mail.name .split(" ") @@ -275,20 +275,21 @@ export function CategoriesDisplay({ mail }: MailDisplayProps) { {/* Right section with badge */} {mail.date && (
- = 0 ? "default" : "destructive"} className="self-end" > {mail.change >= 0 ? `▲ ${mail.change.toFixed(2)}%` : `▼ ${Math.abs(mail.change).toFixed(2)}%`} - + */} +
Spent so far
{formatCurrency(mail.income as number)}
- Updated at 23:03 +
$1,240.00 over
)}
diff --git a/components/categories/components/key-metrics-table.tsx b/components/categories/components/key-metrics-table.tsx index bd57025c..e642d564 100644 --- a/components/categories/components/key-metrics-table.tsx +++ b/components/categories/components/key-metrics-table.tsx @@ -1,8 +1,6 @@ "use client"; import * as React from "react"; -import Image from "next/image"; -import { BoltIcon } from "@heroicons/react/20/solid"; import { ColumnDef, ColumnFiltersState, diff --git a/components/categories/components/total-balance-card.tsx b/components/categories/components/total-balance-card.tsx index a1d0f9b6..fe5cfa55 100644 --- a/components/categories/components/total-balance-card.tsx +++ b/components/categories/components/total-balance-card.tsx @@ -18,36 +18,51 @@ export function SpentSoFarCard() { Spent so far + + Total budget + {" "} - -
$10,241
-

- You have left $1.248 to spend -

-
- - - - {data.map((entry, index) => ( - - ))} - - - + + {/* Left side details */} +
+
$10,241
+

+ You have left $1,248 to spend +

+
+ + {/* Right side details */} +
+
$15,000
{" "} + {/* Assuming this is the total budget */} +

+ Your total budget +

+
+ + + + {data.map((entry, index) => ( + + ))} + + + +
); diff --git a/components/investments/components/investment-dashboard.tsx b/components/investments/components/investment-dashboard.tsx index aac05562..2ebb81d5 100644 --- a/components/investments/components/investment-dashboard.tsx +++ b/components/investments/components/investment-dashboard.tsx @@ -137,7 +137,7 @@ export function InvestmentsDashboard({ label: "", icon: Tag, variant: "ghost", - link: "/dashboard/", + link: "/dashboard/categories", }, { title: "Recurring", diff --git a/components/new-dashboard/components/dashboard-1.tsx b/components/new-dashboard/components/dashboard-1.tsx index 65c3eecd..50fb9917 100644 --- a/components/new-dashboard/components/dashboard-1.tsx +++ b/components/new-dashboard/components/dashboard-1.tsx @@ -136,7 +136,7 @@ export function Dashboard({ label: "", icon: Tag, variant: "ghost", - link: "/dashboard/", + link: "/dashboard/categories", }, { title: "Recurring", diff --git a/components/transactions/components/transactions-dashboard.tsx b/components/transactions/components/transactions-dashboard.tsx index b86417fa..4b209c45 100644 --- a/components/transactions/components/transactions-dashboard.tsx +++ b/components/transactions/components/transactions-dashboard.tsx @@ -131,7 +131,7 @@ export function TransactionsDashboard({ label: "", icon: Tag, variant: "ghost", - link: "/dashboard/", + link: "/dashboard/categories", }, { title: "Recurring",