import { Link } from '@tanstack/react-router' import { Menu, X } from 'lucide-react' import { cn } from '@/lib/utils' import { SidebarMenu, SidebarMenuButton, SidebarMenuItem, useSidebar, } from '@/components/ui/sidebar' import { Button } from '../ui/button' export function AppTitle() { const { setOpenMobile } = useSidebar() return (
setOpenMobile(false)} className='grid flex-1 text-start text-sm leading-tight' > WEIAI 角色卡管理
) } function ToggleSidebar({ className, onClick, ...props }: React.ComponentProps) { const { toggleSidebar } = useSidebar() return ( ) }