feat: add new items to the main menu

This commit is contained in:
Pablo Lara
2024-08-26 15:33:07 +02:00
parent c910167ff6
commit 440e95515a
4 changed files with 47 additions and 11 deletions
+12
View File
@@ -0,0 +1,12 @@
import { Spacer } from "@nextui-org/react";
import { Header } from "@/components/ui";
export default async function Categories() {
return (
<>
<Header title="Categories" icon="material-symbols:folder-open-outline" />
<Spacer y={4} />
</>
);
}
@@ -2,10 +2,10 @@ import React from "react";
import { Header } from "@/components/ui";
export default function Integration() {
export default function Integrations() {
return (
<>
<Header title="Integration" icon="tabler:puzzle" />
<Header title="Integrations" icon="tabler:puzzle" />
<p>Hi hi from Integration page</p>
</>
+12
View File
@@ -0,0 +1,12 @@
import { Spacer } from "@nextui-org/react";
import { Header } from "@/components/ui";
export default async function Workloads() {
return (
<>
<Header title="Workloads" icon="lucide:tags" />
<Spacer y={4} />
</>
);
}
+21 -9
View File
@@ -126,12 +126,6 @@ export const sectionItems: SidebarItem[] = [
// />
// ),
// },
{
key: "services",
href: "/services",
icon: "material-symbols:linked-services-outline",
title: "Services",
},
{
key: "compliance",
href: "/compliance",
@@ -143,6 +137,24 @@ export const sectionItems: SidebarItem[] = [
</Chip>
),
},
{
key: "services",
href: "/services",
icon: "material-symbols:linked-services-outline",
title: "Services",
},
{
key: "categories",
href: "/categories",
icon: "material-symbols:folder-open-outline",
title: "Categories",
},
{
key: "workloads",
href: "/workloads",
icon: "lucide:tags",
title: "Workloads",
},
],
},
{
@@ -190,10 +202,10 @@ export const sectionItems: SidebarItem[] = [
),
},
{
key: "integration",
href: "/integration",
key: "integrations",
href: "/integrations",
icon: "tabler:puzzle",
title: "Integration",
title: "Integrations",
},
{
key: "settings",