diff --git a/components/landing-page/Navbar.tsx b/components/landing-page/Navbar.tsx
index 291d5faa..0dda790e 100644
--- a/components/landing-page/Navbar.tsx
+++ b/components/landing-page/Navbar.tsx
@@ -176,7 +176,7 @@ const Navbar = () => {
-
+
Masuk
@@ -270,7 +270,7 @@ const Navbar = () => {
-
+
Masuk
diff --git a/lib/menus.ts b/lib/menus.ts
index 39827bc7..2ead339f 100644
--- a/lib/menus.ts
+++ b/lib/menus.ts
@@ -1519,6 +1519,164 @@ export function getMenuList(pathname: string, t: any): Group[] {
],
}
]
+ } else if (Number(roleId) == 11) {
+ menusSelected = [
+ {
+ groupLabel: t("apps"),
+ id: "dashboard",
+ menus: [
+ {
+ id: "dashboard",
+ href: "/dashboard",
+ label: t("dashboard"),
+ active: pathname.includes("/dashboard"),
+ icon: "material-symbols:dashboard",
+ submenus: [],
+ },
+ ],
+ },
+ {
+ groupLabel: "",
+ id: "content-production",
+ menus: [
+ {
+ id: "content-production",
+ href: "/content-production",
+ label: t("content-production"),
+ active: pathname.includes("/content-production"),
+ icon: "fluent:content-view-gallery-16-regular",
+ submenus: [],
+ },
+ ],
+ },
+ {
+ groupLabel: "",
+ id: "pattern-relation",
+ menus: [
+ {
+ id: "pattern-relation",
+ href: "/pattern-relation",
+ label: t("pattern-relation"),
+ active: pathname.includes("/pattern-relation"),
+ icon: "oui:app-index-pattern",
+ submenus: [],
+ },
+ ],
+ },
+ {
+ groupLabel: "",
+ id: "agenda-setting",
+ menus: [
+ {
+ id: "agenda-setting",
+ href: "/agenda-setting",
+ label: t("agenda-setting"),
+ active: pathname.includes("/agenda-setting"),
+ icon: "iconoir:journal-page",
+ submenus: [],
+ },
+ ],
+ },
+ {
+ groupLabel: "",
+ id: "task-plan",
+ menus: [
+ {
+ id: "task-plan",
+ href: "/task-plan",
+ label: t("task-plan"),
+ active: pathname.includes("/task-plan"),
+ icon: "pajamas:planning",
+ submenus: [
+ {
+ href: "/task-plan/mediahub",
+ label: "mediaHub",
+ active: pathname === "/task-plan/mediahub",
+ icon: "heroicons:arrow-trending-up",
+ children: [],
+ },
+ {
+ href: "/task-plan/medsos-mediahub",
+ label: "medsos mediahub",
+ active: pathname === "/task-plan/medsos-mediahub",
+ icon: "heroicons:shopping-cart",
+ children: [],
+ },
+ ],
+ },
+ ],
+ },
+ {
+ groupLabel: "",
+ id: "curatedcontent",
+ menus: [
+ {
+ id: "curatedcontent",
+ href: "/curated-content",
+ label: t("curated-content"),
+ active: pathname.includes("/curated-content"),
+ icon: "pixelarticons:calendar-text",
+ submenus: [],
+ },
+ ],
+ },
+ {
+ groupLabel: "",
+ id: "media-tracking",
+ menus: [
+ {
+ id: "media-tracking",
+ href: "/media-tracking",
+ label: t("media-tracking"),
+ active: pathname.includes("/media-tracking"),
+ icon: "material-symbols:map-search-outline",
+ submenus: [],
+ },
+ ],
+ },
+ {
+ groupLabel: "",
+ id: "communication",
+ menus: [
+ {
+ id: "communication",
+ href: "/communication",
+ label: t("communication"),
+ active: pathname.includes("/communication"),
+ icon: "token:chat",
+ submenus: [],
+ },
+ ],
+ },
+ {
+ groupLabel: "",
+ id: "contest",
+ menus: [
+ {
+ id: "contest",
+ href: "/contest",
+ label: t("contest"),
+ active: pathname.includes("/contest"),
+ icon: "ic:outline-emoji-events",
+ submenus: [],
+ },
+ ],
+ },
+ {
+ groupLabel: "",
+ id: "feedback",
+ menus: [
+ {
+ id: "feedback",
+ href: "/feedback",
+ label: t("feedback"),
+ active: pathname.includes("/feedback"),
+ icon: "mdi:feedback-outline",
+ submenus: [],
+ },
+ ],
+ }
+ ]
}
return menusSelected;
diff --git a/messages/en.json b/messages/en.json
index 005101ca..c6951fa0 100644
--- a/messages/en.json
+++ b/messages/en.json
@@ -147,6 +147,10 @@
"account-report": "Account Report",
"settings": "Settings",
"feedback": "Feedback",
+ "content-production": "Content Production",
+ "pattern-relation": "Pattern & Relation",
+ "task-plan": "Task Plan",
+ "media-tracking": "Media Tracking",
"social-media": "Social media",
"analytics": "Analytics",
"banking": "Banking",
diff --git a/messages/in.json b/messages/in.json
index b7f1db19..d1faef62 100644
--- a/messages/in.json
+++ b/messages/in.json
@@ -147,6 +147,10 @@
"account-report": "Account Report",
"settings": "Settings",
"feedback": "Feedback",
+ "content-production": "Produksi Konten",
+ "pattern-relation": "Pola & Relasi",
+ "task-plan": "Rencana Penugasan",
+ "media-tracking": "Media Tracking",
"social-media": "Social media",
"analytics": "Analytics",
"banking": "Banking",