feat: add admin comments page with search, filters, pagination, remove/restore

This commit is contained in:
2026-04-28 08:39:55 +08:00
parent 37c5d87baa
commit 635e9fa46c
3 changed files with 503 additions and 1 deletions
+2 -1
View File
@@ -2,12 +2,13 @@
import Link from "next/link"
import { usePathname } from "next/navigation"
import { UsersIcon, CpuIcon, Gamepad2Icon } from "lucide-react"
import { UsersIcon, CpuIcon, Gamepad2Icon, MessageSquareIcon } from "lucide-react"
const adminNavItems = [
{ href: "/admin/users", label: "Users", icon: UsersIcon },
{ href: "/admin/hardware", label: "Hardware", icon: CpuIcon },
{ href: "/admin/games", label: "Games", icon: Gamepad2Icon },
{ href: "/admin/comments", label: "Comments", icon: MessageSquareIcon },
]
export function AdminSidebar() {