feat(frontend): add new elements to side nav

This commit is contained in:
leandrofars 2025-05-15 13:06:59 -03:00
parent 509b90cd4f
commit aea0b573fa

View File

@ -11,6 +11,9 @@ import FolderIcon from '@heroicons/react/24/solid/FolderIcon';
import ShieldCheckIcon from '@heroicons/react/24/solid/ShieldCheckIcon'; import ShieldCheckIcon from '@heroicons/react/24/solid/ShieldCheckIcon';
import EnvelopeIcon from '@heroicons/react/24/solid/EnvelopeIcon'; import EnvelopeIcon from '@heroicons/react/24/solid/EnvelopeIcon';
import UserIcon from '@heroicons/react/24/solid/UserIcon'; import UserIcon from '@heroicons/react/24/solid/UserIcon';
import BuildingOffice2Icon from '@heroicons/react/24/solid/BuildingOffice2Icon';
import BookOpenIcon from '@heroicons/react/24/solid/BookOpenIcon';
import CommandLineIcon from '@heroicons/react/24/solid/CommandLineIcon';
export const items = [ export const items = [
{ {
@ -38,12 +41,10 @@ export const items = [
<RectangleGroupIcon color='gray'/> <RectangleGroupIcon color='gray'/>
</SvgIcon> </SvgIcon>
), ),
tooltip: 'Upgrade to Business Plan',
disabled: true, disabled: true,
children: [ children: [
{ {
title: 'Firmware Update', title: 'Firmware Update',
tooltip: 'Upgrade to Business Plan',
icon: ( icon: (
<SvgIcon fontSize="small"> <SvgIcon fontSize="small">
<ArrowDownOnSquareStackIcon color='gray'/> <ArrowDownOnSquareStackIcon color='gray'/>
@ -53,7 +54,6 @@ export const items = [
}, },
{ {
title: 'Message', title: 'Message',
tooltip: 'Upgrade to Business Plan',
disabled: true, disabled: true,
icon: ( icon: (
<SvgIcon fontSize="small"> <SvgIcon fontSize="small">
@ -63,6 +63,15 @@ export const items = [
}, },
] ]
}, },
{
title: 'Scripts',
disabled: true,
icon: (
<SvgIcon fontSize="small">
<CommandLineIcon color='gray'/>
</SvgIcon>
)
},
{ {
title: 'Credentials', title: 'Credentials',
path: '/credentials', path: '/credentials',
@ -75,17 +84,24 @@ export const items = [
{ {
title: 'Access Control', title: 'Access Control',
disabled: true, disabled: true,
tooltip: 'Upgrade to Business Plan',
icon: ( icon: (
<SvgIcon fontSize="small"> <SvgIcon fontSize="small">
<UserGroupIcon color='gray'/> <UserGroupIcon color='gray'/>
</SvgIcon> </SvgIcon>
), ),
children: [ children: [
{
title: 'Tenants',
disabled: true,
icon: (
<SvgIcon fontSize="small">
<BuildingOffice2Icon color='gray'/>
</SvgIcon>
)
},
{ {
title: 'Roles', title: 'Roles',
disabled: true, disabled: true,
tooltip: 'Upgrade to Business Plan',
icon: ( icon: (
<SvgIcon fontSize="small"> <SvgIcon fontSize="small">
<ShieldCheckIcon color='gray'/> <ShieldCheckIcon color='gray'/>
@ -105,7 +121,6 @@ export const items = [
}, },
{ {
title: 'File Server', title: 'File Server',
tooltip: 'Upgrade to Business Plan',
disabled: true, disabled: true,
icon: ( icon: (
<SvgIcon fontSize="small"> <SvgIcon fontSize="small">
@ -122,6 +137,16 @@ export const items = [
</SvgIcon> </SvgIcon>
) )
}, },
{
title: 'Docs',
path: 'https://docs.oktopus.app.br',
icon: (
<SvgIcon fontSize="small">
<BookOpenIcon />
</SvgIcon>
),
external: true,
},
]; ];
/* /*