mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update constants.ts
This commit is contained in:
@@ -1,41 +1,39 @@
|
||||
import {
|
||||
DocumentsIcon,
|
||||
IntegrationsIcon,
|
||||
TutorialIcon,
|
||||
ExamplesIcon,
|
||||
AwesomeIcon,
|
||||
DiscordIcon,
|
||||
ContributeIcon,
|
||||
RefineWeekIcon,
|
||||
HackathonsIcon,
|
||||
AboutUsIcon,
|
||||
StoreIcon,
|
||||
MeetIcon,
|
||||
BlogIcon,
|
||||
NewBadgeIcon,
|
||||
DocumentsIcon,
|
||||
IntegrationsIcon,
|
||||
TutorialIcon,
|
||||
ExamplesIcon,
|
||||
AwesomeIcon,
|
||||
ContributeIcon,
|
||||
RefineWeekIcon,
|
||||
HackathonsIcon,
|
||||
AboutUsIcon,
|
||||
StoreIcon,
|
||||
MeetIcon,
|
||||
BlogIcon,
|
||||
NewBadgeIcon,
|
||||
} from "../icons/popover";
|
||||
|
||||
export type NavbarPopoverItemType = {
|
||||
isPopover: true;
|
||||
isPopover: true;
|
||||
label: string;
|
||||
items: {
|
||||
label: string;
|
||||
items: {
|
||||
label: string;
|
||||
description: string;
|
||||
link: string;
|
||||
icon: React.FC;
|
||||
}[];
|
||||
description: string;
|
||||
link: string;
|
||||
icon: React.FC;
|
||||
}[];
|
||||
};
|
||||
|
||||
export type NavbarItemType = {
|
||||
isPopover?: false;
|
||||
label: string;
|
||||
icon?: React.FC;
|
||||
href?: string;
|
||||
isPopover?: false;
|
||||
label: string;
|
||||
icon?: React.FC;
|
||||
href?: string;
|
||||
};
|
||||
|
||||
export type MenuItemType = NavbarPopoverItemType | NavbarItemType;
|
||||
|
||||
|
||||
export const MENU_ITEMS: MenuItemType[] = [
|
||||
{
|
||||
isPopover: true,
|
||||
|
||||
Reference in New Issue
Block a user