feat: add cloud services dropdown menu in header

- Replaced individual cloud service pages with CallToAction components for Compute, Storage and GPU
- Added dropdown menu in header to consolidate cloud service navigation options
- Removed redundant page components (Compute.tsx, Storage.tsx, Gpu.tsx) that shared identical layouts
- Updated route components to use new CallToAction components
- Added ChevronDownIcon to visually indicate dropdown functionality
This commit is contained in:
2025-10-24 15:50:12 +02:00
parent 11689fdd37
commit 752668b38d
9 changed files with 197 additions and 99 deletions

View File

@@ -0,0 +1,40 @@
import { CircleBackground } from '../../components/CircleBackground'
import { Container } from '../../components/Container'
import { Button } from '../../components/Button'
export function CallToAction() {
return (
<section
id="get-started"
className="relative overflow-hidden bg-gray-900 py-20 sm:py-28"
>
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
<CircleBackground color="#06b6d4" className="animate-spin-slower" />
</div>
<Container className="relative">
<div className="mx-auto max-w-2xl text-center">
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
Get Started Today
</h2>
<p className="mt-6 text-lg text-gray-300">
Download the Mycelium app and step into the future of secure, peer-to-peer networking; fast, private, and decentralized.
</p>
<div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
<Button to="/download" variant="solid" color="white">
Get Mycelium Connector
</Button>
<Button
to="https://threefold.info/mycelium_network/docs/"
as="a"
target="_blank"
variant="outline"
color="white"
>
Read Docs
</Button>
</div>
</div>
</Container>
</section>
)
}