mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 20:42:02 +00:00
Merge pull request #44 from prowler-cloud/PRWLR-4673-Main-menu-tweaks
feat: add new items to the main menu
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
@@ -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} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user