Introduces a new admin page for managing Telegram users, displaying user statistics and allowing user actions. Updates the admin sidebar to include a link to the new Telegram Users page. Also updates git-info.json with the latest build metadata.
27 lines
849 B
TypeScript
27 lines
849 B
TypeScript
import { Home, Shield, Users, Ban, UserPlus, Package, BarChart3, UserCircle } from "lucide-react"
|
|
|
|
export const adminSidebarConfig = [
|
|
{
|
|
title: "Overview",
|
|
items: [
|
|
{ name: "Admin Dashboard", href: "/dashboard/admin", icon: Home },
|
|
{ name: "System Status", href: "/dashboard/admin/status", icon: BarChart3 },
|
|
],
|
|
},
|
|
{
|
|
title: "User Management",
|
|
items: [
|
|
{ name: "All Vendors", href: "/dashboard/admin/vendors", icon: Users },
|
|
{ name: "Telegram Users", href: "/dashboard/admin/users", icon: UserCircle },
|
|
{ name: "Invite Vendor", href: "/dashboard/admin/invite", icon: UserPlus },
|
|
{ name: "Ban Users", href: "/dashboard/admin/ban", icon: Ban },
|
|
],
|
|
},
|
|
{
|
|
title: "System",
|
|
items: [
|
|
{ name: "Recent Orders", href: "/dashboard/admin/orders", icon: Package },
|
|
],
|
|
},
|
|
]
|