Skip to content

Commit

Permalink
Merge pull request #5552 from iArchitSharma/solfix
Browse files Browse the repository at this point in the history
Updated Solution pages
  • Loading branch information
leecalcote authored May 29, 2024
2 parents 5c0e647 + 6970ec3 commit 9f254cc
Show file tree
Hide file tree
Showing 7 changed files with 2,044 additions and 21 deletions.
32 changes: 26 additions & 6 deletions src/sections/CloudNativeDeployments/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import styled from "styled-components";
import { StaticImage } from "gatsby-plugin-image";
import { Link } from "gatsby";
const docker_ext = "../../assets/images/docker-extension/docker-extension-meshery.webp";
import meshery_operator from "../../assets/images/meshery-operator/meshery-operator-dark.svg";
import meshery_visualizer from "./images/meshery_visualizer.svg";
import meshery_designer from "./images/meshery_designer.svg";
import CatalogsLight from "../../assets/images/catalog/catalog-light.svg";
import CatalogsDark from "../../assets/images/catalog/catalog-dark.svg";
import { Container, Row, Col } from "../../reusecore/Layout";
Expand Down Expand Up @@ -121,6 +122,25 @@ const FeatureWrapper = styled.div`
}
}
}
.diagram-image {
display: flex;
flex-direction: column;
justify-content: center;
.image-wrapper {
display: flex;
justify-content: center;
align-items: center;
@media (max-width: 767px) {
justify-content: center;
}
.kubernetes-image {
@media (max-width: 767px) {
max-width: 90%;
margin-bottom: 2rem;
}
}
}
}
}
`;

Expand All @@ -132,10 +152,10 @@ const Feature = () => {
<FeatureWrapper>
<Container className="catalog-container">
<Row className="catalog">
<Col md={6} className="catalog-image">
<Col md={6} className="diagram-image">
<div className="image-wrapper">
{/* <img src={docker_ext} className="calalog-image" /> */}
<StaticImage src={docker_ext} alt="Meshery, Docker Extension for Meshery" loading="lazy" />
<img src={meshery_designer} className="kubernetes-image" />
{/* <StaticImage src={meshery_designer} alt="Meshery Designer" loading="lazy" /> */}
</div>
</Col>
<Col md={6} className="catalog-detail">
Expand All @@ -156,9 +176,9 @@ const Feature = () => {
</p>
<Link className="link" href="/cloud-native-management/meshmap/visualize">Learn more &rarr;</Link>
</Col>
<Col md={6} className="catalog-image">
<Col md={6} className="diagram-image">
<div className="image-wrapper">
<img src={meshery_operator} className="calalog-image" />
<img src={meshery_visualizer} className="kubernetes-image" />
</div>
</Col>
</Row>
Expand Down
658 changes: 658 additions & 0 deletions src/sections/CloudNativeDeployments/images/meshery_designer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
806 changes: 806 additions & 0 deletions src/sections/CloudNativeDeployments/images/meshery_visualizer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 15 additions & 13 deletions src/sections/Developer-Infrastructure/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ import React from "react";
import styled from "styled-components";
import { StaticImage } from "gatsby-plugin-image";
import { Link } from "gatsby";
const docker_ext = "../../assets/images/docker-extension/docker-extension-meshery.webp";
import meshery_operator from "../../assets/images/meshery-operator/meshery-operator-dark.svg";
import CatalogsLight from "../../assets/images/catalog/catalog-light.svg";
import CatalogsDark from "../../assets/images/catalog/catalog-dark.svg";
import orchestration_svg from "./images/orchestration.svg";
import whiteboard from "./images/whiteboard-1e9f33293030bc98a01945af9740863f.png";
import { Container, Row, Col } from "../../reusecore/Layout";
import { useStyledDarkMode } from "../../theme/app/useStyledDarkMode";

Expand Down Expand Up @@ -101,7 +99,7 @@ const FeatureWrapper = styled.div`
}
}
}
.catalog-image {
.diagram-image {
display: flex;
flex-direction: column;
justify-content: center;
Expand All @@ -112,13 +110,12 @@ const FeatureWrapper = styled.div`
@media (max-width: 767px) {
justify-content: center;
}
.calalog-image {
max-width: 300px;
.kubernetes-image {
@media (max-width: 767px) {
max-width: 200px;
margin-bottom: 20px;
max-width: 90%;
margin-bottom: 2rem;
}
}
}
}
}
}
Expand All @@ -132,9 +129,14 @@ const Feature = () => {
<FeatureWrapper>
<Container className="catalog-container">
<Row className="catalog">
<Col md={6} className="catalog-image">
{/* <Col md={6} className="catalog-image">
<div className="image-wrapper">
<img src={whiteboard} className="calalog-image" />
</div>
</Col> */}
<Col md={6} className="diagram-image">
<div className="image-wrapper">
<StaticImage src={docker_ext} alt="Meshery, Docker Extension for Meshery" loading="lazy" />
<img src={whiteboard} alt="Kubernetes Diagrams for anything" className="kubernetes-image" />
</div>
</Col>
<Col md={6} className="catalog-detail">
Expand All @@ -157,7 +159,7 @@ const Feature = () => {
</Col>
<Col md={6} className="catalog-image">
<div className="image-wrapper">
<img src={meshery_operator} className="calalog-image" />
<img src={orchestration_svg} className="calalog-image" />
</div>
</Col>
</Row>
Expand Down
537 changes: 537 additions & 0 deletions src/sections/Developer-Infrastructure/images/config.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/sections/Developer-Infrastructure/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import FeatureHero from "../SolutionHero";
import kubernetes_svg from "./images/kubernetes.svg";
import orchestration_svg from "./images/orchestration.svg";
import config_svg from "./images/config.svg";
import cluster_svg from "./images/cluster.png";
import collaborate_svg from "./images/collaborate.svg";
import { Container } from "../../reusecore/Layout";
Expand All @@ -23,7 +23,7 @@ const KubernetesMultiCluster = () => {
heading: "Build the bridge",
subtitle:
"Go from developer handoffs to ongoing conversations with a shared language between design and development.",
image: orchestration_svg,
image: config_svg,
},
{
heading: "Continuous visibility across all of your clusters and workloads.",
Expand Down

0 comments on commit 9f254cc

Please sign in to comment.