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

View file

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