feat: navbar buttons depended on selected project
This commit is contained in:
37
src/components/layout/Navbar/data/linksData.ts
Normal file
37
src/components/layout/Navbar/data/linksData.ts
Normal file
@ -0,0 +1,37 @@
|
||||
import {
|
||||
IconColumns,
|
||||
IconFileBarcode,
|
||||
IconLayoutKanban,
|
||||
IconUsers,
|
||||
} from "@tabler/icons-react";
|
||||
import LinkData from "@/components/layout/Navbar/types/LinkData";
|
||||
import { ModuleNames } from "@/modules/modules";
|
||||
|
||||
const linksData: LinkData[] = [
|
||||
{
|
||||
icon: IconLayoutKanban,
|
||||
label: "Сделки",
|
||||
href: "/deals",
|
||||
moduleName: undefined,
|
||||
},
|
||||
{
|
||||
icon: IconUsers,
|
||||
label: "Клиенты",
|
||||
href: "/clients",
|
||||
moduleName: ModuleNames.CLIENTS,
|
||||
},
|
||||
{
|
||||
icon: IconColumns,
|
||||
label: "Услуги",
|
||||
href: "/services",
|
||||
moduleName: ModuleNames.FULFILLMENT_BASE,
|
||||
},
|
||||
{
|
||||
icon: IconFileBarcode,
|
||||
label: "Шаблоны штрихкодов",
|
||||
href: "/barcode-templates",
|
||||
moduleName: ModuleNames.FULFILLMENT_BASE,
|
||||
},
|
||||
];
|
||||
|
||||
export default linksData;
|
||||
Reference in New Issue
Block a user