59 lines
1.3 KiB
TypeScript
59 lines
1.3 KiB
TypeScript
import {
|
|
IconApps,
|
|
IconBox,
|
|
IconColumns,
|
|
IconFileBarcode,
|
|
IconLayoutKanban,
|
|
IconList,
|
|
IconUsers,
|
|
} from "@tabler/icons-react";
|
|
import { ModuleNames } from "@/modules/modules";
|
|
import LinkData from "@/types/LinkData";
|
|
|
|
const linksData: LinkData[] = [
|
|
{
|
|
icon: IconLayoutKanban,
|
|
label: "Сделки",
|
|
href: "/deals",
|
|
moduleName: undefined,
|
|
},
|
|
{
|
|
icon: IconApps,
|
|
label: "Модули",
|
|
href: "/modules",
|
|
moduleName: undefined,
|
|
},
|
|
{
|
|
icon: IconList,
|
|
label: "Атрибуты",
|
|
href: "/attributes",
|
|
moduleName: undefined,
|
|
},
|
|
{
|
|
icon: IconUsers,
|
|
label: "Клиенты",
|
|
href: "/clients",
|
|
moduleName: ModuleNames.CLIENTS,
|
|
},
|
|
{
|
|
icon: IconColumns,
|
|
label: "Услуги",
|
|
href: "/services",
|
|
moduleName: ModuleNames.FULFILLMENT_BASE,
|
|
},
|
|
{
|
|
icon: IconBox,
|
|
label: "Товары",
|
|
href: "/products",
|
|
moduleName: ModuleNames.FULFILLMENT_BASE,
|
|
},
|
|
{
|
|
icon: IconFileBarcode,
|
|
label: "Шаблоны ШК",
|
|
href: "/barcode-templates",
|
|
moduleName: ModuleNames.FULFILLMENT_BASE,
|
|
},
|
|
];
|
|
|
|
export default linksData;
|