Files
cobaKeuangan/components/layout/full/vertical-sidebar/sidebarItem.ts
2025-06-02 12:39:21 +07:00

128 lines
2.3 KiB
TypeScript

export interface menu {
header?: string;
title?: string;
icon?: any;
to?: string;
chip?: string;
BgColor?: string;
chipBgColor?: string;
chipColor?: string;
chipVariant?: string;
chipIcon?: string;
children?: menu[];
disabled?: boolean;
type?: string;
subCaption?: string;
external?: boolean;
}
const sidebarItem: menu[] = [
{ header: "Home" },
{
title: "Dashboard",
icon: "adhesive-plaster-outline",
to: "/",
},
{
title: "master",
to: "/master",
external: false,
children:[
{
title: "index",
to: "/master/",
external: false,
},
{
title: "master",
to: "/master/form",
external: false,
},
]
},
{
title: "Front Pages",
icon: "home-angle-linear",
to: "/front",
children: [
{
title: "Coba VueForm",
to: "/coba",
external: false,
},
{
title: "Coba VueForm2",
to: "/coba2",
external: false,
},
{
title: "Homepage",
to: "https://matdash-nuxt-main.netlify.app/front-pages/homepage",
chip: "Pro",
external: true,
},
],
},
{ header: "utilities" },
{
title: "Typography",
icon: "text-circle-outline",
to: "/ui/typography",
},
{
title: "Shadow",
icon: "watch-square-minimalistic-charge-line-duotone",
to: "/ui/shadow",
},
{ header: "Pages" },
{
title: "Sample Page",
icon: "planet-3-line-duotone",
to: "/sample-page",
},
{ header: "Ui" },
{
title: "Alert",
icon: "volume-small-broken",
to: "/ui-components/alerts",
},
{
title: "Button",
icon: "tag-horizontal-outline",
to: "/ui-components/buttons",
},
{
title: "Cards",
icon: "cardholder-linear",
to: "/ui-components/cards",
},
{
title: "Tables",
icon: "suspension-outline",
to: "/ui-components/tables",
},
{ header: "auth" },
{
title: "Login",
icon: "login-3-line-duotone",
to: "/auth/login",
},
{
title: "Register",
icon: "user-plus-rounded-line-duotone",
to: "/auth/register",
},
{ header: "Extra" },
{
title: "Tabler Icons",
icon: "sticker-smile-circle-2-line-duotone",
to: "/icons",
},
];
export default sidebarItem;