forked from emre/www_projectmycelium_com
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:
@@ -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 →
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
|
||||
Reference in New Issue
Block a user