Files
ember-market-frontend/config/sidebar.ts
NotII bfc60012cf Add admin dashboard pages and restructure admin route
Introduces new admin dashboard pages for alerts, bans, invites, orders, settings, status, and vendors under app/dashboard/admin/. Moves the main admin page to the new dashboard structure and adds a shared admin layout. Updates sidebar configuration and adds supporting components and hooks for admin features.
2025-10-18 15:19:10 +01:00

42 lines
1.3 KiB
TypeScript

import { Home, Package, Box, Truck, Settings, FolderTree, MessageCircle, BarChart3, Tag, Users, TrendingUp, Shield } from "lucide-react"
export const sidebarConfig = [
{
title: "Overview",
items: [
{ name: "Dashboard", href: "/dashboard", icon: Home },
{ name: "Analytics", href: "/dashboard/analytics", icon: TrendingUp },
],
},
{
title: "Sales",
items: [
{ name: "Orders", href: "/dashboard/orders", icon: Package },
{ name: "Customer Chats", href: "/dashboard/chats", icon: MessageCircle },
{ name: "Customers", href: "/dashboard/storefront/customers", icon: Users },
],
},
{
title: "Inventory",
items: [
{ name: "Products", href: "/dashboard/products", icon: Box },
{ name: "Categories", href: "/dashboard/categories", icon: FolderTree },
{ name: "Stock", href: "/dashboard/stock", icon: BarChart3 },
],
},
{
title: "Operations",
items: [
{ name: "Shipping", href: "/dashboard/shipping", icon: Truck },
{ name: "Promotions", href: "/dashboard/promotions", icon: Tag },
{ name: "Storefront", href: "/dashboard/storefront", icon: Settings },
],
},
{
title: "Administration",
items: [
{ name: "Admin Panel", href: "/dashboard/admin", icon: Shield },
],
},
]