diff --git a/package.json b/package.json index 8f95b28..dc61103 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "laude", - "version": "0.3.1", + "version": "0.3.2", "description": "Exercise reminder — Windows desktop app", "main": "out/main/index.js", "author": "AnRil", diff --git a/src/renderer/index.html b/src/renderer/index.html index 949acdf..db70c3f 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -7,7 +7,7 @@
diff --git a/src/renderer/src/components/Sidebar.tsx b/src/renderer/src/components/Sidebar.tsx index 5a94b62..d9e0543 100644 --- a/src/renderer/src/components/Sidebar.tsx +++ b/src/renderer/src/components/Sidebar.tsx @@ -1,38 +1,37 @@ import { NavLink } from 'react-router-dom' import { AnimatePresence, motion } from 'framer-motion' import { - LayoutDashboard, - ListChecks, - Gamepad2, - Target, - Settings as SettingsIcon, + Sun, + Dumbbell, + Joystick, + Flame, + Settings2, X } from 'lucide-react' type Item = { to: string label: string - icon: typeof LayoutDashboard + icon: typeof Sun end?: boolean tint?: string } -// Each item gets a tinted icon-square reminiscent of iOS Settings rows. +// Tinted icon plaques á la iOS Settings rows. const items: Item[] = [ + { to: '/', label: 'Сегодня', icon: Sun, end: true, tint: 'bg-accent' }, { - to: '/', - label: 'Сегодня', - icon: LayoutDashboard, - end: true, - tint: 'bg-accent' + to: '/exercises', + label: 'Упражнения', + icon: Dumbbell, + tint: 'bg-info' }, - { to: '/exercises', label: 'Упражнения', icon: ListChecks, tint: 'bg-info' }, - { to: '/games', label: 'Игры', icon: Gamepad2, tint: 'bg-accent-2' }, - { to: '/challenges', label: 'Челленджи', icon: Target, tint: 'bg-warning' }, + { to: '/games', label: 'Игры', icon: Joystick, tint: 'bg-accent-2' }, + { to: '/challenges', label: 'Челленджи', icon: Flame, tint: 'bg-warning' }, { to: '/settings', label: 'Настройки', - icon: SettingsIcon, + icon: Settings2, tint: 'bg-text/70' } ] @@ -98,16 +97,16 @@ function SidebarContent({ onNav }: { onNav?: () => void }): JSX.Element { <> {/* Brand */}
diff --git a/src/renderer/src/pages/Dashboard.tsx b/src/renderer/src/pages/Dashboard.tsx index 5517246..a738400 100644 --- a/src/renderer/src/pages/Dashboard.tsx +++ b/src/renderer/src/pages/Dashboard.tsx @@ -72,7 +72,7 @@ export default function Dashboard(): JSX.Element {
diff --git a/src/renderer/src/pages/Settings.tsx b/src/renderer/src/pages/Settings.tsx index e492ef8..ca0be39 100644 --- a/src/renderer/src/pages/Settings.tsx +++ b/src/renderer/src/pages/Settings.tsx @@ -24,7 +24,7 @@ export default function SettingsPage(): JSX.Element {