feat: 支持微信用户列表展示

This commit is contained in:
richarjiang
2026-04-05 20:19:08 +08:00
parent 7bce04a163
commit f8f6f17bd4
8 changed files with 508 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
import Link from 'next/link'
import { usePathname } from 'next/navigation'
import { cn } from '@/lib/utils'
import { Layers, Home, Settings, LogOut, Users } from 'lucide-react'
import { Layers, Home, Settings, LogOut, Users, UserCircle } from 'lucide-react'
import { signOut, useSession } from '@/lib/auth-client'
import { useRouter } from 'next/navigation'
import { Button } from '@/components/ui/button'
@@ -12,6 +12,7 @@ const navigation = [
{ name: '首页', href: '/levels', icon: Home },
{ name: '关卡配置', href: '/levels', icon: Layers },
{ name: '用户管理', href: '/users', icon: Users },
{ name: '小程序账户', href: '/wx-users', icon: UserCircle },
]
export function Sidebar() {