feat(dashboard): add Dolar Oficial (BNA) card to panel grid

This commit is contained in:
Jose Selesan
2026-06-04 11:05:38 -03:00
parent 55098a7b95
commit 9ce5511ad8

View File

@@ -127,6 +127,7 @@ export function DashboardPage() {
const belo = quotes?.find((q) => q.type === "BELO"); const belo = quotes?.find((q) => q.type === "BELO");
const blue = quotes?.find((q) => q.type === "BLUE"); const blue = quotes?.find((q) => q.type === "BLUE");
const bna = quotes?.find((q) => q.type === "BNA");
const now = new Date(); const now = new Date();
const { data: monthlyExpenses } = useMonthlyPayedTotal( const { data: monthlyExpenses } = useMonthlyPayedTotal(
@@ -156,7 +157,7 @@ export function DashboardPage() {
Actualizar Actualizar
</button> </button>
</div> </div>
<div className="grid gap-4 md:grid-cols-4"> <div className="grid gap-4 md:grid-cols-4 lg:grid-cols-5">
<div className="rounded-lg border p-4"> <div className="rounded-lg border p-4">
<p className="text-sm text-muted-foreground">Pagos pendientes</p> <p className="text-sm text-muted-foreground">Pagos pendientes</p>
<p className="text-2xl font-bold"> <p className="text-2xl font-bold">
@@ -176,6 +177,7 @@ export function DashboardPage() {
variant="minimal" variant="minimal"
/> />
<QuoteCard quote={blue} title="BLUE" variant="minimal" /> <QuoteCard quote={blue} title="BLUE" variant="minimal" />
<QuoteCard quote={bna} title="Dolar Oficial" variant="minimal" />
</div> </div>
<DashboardExpensesTable /> <DashboardExpensesTable />
</div> </div>