From 8a532ccb15d85be48ec1c964fb6558320a8ed296 Mon Sep 17 00:00:00 2001 From: CalebZoe <179137388+CalebZoe@users.noreply.github.com> Date: Fri, 8 Nov 2024 17:12:59 +0530 Subject: [PATCH 1/2] rearrange products in nav Signed-off-by: CalebZoe <179137388+CalebZoe@users.noreply.github.com> --- .../General/Navigation/utility/menu-items.js | 41 +++++++++++-------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/src/sections/General/Navigation/utility/menu-items.js b/src/sections/General/Navigation/utility/menu-items.js index 9e3a15cc7447..858cca87834e 100644 --- a/src/sections/General/Navigation/utility/menu-items.js +++ b/src/sections/General/Navigation/utility/menu-items.js @@ -84,41 +84,46 @@ const Data = { path: "/products", subItems: [ { - name: "Meshery", - path: "/cloud-native-management/meshery", + name: "Kanvas", + path: "/cloud-native-management/kanvas", sepLine: true }, { - name: "Kanvas", - path: "/cloud-native-management/kanvas", + name: "Designer", + path: "/cloud-native-management/design", + }, + { + name: "Operator", + path: "/cloud-native-management/operate", }, - // { - // name: "---", - // // path: "/cloud-native-management/kanvas", - - // }, { - name: "Catalog", + name: "Cloud + Catalog", path: "/cloud-native-management/catalog", }, { - name: "Docker Extension", - path: "/docker-extension-meshery", + name: "Open source projects", + path: "/projects", + sepLine: true }, { - name: "Playground", - path: "/cloud-native-management/playground", + name: "Meshery", + path: "/cloud-native-management/meshery", }, + { + name: "NightHawk", + path: "/projects/nighthawk", + }, + // { + // name: "---", + // // path: "/cloud-native-management/kanvas", + + // }, ], actionItems: [ { actionName: "Pricing", actionLink: "/pricing", }, - { - actionName: "Open source projects", - actionLink: "/projects", - }, // { // actionName: "Pricing", // actionLink: "/pricing", From 99c78e688ac0cc86d08d1e6192e4ccc747f0311f Mon Sep 17 00:00:00 2001 From: CalebZoe <179137388+CalebZoe@users.noreply.github.com> Date: Fri, 8 Nov 2024 18:27:45 +0530 Subject: [PATCH 2/2] Apply suggestions from code review Signed-off-by: CalebZoe <179137388+CalebZoe@users.noreply.github.com> --- src/sections/General/Navigation/utility/menu-items.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sections/General/Navigation/utility/menu-items.js b/src/sections/General/Navigation/utility/menu-items.js index 858cca87834e..3bc7ad493af1 100644 --- a/src/sections/General/Navigation/utility/menu-items.js +++ b/src/sections/General/Navigation/utility/menu-items.js @@ -90,11 +90,11 @@ const Data = { }, { name: "Designer", - path: "/cloud-native-management/design", + path: "/cloud-native-management/kanvas/design", }, { name: "Operator", - path: "/cloud-native-management/operate", + path: "/cloud-native-management/kanvas/operate", }, { name: "Cloud + Catalog",