255 lines
6.3 KiB
JavaScript
255 lines
6.3 KiB
JavaScript
import React from "react";
|
|
import CIcon from "@coreui/icons-react";
|
|
import {
|
|
cibMaterialDesign,
|
|
cilAddressBook,
|
|
cilAppsSettings,
|
|
cilBrush,
|
|
cilCart,
|
|
cilCat,
|
|
cilClipboard,
|
|
cilCommand,
|
|
cilCompress,
|
|
cilContact,
|
|
cilImage,
|
|
cilLanguage,
|
|
cilLoopCircular,
|
|
cilMedicalCross,
|
|
cilNotes,
|
|
cilSpeedometer,
|
|
cilSwapHorizontal,
|
|
cilTablet,
|
|
cilTennisBall,
|
|
cilText,
|
|
cilUser,
|
|
cilAlarm,
|
|
} from "@coreui/icons";
|
|
import { CNavGroup, CNavItem, CNavTitle, CTabContent } from "@coreui/react";
|
|
|
|
const _nav = [
|
|
{
|
|
component: CNavItem,
|
|
name: "Dashboard",
|
|
to: "/dashboard",
|
|
icon: <CIcon icon={cilSpeedometer} customClassName="nav-icon" />,
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Users",
|
|
icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
|
|
to: "/users-address",
|
|
},
|
|
// {
|
|
// component: CNavItem,
|
|
// name: "Design",
|
|
// icon: <CIcon icon={cibMaterialDesign} customClassName="nav-icon" />,
|
|
// to: "/design",
|
|
// },
|
|
|
|
{
|
|
component: CNavGroup,
|
|
name: "Product Management",
|
|
icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
|
|
items: [
|
|
{
|
|
component: CNavItem,
|
|
name: "Categories",
|
|
icon: <CIcon icon={cilCat} customClassName="nav-icon" />,
|
|
to: "/categories",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Products",
|
|
icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
|
|
to: "/products",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Gst Rate",
|
|
icon: <CIcon icon={cilTablet} customClassName="nav-icon" />,
|
|
to: "/tax",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
component: CNavGroup,
|
|
name: "Orders",
|
|
icon: <CIcon icon={cilCart} customClassName="nav-icon" />,
|
|
items: [
|
|
{
|
|
component: CNavItem,
|
|
name: "New",
|
|
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
|
to: "/orders/new",
|
|
},
|
|
// {
|
|
// component: CNavItem,
|
|
// name: "Paid",
|
|
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
|
// to: "/orders/returned",
|
|
// },
|
|
{
|
|
component: CNavItem,
|
|
name: "Processing",
|
|
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
|
to: "/orders/processing",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Dispatched",
|
|
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
|
to: "/orders/dispatched",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Delivered",
|
|
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
|
to: "/orders/delivered",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Cancelled",
|
|
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
|
to: "/orders/cancelled",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
component: CNavGroup,
|
|
name: "Website Related",
|
|
icon: <CIcon icon={cilCart} customClassName="nav-icon" />,
|
|
items: [
|
|
{
|
|
component: CNavItem,
|
|
name: "Banner",
|
|
icon: <CIcon icon={cilImage} customClassName="nav-icon" />,
|
|
to: "/banner",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Register Image",
|
|
icon: <CIcon icon={cilImage} customClassName="nav-icon" />,
|
|
to: "/registerImage",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Login Image",
|
|
icon: <CIcon icon={cilImage} customClassName="nav-icon" />,
|
|
to: "/loginImage",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Shop Page Image",
|
|
icon: <CIcon icon={cilImage} customClassName="nav-icon" />,
|
|
to: "/shopImage",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Testimonials",
|
|
icon: <CIcon icon={cilCompress} customClassName="nav-icon" />,
|
|
to: "/testimonials",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Contact Requests",
|
|
icon: <CIcon icon={cilContact} customClassName="nav-icon" />,
|
|
to: "/contact/request",
|
|
},
|
|
|
|
{
|
|
component: CNavItem,
|
|
name: "SEO and Analytics",
|
|
icon: <CIcon icon={cilContact} customClassName="nav-icon" />,
|
|
to: "/seo/request/new",
|
|
},
|
|
|
|
{
|
|
component: CNavItem,
|
|
name: "Content ",
|
|
icon: <CIcon icon={cilText} customClassName="nav-icon" />,
|
|
to: "/content",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
component: CNavGroup,
|
|
name: "Configuration",
|
|
icon: <CIcon icon={cilAppsSettings} customClassName="nav-icon" />,
|
|
items: [
|
|
{
|
|
component: CNavItem,
|
|
name: "Social Media",
|
|
icon: <CIcon icon={cilMedicalCross} customClassName="nav-icon" />,
|
|
to: "/socialmedia",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Application Name",
|
|
icon: <CIcon icon={cilText} customClassName="nav-icon" />,
|
|
to: "/application/name",
|
|
},
|
|
|
|
{
|
|
component: CNavItem,
|
|
name: "Address",
|
|
icon: <CIcon icon={cilAddressBook} customClassName="nav-icon" />,
|
|
to: "/address",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Logos",
|
|
icon: <CIcon icon={cilCommand} customClassName="nav-icon" />,
|
|
to: "/logo",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Copyright Message",
|
|
icon: <CIcon icon={cilText} customClassName="nav-icon" />,
|
|
to: "/copyright/message",
|
|
},
|
|
],
|
|
},
|
|
//Affiliate start
|
|
{
|
|
component: CNavGroup,
|
|
name: "Affiliate & Coupons",
|
|
icon: <CIcon icon={cilCart} customClassName="nav-icon" />,
|
|
items: [
|
|
{
|
|
component: CNavItem,
|
|
name: "Coupons",
|
|
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
|
to: "/affiliate/coupons",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Affiliates",
|
|
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
|
|
to: "/affiliate/affiliates",
|
|
},
|
|
],
|
|
},
|
|
//Affiliate end
|
|
{
|
|
component: CNavGroup,
|
|
name: "Customer Service",
|
|
icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
|
|
items: [
|
|
{
|
|
component: CNavItem,
|
|
name: "Customer Support",
|
|
icon: <CIcon icon={cilAlarm} customClassName="nav-icon" />,
|
|
to: "/support/request",
|
|
},
|
|
{
|
|
component: CNavItem,
|
|
name: "Contact Requests",
|
|
icon: <CIcon icon={cilUser} customClassName="nav-icon" />,
|
|
to: "/contact/request",
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export default _nav;
|