forked from emre/www_projectmycelium_com
- Implemented breadcrumb-style navigation in header dropdown showing "Cloud > [Section]" for compute, storage, and GPU pages - Redesigned GPU page components with dark theme, horizontal card sliders, and improved visual hierarchy - Updated CallToAction components across multiple pages with consistent background colors and border styling
54 lines
2.1 KiB
TypeScript
54 lines
2.1 KiB
TypeScript
"use client";
|
|
|
|
import { Container } from "@/components/Container";
|
|
import { Button } from "@/components/Button";
|
|
|
|
export function CallToAction() {
|
|
return (
|
|
<section className="relative overflow-hidden bg-[#121212]">
|
|
{/* ✅ Top horizontal line with spacing */}
|
|
<div className="max-w-7xl bg-[#121212] mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
|
|
<div className="w-full border-t border-l border-r border-gray-800" />
|
|
|
|
{/* ✅ Main boxed area */}
|
|
<div
|
|
id="get-started"
|
|
className="relative py-18 max-w-7xl mx-auto bg-[#111111] border border-t-0 border-b-0 border-gray-800"
|
|
>
|
|
|
|
|
|
<Container className="relative">
|
|
<div className="mx-auto max-w-3xl text-center">
|
|
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
|
|
Choose How You Want to Start
|
|
</h2>
|
|
|
|
<p className="mt-6 text-lg text-gray-300">
|
|
Use the network to connect workloads or host nodes to deepen mesh resilience and run your environments on your own hardware.
|
|
</p>
|
|
|
|
{/* ✅ Two cards, stacked center with spacing */}
|
|
<div className="mt-10 flex flex-wrap justify-center gap-x-10 gap-y-8">
|
|
<div className="flex flex-col items-center text-center max-w-xs">
|
|
<Button to="/download" variant="solid" color="cyan" className="mt-4">
|
|
Get Mycelium Network
|
|
</Button>
|
|
</div>
|
|
|
|
<div className="flex flex-col items-center text-center max-w-xs">
|
|
<Button to="https://threefold.info/mycelium_network/docs/" as="a" target="_blank" variant="outline" color="white" className="mt-4">
|
|
Host a Node
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</Container>
|
|
</div>
|
|
|
|
{/* ✅ Bottom horizontal line with spacing */}
|
|
<div className="w-full border-b border-gray-800" />
|
|
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-800 bg-transparent" />
|
|
</section>
|
|
);
|
|
}
|