diff --git a/client/src/components/Layout.tsx b/client/src/components/Layout.tsx index 59e1ea5..35a248e 100644 --- a/client/src/components/Layout.tsx +++ b/client/src/components/Layout.tsx @@ -2,6 +2,7 @@ import { ReactNode, useState } from 'react' import { Link, useLocation } from 'react-router-dom' import { LayoutDashboard, Store, ClipboardList, TrendingUp, Settings, LogOut, Menu, X, Package, DollarSign, ShoppingBag, Users, AlertTriangle, Clock, Database, MapPin, PieChart, Wallet, CalendarClock, Activity, Crown, BarChart3, Receipt, Utensils, Landmark, ChefHat, Truck, Network, TrendingUp as TrendingUpIcon } from 'lucide-react' import { cn } from '@/lib/utils' +import { StatusBanner } from '@/components/StatusBanner' interface LayoutProps { children: ReactNode @@ -114,7 +115,8 @@ export function Layout({ children, user, onLogout }: LayoutProps) { 'fixed left-0 top-0 z-40 h-full w-56 border-r bg-card transition-transform lg:translate-x-0', sidebarOpen ? 'translate-x-0' : '-translate-x-full' )}> -
+
+ 态势感知系统