From 2172ee9d6220e5f36eaa7dd8ca4a76ff8e493d5e Mon Sep 17 00:00:00 2001 From: megha1807 Date: Tue, 10 Mar 2026 20:40:24 +0530 Subject: [PATCH 1/3] SEO: Improve Kanvas section headings and image accessibility Signed-off-by: megha1807 --- .../Kanvas-design/kanvas-design-hero.js | 140 ++++++++++-------- .../kanvas-design-integrations.js | 8 +- 2 files changed, 80 insertions(+), 68 deletions(-) diff --git a/src/sections/Kanvas/Kanvas-design/kanvas-design-hero.js b/src/sections/Kanvas/Kanvas-design/kanvas-design-hero.js index 0fbdacf50a9cc..d041c5195cc65 100644 --- a/src/sections/Kanvas/Kanvas-design/kanvas-design-hero.js +++ b/src/sections/Kanvas/Kanvas-design/kanvas-design-hero.js @@ -9,95 +9,107 @@ import { useState } from "react"; import { useStyledDarkMode } from "../../../theme/app/useStyledDarkMode"; const HeroSectionWrapper = styled.div` + display: flex; + flex-direction: row; + background-color: ${(props) => props.theme.grey121212ToWhite}; + width: 100%; + justify-content: space-evenly; + align-items: center; + padding: 3% 5% 8%; + transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); - display: flex; - flex-direction: row; - background-color: ${props => props.theme.grey121212ToWhite};; - width: 100%; - justify-content: space-evenly; - align-items: center; - padding: 3% 5% 8%; - transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); + @media only screen and (max-width: 767px) { + text-align: center; + flex-direction: column-reverse; + } + .hero-text { + display: flex; + flex-direction: column; + flex: 0 0 35%; + margin-top: 5%; @media only screen and (max-width: 767px) { - text-align: center; - flex-direction: column-reverse; + max-width: 100%; + margin-top: 15%; } + } - .hero-text { - display: flex; - flex-direction: column; - flex: 0 0 35%; - margin-top: 5%; - @media only screen and (max-width: 767px) { - max-width: 100%; - margin-top: 15%; - } - } + h2 { + padding-bottom: 2%; + } - h2 { - padding-bottom: 2%; + .hero-image { + display: grid; + grid-template-rows: 5rem 5rem; + place-items: center; + margin: 5% 0; + flex: 0 0 50%; + max-width: 60%; + @media only screen and (max-width: 767px) { + max-width: 100%; } - .hero-image { - display: grid; - grid-template-rows: 5rem 5rem; - place-items: center; - margin: 5% 0; - flex: 0 0 50%; - max-width: 60%; - @media only screen and (max-width: 767px) { - max-width: 100%; - } - - .locator { - /* transform: translateY(-5rem); */ - transition: 1s; - z-index: 1; - } - .locator-moving { - transform: translateY(5rem); - transition: 1s; - z-index: 1; - } - - .map { - opacity: 0; - transition: opacity ease 0.5s; - z-index: 0; - } - .map-visible { - opacity: 1; - transition: opacity 1s ease 0.5s; - } + .locator { + /* transform: translateY(-5rem); */ + transition: 1s; + z-index: 1; + } + .locator-moving { + transform: translateY(5rem); + transition: 1s; + z-index: 1; + } + .map { + opacity: 0; + transition: opacity ease 0.5s; + z-index: 0; + } + .map-visible { + opacity: 1; + transition: opacity 1s ease 0.5s; } + } `; - const KanvasHeroSection = () => { const [locatorRef, inView] = useInView({ threshold: 0.8 }); const [imageInView, setimageInView] = useState(false); - if (inView && !imageInView) - setimageInView(true); - else if (imageInView && !inView) - setimageInView(false); + if (inView && !imageInView) setimageInView(true); + else if (imageInView && !inView) setimageInView(false); const { isDark } = useStyledDarkMode(); return (
-

Design your infrastructure

-

Kanvasis the world’s only visual designer for Kubernetes and cloud native applications. Design, deploy, and manage your Kubernetes-based, cloud native deployments allowing you to speed up infrastructure configuration.

+

Kanvas Designer :Visual Cloud Native Infrastructure Tool

+ +

+ Design Your Kubernetes & Cloud Native Infrastructure +

+

+ Kanvasis the world's only visual designer for Kubernetes and cloud + native applications. Design, deploy, and manage your + Kubernetes-baseddeployments, allowing you to speed up infrastructure + configuration. +

- locator - integrations + Kanvas visual infrastructure design locator icon + Kanvas infrastructure visualization diagram showing cloud native components
- ); }; -export default KanvasHeroSection; \ No newline at end of file +export default KanvasHeroSection; diff --git a/src/sections/Kanvas/Kanvas-design/kanvas-design-integrations.js b/src/sections/Kanvas/Kanvas-design/kanvas-design-integrations.js index b9c2b9451e865..2f090dc6381e1 100644 --- a/src/sections/Kanvas/Kanvas-design/kanvas-design-integrations.js +++ b/src/sections/Kanvas/Kanvas-design/kanvas-design-integrations.js @@ -125,19 +125,19 @@ const KanvasIntegrationsSection = () => {
-

+

{Math.ceil(integrations.allMdx.totalCount / 10) * 10}+ Built-in Integrations -

+
-

+

Support for all of your Cloud Native Infrastructure and Applications. -

+