import { Link, useLocation } from 'react-router-dom' import { LayoutDashboard, FileText, Plus, Settings, Mic } from 'lucide-react' import clsx from 'clsx' import ThemeToggle from './ThemeToggle' const navItems = [ { path: '/', icon: LayoutDashboard, label: '概览' }, { path: '/meetings', icon: FileText, label: '会议' }, { path: '/upload', icon: Plus, label: '新建' }, { path: '/settings', icon: Settings, label: '设置' }, ] export default function Layout({ children }) { const location = useLocation() return (
{/* 侧边栏 */} {/* 主内容区 */}
{children}
) }