layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[Bug] Fix inactive Button components, typo in GCP Diagram header, and update non-canonical routes

Open ayushbuilds-code opened this issue 3 weeks ago • 0 comments

Description

Several UI components across the website suffer from inactive CTA buttons, broken documentation links, typos, and non-canonical route references:

  1. Dead Button & Typo in GCP Diagram header (src/sections/GCP-Diagram/header.js):

    • The <Button> component checks props.$url. The header component passes url="/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 /kanvas route with $external={true} instead of the canonical /cloud-native-management/kanvas with $external={false}.
  2. 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-transient primary instead of $primary and lacks $external={true}.
  3. 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 the https://docs.meshery.io domain, leading to a 404 page on layer5.io.
    • The "Infrastructure as Design" and "Catalog" features link to legacy /kanvas and /catalog instead of canonical /cloud-native-management/kanvas and /cloud-native-management/catalog.
  4. 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-performance instead 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-transient primary instead of $primary and adds $external={true} for external link.

Expected Behavior

  • All <Button> CTAs should have valid $url props and work when clicked.
  • External documentation links should point to the correct documentation domain (https://docs.meshery.io/...) rather than 404ing on layer5.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

ayushbuilds-code avatar Nov 09 '26 21:11 ayushbuilds-code