From a8105a0551fe9f11de492a75a4ccd6ee24afdb80 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Wed, 19 Nov 2025 17:51:30 +0100 Subject: [PATCH] refactor: replace custom links with Button component in CallToAction components - Replaced custom tag with Button component (as="a", variant="link", color="cyan") in agents CallToAction - Replaced Link component with Button component (variant="link", color="cyan") in network CallToAction - Removed unused Link import from network CallToAction - Standardized link styling across CallToAction components for consistency --- src/pages/agents/CallToAction.tsx | 58 ++++++++++++++---------------- src/pages/network/CallToAction.tsx | 5 ++- 2 files changed, 29 insertions(+), 34 deletions(-) diff --git a/src/pages/agents/CallToAction.tsx b/src/pages/agents/CallToAction.tsx index 6778028..f995929 100644 --- a/src/pages/agents/CallToAction.tsx +++ b/src/pages/agents/CallToAction.tsx @@ -48,39 +48,35 @@ export function CallToAction() { Use today’s components —models, storage, compute, and network— to deploy workloads, connect nodes, and prepare for the next generation of distributed AI.

- {/* ✅ Two cards, stacked center with spacing */} -
-
- -
+ {/* ✅ Button row – same structure as homepage CTA */} +
+ -
- -
+ -
- - Follow Development - - -
+
diff --git a/src/pages/network/CallToAction.tsx b/src/pages/network/CallToAction.tsx index 07ccde1..bb0394d 100644 --- a/src/pages/network/CallToAction.tsx +++ b/src/pages/network/CallToAction.tsx @@ -1,6 +1,5 @@ "use client"; -import { Link } from 'react-router-dom'; import { Container } from '@/components/Container' import { Button } from "@/components/Button"; @@ -66,9 +65,9 @@ Use the network to link environments, deploy workloads, or host nodes to strengt Deploy in Cloud - +