This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import {
|
||||
FolderKanban,
|
||||
Globe2,
|
||||
ImageIcon,
|
||||
LayoutDashboard,
|
||||
PlusSquare,
|
||||
@@ -15,6 +16,7 @@ type RootNavigationCopy = {
|
||||
uiKit: string;
|
||||
portfolio: string;
|
||||
media: string;
|
||||
siteSettings: string;
|
||||
};
|
||||
|
||||
export type RootNavItem = {
|
||||
@@ -27,7 +29,7 @@ export type RootNavItem = {
|
||||
|
||||
export function getRootNavigation(
|
||||
copy: RootNavigationCopy,
|
||||
active: "overview" | "maintenance" | "ui-kit" | "portfolio" | "media",
|
||||
active: "overview" | "maintenance" | "ui-kit" | "portfolio" | "media" | "site-settings",
|
||||
portfolioChild?: "overview" | "projects" | "new-project" | "categories",
|
||||
): RootNavItem[] {
|
||||
return [
|
||||
@@ -55,6 +57,12 @@ export function getRootNavigation(
|
||||
icon: ImageIcon,
|
||||
active: active === "media",
|
||||
},
|
||||
{
|
||||
label: copy.siteSettings,
|
||||
href: "/root/site-settings",
|
||||
icon: Globe2,
|
||||
active: active === "site-settings",
|
||||
},
|
||||
{
|
||||
label: copy.portfolio,
|
||||
href: "/root/portfolio",
|
||||
|
||||
Reference in New Issue
Block a user