Files
aurum/frontend/src/lib/navigation.ts
ZProger 2ad39f9780 fix: collapsed-sidebar logo expands the menu; crypto nav icon matches the rest
Collapsed sidebar had no way to expand except the button at the bottom —
the logo at the top was purely decorative. It's now a real button in that
state (expanded state unchanged, still non-interactive there).

Swapped the Crypto nav icon from Bitcoin (a filled coin-badge glyph) to
Coins — same thin line-icon style as the rest of the sidebar (Layers,
Target, Flag, ...), where Bitcoin's brand-logo shape stood out. Bitcoin
stays as-is elsewhere (holdings table row fallback, Net Worth breakdown) —
appropriate there as a specific-asset placeholder, this was only about the
nav item.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01855PiW5Wd8n4aRW4n9kByY
2026-08-30 05:08:41 +03:00

44 lines
1.3 KiB
TypeScript

import {
Activity,
ArrowLeftRight,
Calculator,
Coins,
Flag,
Layers,
Lightbulb,
LayoutDashboard,
PieChart,
Repeat,
Settings,
Tags,
Target,
TrendingUp,
type LucideIcon,
} from "lucide-react";
import type { TranslationKey } from "@/lib/i18n";
export interface NavItem {
labelKey: TranslationKey;
to: string;
icon: LucideIcon;
disabled?: boolean;
}
export const NAV_ITEMS: NavItem[] = [
{ labelKey: "nav.dashboard", to: "/", icon: LayoutDashboard },
{ labelKey: "nav.netWorth", to: "/net-worth", icon: TrendingUp },
{ labelKey: "nav.crypto", to: "/crypto", icon: Coins },
{ labelKey: "nav.roi", to: "/roi", icon: Calculator },
{ labelKey: "nav.transactions", to: "/transactions", icon: ArrowLeftRight },
{ labelKey: "nav.accounts", to: "/accounts", icon: Layers },
{ labelKey: "nav.categories", to: "/categories", icon: Tags },
{ labelKey: "nav.cashFlow", to: "/cash-flow", icon: Activity },
{ labelKey: "nav.reports", to: "/reports", icon: PieChart },
{ labelKey: "nav.budget", to: "/budget", icon: Target },
{ labelKey: "nav.recurring", to: "/recurring", icon: Repeat },
{ labelKey: "nav.goals", to: "/goals", icon: Flag },
{ labelKey: "nav.advice", to: "/advice", icon: Lightbulb },
{ labelKey: "nav.settings", to: "/settings", icon: Settings },
];