layer5
layer5 copied to clipboard
[Bug] Fix inactive Button components, typo in GCP Diagram header, and update non-canonical routes
Description
Several UI components across the website suffer from inactive CTA buttons, broken documentation links, typos, and non-canonical route references:
-
Dead Button & Typo in GCP Diagram header (
src/sections/GCP-Diagram/header.js):- The
<Button>component checksprops.$url. The header component passesurl="/kanvas"instead of$url, which results in the CTA button rendering without a link or anchor wrapper, making it completely dead and unclickable on click. - In addition, there is a visible typo in the button text:
title="Try Kanvasow!"instead of"Try Kanvas Now!". - The link targets the legacy
/kanvasroute with$external={true}instead of the canonical/cloud-native-management/kanvaswith$external={false}.
- The
-
Dead Button in GitOps Performance Management (
src/sections/gitops/PerformanceManagementPage.js):- The "Go to Documentation" button passes
url="https://cloud.layer5.io/connect/github/new"instead of$url. Consequently, the button is completely inert/unclickable. It also uses non-transientprimaryinstead of$primaryand lacks$external={true}.
- The "Go to Documentation" button passes
-
Broken Docs Link & Non-Canonical Routes in Meshery Features (
src/sections/Meshery/Meshery-features/index.js):- The "Environments and GitOps Integration" feature sets
learnMoreLink: "/concepts/logical/environments"without thehttps://docs.meshery.iodomain, leading to a 404 page onlayer5.io. - The "Infrastructure as Design" and "Catalog" features link to legacy
/kanvasand/cataloginstead of canonical/cloud-native-management/kanvasand/cloud-native-management/catalog.
- The "Environments and GitOps Integration" feature sets
-
Non-Canonical Route References in Diagram, CTA, and Community Sections:
src/sections/AWS-Diagram/header.js: uses$url="/kanvas"and$external={true}instead of$url="/cloud-native-management/kanvas"with$external={false}.src/sections/Kanvas/kanvas-cta/index.js: uses$url="/kanvas"instead of/cloud-native-management/kanvas.src/sections/Platform-Engineering/header.js: uses<Link to={"/kanvas"}>instead of/cloud-native-management/kanvas.src/sections/Blog/Blog-single/author.js: uses$url="/kanvas"instead of/cloud-native-management/kanvas.src/sections/Community/Member-single/index.js: links to/projects/service-mesh-performanceinstead of canonical/projects/cloud-native-performance.src/sections/Community/Newcomers-guide/index.js: uses$url="/newcomer"instead of canonical/newcomers.src/sections/gitops/SnapshotPage.js: uses non-transientprimaryinstead of$primaryand adds$external={true}for external link.
Expected Behavior
- All
<Button>CTAs should have valid$urlprops and work when clicked. - External documentation links should point to the correct documentation domain (
https://docs.meshery.io/...) rather than 404ing onlayer5.io. - Internal links should navigate directly to canonical routes without relying on client/server redirects.
- Button titles should be free of typos (
"Try Kanvas Now!").
Environment
- Host OS: Any
- Browser: Any