Skip to content

Commit ecce26b

Browse files
author
Vivek Vishal
authored
Merge pull request #6526 from layer5io/vishalvivekm-patch-4
Update product set
2 parents a473b2f + e304a10 commit ecce26b

4 files changed

Lines changed: 67 additions & 4 deletions

File tree

src/sections/General/Navigation/index.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ import CloudIcon from "./utility/CloudIcon.js";
2121
import LogoutIcon from "./utility/LogoutIcon.js";
2222
// import LogoutIcon from "./utility/LogoutIcon.js";
2323
import KanvasIcon from "./utility/KanvasIcon.js";
24+
import Layer5CloudDarkIcon from "./utility/Layer5CloudDarkIcon.svg";
25+
import Layer5CloudLightIcon from "./utility/Layer5CloudLightIcon.svg";
2426

2527
const Navigation = () => {
2628
let data = useStaticQuery(
@@ -128,6 +130,7 @@ const Navigation = () => {
128130
}
129131
}`
130132
);
133+
const { isDark, toggleDark } = useStyledDarkMode();
131134
data["Products"] = {
132135
nodes: [
133136
{
@@ -144,12 +147,12 @@ const Navigation = () => {
144147
{
145148
frontmatter: {
146149
thumbnail: {
147-
img: meshery,
150+
img: isDark ? Layer5CloudLightIcon : Layer5CloudDarkIcon,
148151
},
149-
title: "Meshery, the Cloud Native Manager",
152+
title: "Layer5 Cloud & Catalog",
150153
},
151154
fields: {
152-
slug: "/cloud-native-management/meshery",
155+
slug: "/cloud-native-management/catalog",
153156
},
154157
},
155158
],
@@ -161,7 +164,6 @@ const Navigation = () => {
161164
const [expand, setExpand] = useState(false);
162165
const [scroll, setScroll] = useState(false);
163166
const [dropDown, setDropDown] = useState(false);
164-
const { isDark, toggleDark } = useStyledDarkMode();
165167
const themeToggler = () => toggleDark();
166168
const [userData, setUserData] = useState(null);
167169
const dropDownRef = useRef();
Lines changed: 30 additions & 0 deletions
Loading
Lines changed: 30 additions & 0 deletions
Loading

src/sections/General/Navigation/utility/menu-items.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ const Data = {
104104
{
105105
name: "Cloud + Catalog",
106106
path: "/cloud-native-management/catalog",
107+
sepLine: true,
107108
},
108109
{
109110
name: "Open source projects",

0 commit comments

Comments
 (0)