feat: 支持用户管理
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
import Link from 'next/link'
|
||||
import { usePathname } from 'next/navigation'
|
||||
import { cn } from '@/lib/utils'
|
||||
import { Layers, Home, Settings, LogOut } from 'lucide-react'
|
||||
import { Layers, Home, Settings, LogOut, Users } from 'lucide-react'
|
||||
import { signOut, useSession } from '@/lib/auth-client'
|
||||
import { useRouter } from 'next/navigation'
|
||||
import { Button } from '@/components/ui/button'
|
||||
@@ -11,6 +11,7 @@ import { Button } from '@/components/ui/button'
|
||||
const navigation = [
|
||||
{ name: '首页', href: '/levels', icon: Home },
|
||||
{ name: '关卡配置', href: '/levels', icon: Layers },
|
||||
{ name: '用户管理', href: '/users', icon: Users },
|
||||
]
|
||||
|
||||
export function Sidebar() {
|
||||
|
||||
Reference in New Issue
Block a user