feat(balance): add sidebar Bilan entry

Insert a new "Bilan" / "Balance sheet" entry in NAV_ITEMS pointing
at /balance with the Wallet lucide-react icon. Position: between
Reports and Settings, matching the autopilot prompt instruction
and the spec-plan-bilan v2 ordering.

Sidebar.tsx imports Wallet and registers it in iconMap.

Refs: #141

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
le king fu 2026-04-25 16:07:13 -04:00
parent ffefa90fd0
commit 83ac484a22
2 changed files with 8 additions and 0 deletions

View file

@ -8,6 +8,7 @@ import {
SlidersHorizontal, SlidersHorizontal,
PiggyBank, PiggyBank,
BarChart3, BarChart3,
Wallet,
Settings, Settings,
Languages, Languages,
Moon, Moon,
@ -25,6 +26,7 @@ const iconMap: Record<string, React.ComponentType<{ size?: number }>> = {
SlidersHorizontal, SlidersHorizontal,
PiggyBank, PiggyBank,
BarChart3, BarChart3,
Wallet,
Settings, Settings,
}; };

View file

@ -46,6 +46,12 @@ export const NAV_ITEMS: NavItem[] = [
icon: "BarChart3", icon: "BarChart3",
labelKey: "nav.reports", labelKey: "nav.reports",
}, },
{
key: "balance",
path: "/balance",
icon: "Wallet",
labelKey: "nav.balance",
},
{ {
key: "settings", key: "settings",
path: "/settings", path: "/settings",