diff --git a/client/src/components/organisms/Sidebar.tsx b/client/src/components/organisms/Sidebar.tsx index d894a17..5f0af55 100644 --- a/client/src/components/organisms/Sidebar.tsx +++ b/client/src/components/organisms/Sidebar.tsx @@ -1,4 +1,4 @@ -import { Clock, BarChart3, Settings, Sun, Moon } from "lucide-react"; +import { Clock, BarChart3, Settings, Sun, Moon, X } from "lucide-react"; import { Button } from "@/components/atoms/Button"; import { useTheme } from "@/lib/theme"; import { useStore } from "@/lib/store"; @@ -10,12 +10,14 @@ interface SidebarProps { className?: string; isMobile?: boolean; onNavigate?: () => void; + onClose?: () => void; } export function Sidebar({ className = "", isMobile = false, onNavigate, + onClose, }: SidebarProps) { const { theme, toggleTheme } = useTheme(); const [location] = useLocation(); @@ -44,19 +46,30 @@ export function Sidebar({ return (