refactor: replace custom links with Button component in CallToAction components

- Replaced custom <a> 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
This commit is contained in:
2025-11-19 17:51:30 +01:00
parent de5d990fc9
commit a8105a0551
2 changed files with 29 additions and 34 deletions

View File

@@ -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
</Button>
<Link to="/nodes" className="text-cyan-400 hover:text-cyan-300 transition-colors">
<Button to="/nodes" variant="link" color="cyan">
Host a Node &rarr;
</Link>
</Button>
</div>
</div>
</Container>