Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add redirect #6060

Merged
merged 10 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,24 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
redirectInBrowser: true,
isPermanent: true,
});
createRedirect({
fromPath: "/cloud-native-management/kanvas/visualize",
toPath: "/cloud-native-management/kanvas/operator",
vishalvivekm marked this conversation as resolved.
Show resolved Hide resolved
redirectInBrowser: true,
isPermanent: true,
});
createRedirect({
fromPath: "/kanvas/visualize",
toPath: "/cloud-native-management/kanvas/operator",
vishalvivekm marked this conversation as resolved.
Show resolved Hide resolved
redirectInBrowser: true,
isPermanent: true,
});
createRedirect({
fromPath: "/kanvas/operator",
vishalvivekm marked this conversation as resolved.
Show resolved Hide resolved
toPath: "/cloud-native-management/kanvas/operator",
vishalvivekm marked this conversation as resolved.
Show resolved Hide resolved
vishalvivekm marked this conversation as resolved.
Show resolved Hide resolved
redirectInBrowser: true,
isPermanent: true,
});
createRedirect({
fromPath: "/resources/cloud-native/hpes-adoption-of-meshery-and-meshmap",
toPath: "/resources/case-study/hpes-adoption-of-meshery-and-meshmap",
Expand Down
21 changes: 21 additions & 0 deletions src/pages/cloud-native-management/kanvas/operate.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from "react";

import SEO from "../../../components/seo";

import KanvasOperator from "../../../sections/Kanvas/Kanvas-visualize/index";

const KanvasVisualizePage = () => {

return (
<>
<KanvasOperator />

</>
);
};
export default KanvasVisualizePage;


export const Head = () => {
return <SEO title="Kanvas Operator" description="Import your existing Kubernetes, Helm, or Docker Compose applications, monitor various performance metrics and see your clusters in-action." />;
};
21 changes: 0 additions & 21 deletions src/pages/cloud-native-management/kanvas/visualize.js

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ export default function VisualizerFeatures({ features }) {
<VisualizerFeaturesWrapper>
<Container className="visualizer-trigger-container">
<div className="root test-container2">
<Link to="/cloud-native-management/kanvas/visualize">
<Link to="/cloud-native-management/kanvas/operator">
vishalvivekm marked this conversation as resolved.
Show resolved Hide resolved
<div id="featureHeading" className="fixed" onMouseEnter={handleEnter} onMouseLeave={handleLeave}>
<h1>Visualize</h1>
<h1>Operate</h1>
<div className="learn-more">
<h5 style={cursorOverArrow ? { color: "#ffffff" } : { color: "#ececec" }}>Learn more</h5>
<img src={cursorOverArrow ? LinkArrow : LinkArrowDark} alt="Learn more" style={{ maxWidth: "15%" }} className={cursorOverArrow ? "arrow-enter" : "arrow"} />
</div>
</div>
</Link>
<div className="g-grid-container contentContainer" id="add-border">
<Link to="/cloud-native-management/kanvas/visualize">
<Link to="/cloud-native-management/kanvas/operator">
vishalvivekm marked this conversation as resolved.
Show resolved Hide resolved
<div className="diagram scroll hideInMobile">
<VisualizerFeaturesDiagram activeExampleIndex={activeExampleIndex} />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ const KanvasisualizeBanner = () => {
</div> */}
<div className="banner">
<div className="banner-text">
<h1>Visualize your infrastructure </h1>
<h1>Operate your infrastructure </h1>
<h4>See your designs <span>in action.</span> Operate with <span>best practices.</span></h4>
<KanvasBtn title="Explore Kanvasisualizer" />
<KanvasBtn title="Explore Kanvasoperator" />
</div>
{/* <div className="banner-image">
<img src={BannerImage} alt="" />
Expand All @@ -103,4 +103,4 @@ const KanvasisualizeBanner = () => {
);
};

export default KanvasisualizeBanner;
export default KanvasisualizeBanner;
8 changes: 4 additions & 4 deletions src/sections/Kanvas/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ const Kanvas = (props) => {
),
},
{
title: "Visualizer Mode",
title: "Operator Mode",
description:
"Visualizer offers an interactive topology of your Kubernetes clusters with live terminal sessions, log streaming and performance testing of your applications. Designs created in Designer mode can be deployed and viewed as running in your environment using Visualizer.",
"Operator offers an interactive topology of your Kubernetes clusters with live terminal sessions, log streaming and performance testing of your applications. Designs created in Designer mode can be deployed and viewed as running in your environment using Operator.",
content: (
<img
src={visualizerImage}
alt="Visualizer Mode"
alt="Operator Mode"
className="modes-image"
/>
),
Expand Down Expand Up @@ -144,7 +144,7 @@ const Kanvas = (props) => {
[
{
title: "Bring those ideas to life",
description: "Designer and Visualizer live side-by-side, so all design work, from ideation to operation, can be found in one place.",
description: "Designer and Operator live side-by-side, so all design work, from ideation to operation, can be found in one place.",
imgContent: (
<>
<img id="avatar-1" src={Avatar1} alt="" />
Expand Down