mirror of
https://github.com/elisiariocouto/leggen.git
synced 2025-12-17 10:39:26 +00:00
feat(frontend): Add balance visibility toggle with blur effect
Co-authored-by: elisiariocouto <818914+elisiariocouto@users.noreply.github.com>
This commit is contained in:
committed by
Elisiário Couto
parent
fabea404ef
commit
a592b827aa
@@ -88,6 +88,7 @@ function AnalyticsDashboard() {
|
||||
subtitle="Inflows this period"
|
||||
icon={TrendingUp}
|
||||
iconColor="green"
|
||||
shouldBlur={true}
|
||||
/>
|
||||
<StatCard
|
||||
title="Total Expenses"
|
||||
@@ -95,6 +96,7 @@ function AnalyticsDashboard() {
|
||||
subtitle="Outflows this period"
|
||||
icon={TrendingDown}
|
||||
iconColor="red"
|
||||
shouldBlur={true}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -106,6 +108,7 @@ function AnalyticsDashboard() {
|
||||
subtitle="Income minus expenses"
|
||||
icon={CreditCard}
|
||||
iconColor={(stats?.net_change || 0) >= 0 ? "green" : "red"}
|
||||
shouldBlur={true}
|
||||
/>
|
||||
<StatCard
|
||||
title="Average Transaction"
|
||||
@@ -113,6 +116,7 @@ function AnalyticsDashboard() {
|
||||
subtitle="Per transaction"
|
||||
icon={Activity}
|
||||
iconColor="purple"
|
||||
shouldBlur={true}
|
||||
/>
|
||||
<StatCard
|
||||
title="Active Accounts"
|
||||
|
||||
Reference in New Issue
Block a user