Compare commits
38 Commits
developmen
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
| aab7e66f29 | |||
| 8276ede9fd | |||
| d16d4e02e0 | |||
| 2865b1e1fd | |||
| b723f889cb | |||
| 2752c690d6 | |||
| a7dd803da2 | |||
| 22e2e4b80c | |||
| 5ab909bd12 | |||
| 61cbaae7e0 | |||
| f46482e0f4 | |||
| ee6b5458de | |||
| 100cae988c | |||
| 716915b19e | |||
| f04a7eb3cf | |||
| de89539de1 | |||
| 1851c2d6fb | |||
| 451c1f5c56 | |||
| 0b6bcfedd0 | |||
| 9bccc89309 | |||
| 73abd593e3 | |||
| 1f267b057d | |||
| 2b5f20f1e9 | |||
| aca13e275b | |||
| e8c424539e | |||
| 912ea4436a | |||
| 53fd05e6b7 | |||
| 5a023651b5 | |||
| b9ba2bab06 | |||
| 852d9bfc3e | |||
| cd3ce54a40 | |||
| 6f4f451144 | |||
| 4b6c8d8327 | |||
| a61267944d | |||
| 46d02fca47 | |||
| 6779218da6 | |||
| 04b94367a9 | |||
| cdd6e3104b |
|
Before Width: | Height: | Size: 497 KiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 431 KiB |
|
Before Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 35 KiB |
|
Before Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 111 KiB |
|
Before Width: | Height: | Size: 878 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 938 KiB |
|
Before Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 316 KiB |
|
Before Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
BIN
public/images/dark-bento-01-integrations.png
Normal file
|
After Width: | Height: | Size: 355 KiB |
|
Before Width: | Height: | Size: 327 KiB |
|
Before Width: | Height: | Size: 140 KiB |
BIN
public/images/encrypted.png
Normal file
|
After Width: | Height: | Size: 888 KiB |
BIN
public/images/filesystem.png
Normal file
|
After Width: | Height: | Size: 910 KiB |
4
public/images/github.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" aria-label="GitHub" viewBox="0 0 512 512" id="github">
|
||||
<rect width="512" height="512" fill="#1B1817" rx="15%"></rect>
|
||||
<path fill="#fff" d="M335 499c14 0 12 17 12 17H165s-2-17 12-17c13 0 16-6 16-12l-1-50c-71 16-86-28-86-28-12-30-28-37-28-37-24-16 1-16 1-16 26 2 40 26 40 26 22 39 59 28 74 22 2-17 9-28 16-35-57-6-116-28-116-126 0-28 10-51 26-69-3-6-11-32 3-67 0 0 21-7 70 26 42-12 86-12 128 0 49-33 70-26 70-26 14 35 6 61 3 67 16 18 26 41 26 69 0 98-60 120-117 126 10 8 18 24 18 48l-1 70c0 6 3 12 16 12z"></path>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 563 B |
BIN
public/images/ipfs.png
Normal file
|
After Width: | Height: | Size: 834 KiB |
BIN
public/images/pods.png
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
BIN
public/images/s3.png
Normal file
|
After Width: | Height: | Size: 1007 KiB |
10
src/App.tsx
@@ -1,4 +1,4 @@
|
||||
import { BrowserRouter, Routes, Route } from 'react-router-dom';
|
||||
import { HashRouter, Routes, Route } from 'react-router-dom';
|
||||
import { Layout } from './components/Layout';
|
||||
import { lazy, Suspense } from 'react';
|
||||
|
||||
@@ -10,10 +10,11 @@ const DownloadPage = lazy(() => import('./pages/download/DownloadPage'));
|
||||
const ComputePage = lazy(() => import('./pages/compute/ComputePage'));
|
||||
const StoragePage = lazy(() => import('./pages/storage/StoragePage'));
|
||||
const GpuPage = lazy(() => import('./pages/gpu/GpuPage'));
|
||||
const PodsPage = lazy(() => import('./pages/pods/PodsPage'));
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<HashRouter>
|
||||
<Suspense fallback={<div>Loading...</div>}>
|
||||
<Routes>
|
||||
<Route path="/" element={<Layout />}>
|
||||
@@ -24,11 +25,12 @@ function App() {
|
||||
<Route path="download" element={<DownloadPage />} />
|
||||
<Route path="compute" element={<ComputePage />} />
|
||||
<Route path="storage" element={<StoragePage />} />
|
||||
<Route path="gpu" element={<GpuPage />} />
|
||||
<Route path="gpu" element={<GpuPage />} />
|
||||
<Route path="pods" element={<PodsPage />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
</Suspense>
|
||||
</BrowserRouter>
|
||||
</HashRouter>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ export function Footer() {
|
||||
<div className="flex flex-col items-start justify-between gap-y-12 pt-16 pb-6 lg:flex-row lg:items-center lg:py-8">
|
||||
<div>
|
||||
<div className="flex items-center text-gray-900">
|
||||
<img src="/src/images/logomark.svg" alt="Mycelium Logomark" className="h-15 w-15 flex-none" />
|
||||
<img src="/images/logomark.svg" alt="Mycelium Logomark" className="h-15 w-15 flex-none" />
|
||||
<div className="ml-4">
|
||||
<p className="text-base font-semibold">Project Mycelium</p>
|
||||
<p className="mt-1 text-sm">Unleash the Power of Decentralization</p>
|
||||
@@ -27,11 +27,14 @@ export function Footer() {
|
||||
<Link to="/agents" className="text-sm text-gray-700 hover:text-cyan-500 transition-colors">
|
||||
Agents
|
||||
</Link>
|
||||
<Link to="/pods" className="text-sm text-gray-700 hover:text-cyan-500 transition-colors">
|
||||
Pods
|
||||
</Link>
|
||||
</nav>
|
||||
</div>
|
||||
<div className="group relative -mx-4 flex items-center self-stretch p-4 transition-colors hover:bg-gray-100 sm:self-auto sm:rounded-2xl lg:mx-0 lg:self-auto lg:p-6">
|
||||
<div className="relative flex h-16 w-16 flex-none items-center justify-center">
|
||||
<img src="/src/images/github.svg" alt="GitHub" className="h-16 w-16" />
|
||||
<img src="/images/github.svg" alt="GitHub" className="h-16 w-16" />
|
||||
</div>
|
||||
<div className="ml-4 lg:w-72">
|
||||
<p className="text-base font-semibold text-gray-900">
|
||||
@@ -46,7 +49,7 @@ export function Footer() {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex flex-col items-center border-t border-gray-200 pt-8 pb-12 md:flex-row-reverse md:justify-between md:pt-6">
|
||||
<div className="flex flex-col items-center border-t border-gray-100 pt-8 pb-12 md:flex-row-reverse md:justify-between md:pt-6">
|
||||
<p className="mt-6 text-sm text-gray-500 md:mt-0">
|
||||
© Copyright{' '}
|
||||
<a href="https://www.threefold.io" target="_blank" rel="noopener noreferrer" className="hover:text-cyan-500 transition-colors">
|
||||
|
||||
@@ -24,13 +24,12 @@ export function Header() {
|
||||
if (currentPath.startsWith('/compute')) return 'Compute';
|
||||
if (currentPath.startsWith('/storage')) return 'Storage';
|
||||
if (currentPath.startsWith('/gpu')) return 'GPU';
|
||||
if (currentPath.startsWith('/cloud')) return 'Cloud';
|
||||
return 'Cloud';
|
||||
return 'Cloud';
|
||||
};
|
||||
|
||||
return (
|
||||
<header className="bg-white">
|
||||
<nav className="border-b border-gray-200">
|
||||
<nav className="border-b border-gray-100">
|
||||
<Container className="flex bg-transparent justify-between py-4">
|
||||
<div className="relative z-10 flex items-center gap-16">
|
||||
<Link to="/" aria-label="Home">
|
||||
@@ -40,7 +39,14 @@ export function Header() {
|
||||
<Dropdown
|
||||
buttonContent={
|
||||
<>
|
||||
{getCurrentPageName()}
|
||||
{['Compute', 'Storage', 'GPU'].includes(getCurrentPageName()) ? (
|
||||
<>
|
||||
<span className="text-gray-500">Cloud {' >'} </span>
|
||||
<span>{getCurrentPageName()}</span>
|
||||
</>
|
||||
) : (
|
||||
'Cloud'
|
||||
)}
|
||||
<ChevronDownIcon className="h-5 w-5" aria-hidden="true" />
|
||||
</>
|
||||
}
|
||||
@@ -58,6 +64,12 @@ export function Header() {
|
||||
>
|
||||
Agents
|
||||
</Link>
|
||||
<Link
|
||||
to="/pods"
|
||||
className="text-base/7 tracking-tight text-gray-700 hover:text-cyan-500 transition-colors"
|
||||
>
|
||||
Pods
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center gap-6">
|
||||
@@ -69,7 +81,7 @@ export function Header() {
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Start Deployment
|
||||
Deploy Now
|
||||
</Button>
|
||||
<Button to="/download" variant="solid" color="cyan">
|
||||
Get Mycelium Connector
|
||||
@@ -90,7 +102,7 @@ export function Header() {
|
||||
</nav>
|
||||
<Dialog as="div" className="lg:hidden" open={mobileMenuOpen} onClose={setMobileMenuOpen}>
|
||||
<div className="fixed inset-0 z-10" />
|
||||
<Dialog.Panel className="fixed inset-y-0 right-0 z-10 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10">
|
||||
<Dialog.Panel className="fixed inset-y-0 right-0 z-10 w-full overflow-y-auto lg:bg-transparent lg:bg-transparent bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10">
|
||||
<div className="flex items-center justify-between">
|
||||
<Link to="#" className="-m-1.5 p-1.5">
|
||||
<span className="sr-only">Mycelium</span>
|
||||
@@ -117,6 +129,7 @@ export function Header() {
|
||||
key={item.name}
|
||||
to={item.href}
|
||||
className="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
|
||||
onClick={() => setMobileMenuOpen(false)}
|
||||
>
|
||||
{item.name}
|
||||
</Link>
|
||||
@@ -124,15 +137,24 @@ export function Header() {
|
||||
<Link
|
||||
to="/network"
|
||||
className="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
|
||||
onClick={() => setMobileMenuOpen(false)}
|
||||
>
|
||||
Network
|
||||
</Link>
|
||||
<Link
|
||||
to="/agents"
|
||||
className="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
|
||||
onClick={() => setMobileMenuOpen(false)}
|
||||
>
|
||||
Agents
|
||||
</Link>
|
||||
<Link
|
||||
to="/pods"
|
||||
className="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
|
||||
onClick={() => setMobileMenuOpen(false)}
|
||||
>
|
||||
Pods
|
||||
</Link>
|
||||
</div>
|
||||
<div className="py-6">
|
||||
<Button
|
||||
@@ -142,10 +164,11 @@ export function Header() {
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="w-full"
|
||||
onClick={() => setMobileMenuOpen(false)}
|
||||
>
|
||||
Start Deployment
|
||||
</Button>
|
||||
<Button to="/download" variant="solid" color="cyan" className="mt-4 w-full">
|
||||
<Button to="/download" variant="solid" color="cyan" className="mt-4 w-full" onClick={() => setMobileMenuOpen(false)}>
|
||||
Get Mycelium Connector
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
@@ -106,7 +106,7 @@ export const H5 = createTextComponent(
|
||||
)
|
||||
export const Eyebrow = createTextComponent(
|
||||
'h2',
|
||||
'text-base/7 font-semibold tracking-[0.18em] uppercase',
|
||||
'text-base/7 font-semibold uppercase tracking-[0.16em]',
|
||||
{ color: 'accent' }
|
||||
)
|
||||
export const SectionHeader = createTextComponent(
|
||||
@@ -162,5 +162,5 @@ export const DownloadCardDescription = createTextComponent(
|
||||
'text-base/7 leading-normal tracking-normal'
|
||||
)
|
||||
|
||||
export const CT = createTextComponent('span', 'text-lg lg:text-xl font-semibold')
|
||||
export const CT = createTextComponent('span', 'text-base lg:text-lg font-medium')
|
||||
export const CP = createTextComponent('p', 'text-sm lg:text-base tracking-wide leading-tight font-light')
|
||||
|
||||
@@ -20,15 +20,6 @@ export const InfiniteMovingCards = ({
|
||||
const scrollerRef = React.useRef<HTMLUListElement>(null);
|
||||
const [start, setStart] = useState(false);
|
||||
|
||||
const getDirection = useCallback(() => {
|
||||
if (containerRef.current) {
|
||||
if (direction === "left") {
|
||||
containerRef.current.style.setProperty("--animation-direction", "forwards");
|
||||
} else {
|
||||
containerRef.current.style.setProperty("--animation-direction", "reverse");
|
||||
}
|
||||
}
|
||||
}, [direction]);
|
||||
|
||||
const getSpeed = useCallback(() => {
|
||||
if (containerRef.current) {
|
||||
@@ -53,11 +44,10 @@ export const InfiniteMovingCards = ({
|
||||
}
|
||||
});
|
||||
|
||||
getDirection();
|
||||
getSpeed();
|
||||
setStart(true);
|
||||
}
|
||||
}, [getDirection, getSpeed]);
|
||||
}, [getSpeed]);
|
||||
|
||||
useEffect(() => {
|
||||
addAnimation();
|
||||
@@ -75,6 +65,9 @@ export const InfiniteMovingCards = ({
|
||||
start && "animate-scroll",
|
||||
pauseOnHover && "hover:[animation-play-state:paused]",
|
||||
)}
|
||||
style={{
|
||||
"--animation-direction": direction === "left" ? "forwards" : "reverse",
|
||||
} as React.CSSProperties}
|
||||
>
|
||||
{items.map((item, idx) => (
|
||||
<li className="relative flex-shrink-0" key={idx}>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { StrictMode } from 'react'
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import './styles/tailwind.css'
|
||||
import App from './App.tsx'
|
||||
import App from './App'
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<StrictMode>
|
||||
|
||||
157
src/pages/agents/AgentBento.tsx
Normal file
@@ -0,0 +1,157 @@
|
||||
"use client";
|
||||
|
||||
import { Eyebrow, H3, P } from "@/components/Texts";
|
||||
|
||||
const bentos = [
|
||||
{
|
||||
id: "core",
|
||||
eyebrow: "ARCHITECTURE",
|
||||
title: "Deterministic by Design",
|
||||
description:
|
||||
"Every workload runs exactly as declared: no drift, no hidden state, no surprises.",
|
||||
video: null,
|
||||
colSpan: "lg:col-span-3",
|
||||
rowSpan: "lg:row-span-1",
|
||||
custom: true,
|
||||
noBorder: true,
|
||||
},
|
||||
|
||||
// ✅ Updated Bento Cards
|
||||
{
|
||||
id: "fungistor",
|
||||
title: "FungiStor",
|
||||
subtitle: "Long-Term AI Memory",
|
||||
description:
|
||||
"Erasure coding + compression slash storage bloat by up to 10× vs basic replication. Source-encrypted shards are geo-dispersed—lose pieces, rebuild perfectly from a quorum.",
|
||||
video: "/videos/fungistor.mp4",
|
||||
colSpan: "lg:col-span-3",
|
||||
rowSpan: "lg:row-span-1",
|
||||
},
|
||||
{
|
||||
id: "herodb",
|
||||
title: "HeroDB",
|
||||
subtitle: "Active AI Memory",
|
||||
description:
|
||||
"Multimodal vector+keyword retrieval makes RAG feel instant across text, image, audio. Time-aware, policy-guarded context keeps results fresh while access stays governed.",
|
||||
video: "/videos/herodb.mp4",
|
||||
colSpan: "lg:col-span-3",
|
||||
rowSpan: "lg:row-span-1",
|
||||
},
|
||||
{
|
||||
id: "mos",
|
||||
title: "MOS Sandboxes",
|
||||
subtitle: "Secure Agent Workspaces",
|
||||
description:
|
||||
"Attested, signed workspaces spin up ≈5s worldwide—ready to execute. Hardware isolation and scoped egress: run hard, tear down clean, zero residue.",
|
||||
video: "/videos/herodb.mp4",
|
||||
colSpan: "lg:col-span-3",
|
||||
rowSpan: "lg:row-span-1",
|
||||
},
|
||||
{
|
||||
id: "mesh",
|
||||
title: "Mycelium Mesh",
|
||||
subtitle: "Secure Communication Network",
|
||||
description:
|
||||
"A private, public-key fabric with self-healing multi-path routing. Glides through NATs and firewalls—direct, low-latency, no middlemen.",
|
||||
video: "/videos/mesh.mp4",
|
||||
colSpan: "lg:col-span-2",
|
||||
rowSpan: "lg:row-span-1",
|
||||
},
|
||||
{
|
||||
id: "deterministic",
|
||||
title: "Deterministic Deployment",
|
||||
subtitle: "Verifiable Code Execution",
|
||||
description:
|
||||
"Declare intent, get a hash; remote attestation proves that is what runs. Reproducible builds, signed artifacts, immutable logs—supply chain, sealed.",
|
||||
video: "/videos/deterministic.mp4",
|
||||
colSpan: "lg:col-span-2",
|
||||
rowSpan: "lg:row-span-1",
|
||||
},
|
||||
{
|
||||
id: "agent-coordination",
|
||||
title: "Agent Coordination",
|
||||
subtitle: "Sovereign Workflow Management",
|
||||
description:
|
||||
"Your private agent conducts swarms of specialists in parallel. Policies fan out work; human checkpoints keep you in command.",
|
||||
video: "/videos/agent.mp4",
|
||||
colSpan: "lg:col-span-2",
|
||||
rowSpan: "lg:row-span-1",
|
||||
},
|
||||
];
|
||||
|
||||
export function AgentBento() {
|
||||
return (
|
||||
<section className="relative w-full bg-[#121212] overflow-hidden">
|
||||
<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" />
|
||||
|
||||
<div className="mx-auto bg-[#111111] max-w-2xl px-6 lg:max-w-7xl lg:px-10 border border-t-0 border-b-0 border-gray-800">
|
||||
<div className="grid grid-cols-1 gap-6 pt-6 lg:grid-cols-6 lg:grid-rows-3 pb-6">
|
||||
{bentos.map((card) => (
|
||||
<div
|
||||
key={card.id}
|
||||
className={`relative ${card.colSpan} ${card.rowSpan} transition-transform duration-300 hover:scale-102 group`}
|
||||
>
|
||||
{!card.noBorder && (
|
||||
<div
|
||||
className={`absolute inset-0 rounded-md border border-gray-800 bg-[#111212] `}
|
||||
/>
|
||||
)}
|
||||
|
||||
<div
|
||||
className={`relative flex lg:h-90 flex-col overflow-hidden rounded-[calc(var(--radius-lg)+1px)] `}
|
||||
>
|
||||
{/* ✅ VIDEO instead of animation */}
|
||||
{card.video ? (
|
||||
<div className="lg:h-64 h-48 w-full overflow-hidden bg-transparent flex items-center">
|
||||
<video
|
||||
src={card.video}
|
||||
autoPlay
|
||||
loop
|
||||
muted
|
||||
playsInline
|
||||
className="w-full h-full object-cover"
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
<div className="h-48 w-full flex items-center justify-center bg-transparent" />
|
||||
)}
|
||||
|
||||
<div className="px-8 pt-4 pb-6">
|
||||
{card.custom ? (
|
||||
<>
|
||||
{card.eyebrow && <Eyebrow>{card.eyebrow}</Eyebrow>}
|
||||
<H3 className="mt-2 text-white">{card.title}</H3>
|
||||
<P className="mt-4 max-w-lg text-gray-200">{card.description}</P>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
{/* ✅ NEW SUBTITLE */}
|
||||
<p className="text-sm text-cyan-400">{card.subtitle}</p>
|
||||
|
||||
<p className="mt-1 text-lg font-medium lg:text-xl tracking-tight text-white">
|
||||
{card.title}
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<p className="mt-1 max-w-lg text-sm/6 text-gray-200">
|
||||
{card.description}
|
||||
</p>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{!card.noBorder && (
|
||||
<div
|
||||
className={`pointer-events-none absolute inset-0 rounded-lg shadow-sm outline outline-black/5 `}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -49,7 +49,7 @@ export function AgentComponents() {
|
||||
<div className="mx-auto mt-16 max-w-6xl overflow-x-auto">
|
||||
<table className="w-full table-auto border-collapse text-left text-sm text-gray-700">
|
||||
<thead>
|
||||
<tr className="bg-cyan-50 border-b border-gray-200">
|
||||
<tr className="bg-cyan-50 border-b border-gray-100">
|
||||
<th className="py-3 px-4 font-semibold text-gray-900">Component</th>
|
||||
<th className="py-3 px-4 font-semibold text-gray-900">Purpose</th>
|
||||
<th className="py-3 px-4 font-semibold text-gray-900">Backed By</th>
|
||||
|
||||
@@ -8,7 +8,7 @@ export function AgentHeroAlt() {
|
||||
<div className="">
|
||||
{/* Boxed container */}
|
||||
<div
|
||||
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-200 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-100 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||
style={{ backgroundImage: "url('/images/agents.webp')", backgroundSize: "contain" }}
|
||||
>
|
||||
{/* Inner padding */}
|
||||
@@ -36,8 +36,8 @@ export function AgentHeroAlt() {
|
||||
</div>
|
||||
</div>
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-200" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -2,10 +2,9 @@ import { AnimatedSection } from '../../components/AnimatedSection'
|
||||
import { DeploySection } from './DeploySection'
|
||||
import { GallerySection } from './GallerySection'
|
||||
import { Companies } from './Companies'
|
||||
import { BentoSection } from './BentoSection'
|
||||
import { AgentBento } from './AgentBento'
|
||||
import { AgentHeroAlt } from './AgentHeroAlt'
|
||||
import { CallToAction } from './CallToAction'
|
||||
import { AgentComponents } from './AgentComponents'
|
||||
|
||||
export default function AgentsPage() {
|
||||
return (
|
||||
@@ -27,11 +26,7 @@ export default function AgentsPage() {
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<BentoSection />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<AgentComponents />
|
||||
<AgentBento />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
|
||||
@@ -69,7 +69,7 @@ export function BentoSection() {
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, amount: 0.2 }}
|
||||
transition={{ duration: 0.45, delay: index * 0.1, ease: 'easeOut' }}
|
||||
className="overflow-hidden rounded-2xl border border-gray-800 bg-gray-900 p-6 transition-all duration-300 hover:scale-105 hover:border-cyan-500 hover:shadow-lg"
|
||||
className="overflow-hidden rounded-2xl border border-gray-800 bg-[#121212] p-6 transition-all duration-300 hover:scale-105 hover:border-cyan-500 hover:shadow-lg"
|
||||
>
|
||||
<video
|
||||
src={item.video}
|
||||
|
||||
@@ -1,59 +1,57 @@
|
||||
import { CircleBackground } from '../../components/CircleBackground'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Button } from '@/components/Button'
|
||||
"use client";
|
||||
|
||||
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" />
|
||||
<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">
|
||||
Start Building the Future of Sovereign AI
|
||||
</h2>
|
||||
|
||||
<p className="mt-6 text-lg text-gray-300">
|
||||
Use today’s components — models, storage, compute, mesh — and step into agents as they arrive.
|
||||
</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="/deploy" variant="solid" color="cyan" className="mt-4">
|
||||
Deploy a Model
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col items-center text-center max-w-xs">
|
||||
<Button to="/host" as="a" variant="outline" color="white" className="mt-4">
|
||||
Host a Node
|
||||
</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">
|
||||
Follow Development
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
</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">
|
||||
Start Building the Future of Sovereign AI
|
||||
</h2>
|
||||
<p className="mt-6 text-lg text-gray-300">
|
||||
Use today’s components — models, storage, compute, mesh —
|
||||
and step into agents as they arrive.
|
||||
</p>
|
||||
|
||||
<div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
|
||||
<Button
|
||||
as="a"
|
||||
to="/deploy"
|
||||
variant="solid"
|
||||
color="white"
|
||||
>
|
||||
Deploy a Model
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
as="a"
|
||||
to="/host"
|
||||
variant="outline"
|
||||
color="white"
|
||||
>
|
||||
Host a Node
|
||||
</Button>
|
||||
|
||||
<Button
|
||||
as="a"
|
||||
to="https://threefold.info/mycelium_network/docs/"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
variant="outline"
|
||||
color="white"
|
||||
>
|
||||
Follow Development
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
{/* ✅ 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>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
"use client";
|
||||
|
||||
import { motion } from "framer-motion";
|
||||
import { P, Eyebrow } from "@/components/Texts";
|
||||
import { InfiniteMovingCards } from "@/components/magicui/infinite-moving-cards";
|
||||
|
||||
|
||||
@@ -39,25 +37,10 @@ const row2 = logos.slice(6);
|
||||
|
||||
export function Companies() {
|
||||
return (
|
||||
<div id="companies" className="relative bg-black flex flex-col items-center justify-center w-full overflow-hidden antialiased py-4 mb-12">
|
||||
<div className="relative z-10 mx-auto w-full max-w-6xl p-4">
|
||||
|
||||
{/* Heading */}
|
||||
<motion.div
|
||||
className="flex flex-col justify-center max-w-4xl items-center mb-8 mx-auto"
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, amount: 0.3 }}
|
||||
transition={{ duration: 0.6, ease: "easeOut" }}
|
||||
>
|
||||
<Eyebrow color="accent"></Eyebrow>
|
||||
<P className="hidden min-xl:text-gray-100 text-center mb-6">
|
||||
Mycelium Cloud allows you to deploy and scale AI agents from top global providers on a decentralized, privacy-first infrastructure.
|
||||
</P>
|
||||
</motion.div>
|
||||
|
||||
<div id="companies" className="relative bg-[#121212] flex flex-col items-center justify-center w-full overflow-hidden antialiased py-4 mb-12">
|
||||
<div className="relative z-10 mx-auto w-full max-w-7xl p-4">
|
||||
{/* Logos grid */}
|
||||
<div className="flex flex-col items-center gap-y-6 text-white">
|
||||
<div className="flex flex-col items-center gap-y-6 text-white ">
|
||||
<InfiniteMovingCards
|
||||
items={row1}
|
||||
direction="right"
|
||||
|
||||
@@ -46,8 +46,12 @@ const features = [
|
||||
|
||||
export function DeploySection() {
|
||||
return (
|
||||
<section id="benefits" className="relative bg-black px-4 pb-4 pt-12 text-white lg:px-12 lg:pt-24">
|
||||
<div className="relative px-6 lg:px-12">
|
||||
<section className="bg-[#121212] w-full max-w-8xl mx-auto">
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-800" />
|
||||
<div className="w-full border-t border-l border-r border-gray-800" />
|
||||
|
||||
<div className="relative px-6 lg:px-12 py-12 bg-[#111111] border border-t-0 border-b-0 border-gray-800 max-w-7xl mx-auto">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
@@ -90,6 +94,8 @@ export function DeploySection() {
|
||||
))}
|
||||
</motion.ul>
|
||||
</div>
|
||||
<div className="w-full border-b border-gray-800 bg-[#121212]" />
|
||||
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ export function GallerySection() {
|
||||
</div>
|
||||
|
||||
{/* Foreground pill (Desktop) */}
|
||||
<div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-[60] hidden md:block">
|
||||
<div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-60 hidden md:block">
|
||||
<div className="flex items-center justify-between w-[1040px] gap-6 rounded-2xl bg-gray-100/80 shadow-[0_8px_40px_rgba(0,0,0,0.15)] px-12 backdrop-blur">
|
||||
<CP as="h4" className="max-w-[820px] h-[72px] flex items-center" color="dark">
|
||||
<TypeAnimation
|
||||
|
||||
@@ -5,15 +5,15 @@ import { Button } from "@/components/Button";
|
||||
|
||||
export function CallToAction() {
|
||||
return (
|
||||
<section className="relative overflow-hidden bg-gray-900">
|
||||
<section className="relative overflow-hidden bg-[#121212]">
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-[#090909] mx-auto py-6 border border-t-0 border-b-0 border-gray-700"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-700" />
|
||||
<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-[#090909] border border-t-0 border-b-0 border-gray-700"
|
||||
className="relative py-18 max-w-7xl mx-auto bg-[#111111] border border-t-0 border-b-0 border-gray-800"
|
||||
>
|
||||
|
||||
|
||||
@@ -48,8 +48,8 @@ export function CallToAction() {
|
||||
</div>
|
||||
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-700" />
|
||||
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-700 bg-transparent" />
|
||||
<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>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ export function CloudBluePrint() {
|
||||
<section className="w-full max-w-8xl mx-auto bg-transparent">
|
||||
|
||||
{/* ✅ Boxed container */}
|
||||
<div className="max-w-7xl bg-white mx-auto pb-12 border border-t-0 border-b-0 border-gray-200">
|
||||
<div className="max-w-7xl bg-white mx-auto py-12 border border-t-0 border-b-0 border-gray-100">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-4xl sm:text-center">
|
||||
<Eyebrow className="text-cyan-500">Featured Blueprint</Eyebrow>
|
||||
@@ -54,8 +54,8 @@ export function CloudBluePrint() {
|
||||
</div>
|
||||
|
||||
{/* ✅ Bottom line + bottom spacer */}
|
||||
<div className="w-full border-b border-gray-200" />
|
||||
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-200 bg-transparent" />
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-100 bg-transparent" />
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -406,7 +406,7 @@ export function CloudFeatures() {
|
||||
<section
|
||||
id="overview"
|
||||
aria-label="Features for investing all your money"
|
||||
className="bg-gray-900 py-20 sm:py-32"
|
||||
className="bg-[#121212] py-20 sm:py-32"
|
||||
>
|
||||
<Container>
|
||||
<div className="mx-auto max-w-2xl lg:mx-0 lg:max-w-3xl">
|
||||
|
||||
@@ -243,11 +243,11 @@ export function CloudFeaturesLight() {
|
||||
return (
|
||||
<div className="">
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-200" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-100" />
|
||||
|
||||
{/* ✅ Boxed container (border-x only) */}
|
||||
<div className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-200 bg-white">
|
||||
<div className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-100 bg-white">
|
||||
<section className="px-6 py-16 lg:py-16">
|
||||
<Container>
|
||||
<div className="max-w-4xl mx-auto items-center text-center">
|
||||
@@ -274,10 +274,10 @@ export function CloudFeaturesLight() {
|
||||
</div>
|
||||
|
||||
{/* ✅ Bottom horizontal line */}
|
||||
<div className="w-full border-b border-gray-200" />
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
|
||||
{/* ✅ Bottom spacer matching hero */}
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedCli
|
||||
<div className="">
|
||||
{/* Boxed container */}
|
||||
<div
|
||||
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-200 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-100 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||
style={{ backgroundImage: "url('/images/cloudhero4.webp')", backgroundSize: "contain" }}
|
||||
>
|
||||
{/* Inner padding */}
|
||||
@@ -44,8 +44,8 @@ export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedCli
|
||||
|
||||
</div>
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-200" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
} from '@headlessui/react'
|
||||
import { MinusIcon, PlusIcon } from '@heroicons/react/24/outline'
|
||||
|
||||
import { Eyebrow, H3 } from "@/components/Texts"
|
||||
import { Eyebrow, H3, H4 } from "@/components/Texts"
|
||||
|
||||
|
||||
const product = {
|
||||
@@ -42,33 +42,35 @@ export function CloudHostingNew() {
|
||||
return (
|
||||
<div className="bg-[#121212] text-white">
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-[#111111] mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-600" />
|
||||
<div className="max-w-7xl bg-[#111111] 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 CONTENT */}
|
||||
<main className="mx-auto max-w-7xl px-6 lg:px-12 py-12 border border-t-0 border-b-0 border-gray-600">
|
||||
<main className="mx-auto max-w-7xl px-6 lg:px-12 py-12 border border-t-0 border-b-0 border-gray-800">
|
||||
<div className="mx-auto max-w-2xl lg:max-w-none">
|
||||
|
||||
{/* ✅ Product Section */}
|
||||
<div className="lg:grid lg:grid-cols-2 lg:items-start lg:gap-x-8">
|
||||
<div className="lg:grid lg:grid-cols-5 lg:items-start lg:gap-x-8">
|
||||
|
||||
{/* ✅ Image */}
|
||||
<img alt="Mycelium Cloud" src="/images/cloudhosting.webp" className="aspect-square w-[600px] object-cover" />
|
||||
<div className="lg:col-span-2 lg:mt-8 mt-2">
|
||||
<img alt="Mycelium Cloud" src="/images/cloudhosting.webp" className="aspect-square w-full object-cover" />
|
||||
</div>
|
||||
|
||||
{/* ✅ Product info */}
|
||||
<div className="mt-10 px-4 sm:mt-16 sm:px-0 lg:mt-0">
|
||||
<div className="mt-8 px-4 sm:px-0 lg:mt-0 lg:col-span-3">
|
||||
<Eyebrow>{product.subtitle}</Eyebrow>
|
||||
<h3 className="lg:text-4xl text-3xl text-white">{product.name}</h3>
|
||||
<H4 className=" text-white">{product.name}</H4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div className="mt-6 text-gray-300 text-xl"
|
||||
<div className="mt-4 text-gray-300 text-xl"
|
||||
dangerouslySetInnerHTML={{ __html: product.description }}
|
||||
/>
|
||||
|
||||
|
||||
{/* ✅ Details accordion */}
|
||||
<section className="mt-8">
|
||||
<section className="mt-6">
|
||||
<div className="divide-y divide-gray-800 border-t border-cyan-500">
|
||||
{product.details.map((detail) => (
|
||||
<Disclosure key={detail.name} as="div">
|
||||
@@ -96,8 +98,8 @@ export function CloudHostingNew() {
|
||||
</main>
|
||||
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-600" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
|
||||
<div className="w-full border-b border-gray-800" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -41,11 +41,11 @@ export function CloudUseCases() {
|
||||
<section className="w-full max-w-8xl mx-auto bg-transparent">
|
||||
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-200" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-100" />
|
||||
|
||||
{/* ✅ Inner boxed container */}
|
||||
<div className="max-w-7xl bg-white mx-auto py-12 border border-t-0 border-b-0 border-gray-200">
|
||||
<div className="max-w-7xl bg-white mx-auto py-12 border border-t-0 border-b-0 border-gray-100">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-4xl sm:text-center">
|
||||
<Eyebrow className="text-cyan-500">USE CASES</Eyebrow>
|
||||
@@ -70,7 +70,7 @@ export function CloudUseCases() {
|
||||
{useCases.map((useCase) => (
|
||||
<li
|
||||
key={useCase.title}
|
||||
className="rounded-md border border-gray-200 bg-white p-6 transition-all duration-300
|
||||
className="rounded-md border border-gray-100 bg-white p-6 transition-all duration-300
|
||||
hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 flex flex-col"
|
||||
>
|
||||
<div className="flex items-center justify-between">
|
||||
@@ -104,8 +104,8 @@ export function CloudUseCases() {
|
||||
</div>
|
||||
|
||||
{/* ✅ Bottom horizontal line + spacing */}
|
||||
<div className="w-full border-b border-gray-200" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ export function CloudGettingStarted() {
|
||||
return (
|
||||
<section
|
||||
id="getting-started"
|
||||
className="relative overflow-hidden bg-gray-900 py-24 sm:py-32"
|
||||
className="relative overflow-hidden bg-[#121212] py-24 sm:py-32"
|
||||
>
|
||||
<div className="absolute inset-0 bg-[radial-gradient(circle_at_top,_rgba(34,211,238,0.12),_transparent_60%)]" />
|
||||
<Container className="relative">
|
||||
|
||||
@@ -1,42 +1,55 @@
|
||||
import { CircleBackground } from '../../components/CircleBackground'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Button } from '@/components/Button'
|
||||
"use client";
|
||||
|
||||
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">
|
||||
Choose How You Want to Start
|
||||
</h2>
|
||||
<p className="mt-6 text-lg text-gray-300">
|
||||
Run workloads using Mycelium Cloud, or host your own compute node.
|
||||
Both use the same deterministic execution fabric.
|
||||
<section className="relative overflow-hidden bg-[#121212] ">
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-[#111111] 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" />
|
||||
|
||||
</p>
|
||||
<div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
|
||||
<Button to="/download" variant="solid" color="white">
|
||||
Deploy Workloads
|
||||
</Button>
|
||||
<Button
|
||||
to="https://threefold.info/mycelium_network/docs/"
|
||||
as="a"
|
||||
target="_blank"
|
||||
variant="outline"
|
||||
color="white"
|
||||
>
|
||||
Host A Node
|
||||
</Button>
|
||||
{/* ✅ 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">
|
||||
Host your own node to contribute capacity or deploy workloads using the Mycelium Cloud.
|
||||
You don’t need to host before deploying, and you don’t need to deploy before hosting.
|
||||
|
||||
</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="/host" variant="solid" color="cyan" className="mt-4">
|
||||
Host a Node
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col items-center text-center max-w-xs">
|
||||
<Button to="/cloud" variant="outline" color="white" className="mt-4">
|
||||
Start Deploying
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
</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>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,53 +1,125 @@
|
||||
import {
|
||||
LockClosedIcon,
|
||||
CpuChipIcon,
|
||||
AdjustmentsHorizontalIcon,
|
||||
} from '@heroicons/react/24/solid'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, H3, CT, CP } from '@/components/Texts'
|
||||
"use client";
|
||||
|
||||
const architecture = [
|
||||
import { Eyebrow, H3, P } from "@/components/Texts";
|
||||
import MeshNetworking from "./animations/Meshnetworking";
|
||||
import Deterministic from "./animations/Deterministic";
|
||||
import SovereignCompute from "./animations/SovereignCompute";
|
||||
|
||||
const deterministicCards = [
|
||||
{
|
||||
name: 'Mesh Networking',
|
||||
description: 'Secure connectivity across all nodes.',
|
||||
icon: LockClosedIcon,
|
||||
id: "core",
|
||||
eyebrow: "ARCHITECTURE",
|
||||
title: "Deterministic by Design",
|
||||
description:
|
||||
"Every workload runs exactly as declared: no drift, no hidden state, no surpriseSecure connectivity across all nodes..",
|
||||
animation: null,
|
||||
colSpan: "lg:col-span-3",
|
||||
rowSpan: "lg:row-span-1",
|
||||
custom: true,
|
||||
noBorder: true,
|
||||
},
|
||||
{
|
||||
name: 'Sovereign Compute',
|
||||
description: 'Execution only on hardware you control.',
|
||||
icon: CpuChipIcon,
|
||||
id: "crypto",
|
||||
title: "Mesh Networking",
|
||||
description:
|
||||
"Secure connectivity across all nodes.",
|
||||
animation: <MeshNetworking className="lg:-mt-12" />, // ✅ NEW
|
||||
colSpan: "lg:col-span-3",
|
||||
rowSpan: "lg:row-span-1",
|
||||
rounded: "lg:rounded-tr-4xl max-lg:rounded-t-4xl",
|
||||
innerRounded: "lg:rounded-tr-[calc(2rem+1px)] max-lg:rounded-t-[calc(2rem+1px)]",
|
||||
},
|
||||
{
|
||||
name: 'Deterministic Orchestration',
|
||||
description: 'Workloads deploy and update predictably.',
|
||||
icon: AdjustmentsHorizontalIcon,
|
||||
id: "stateless",
|
||||
title: "Deterministic Orchestration",
|
||||
description:
|
||||
"Workloads deploy and update predictably.",
|
||||
animation: <Deterministic className="lg:-mt-12" />, // ✅ NEW
|
||||
colSpan: "lg:col-span-3",
|
||||
rowSpan: "lg:row-span-1",
|
||||
rounded: "lg:rounded-bl-4xl max-lg:rounded-b-4xl",
|
||||
innerRounded: "lg:rounded-bl-[calc(2rem+1px)] max-lg:rounded-b-[calc(2rem+1px)]",
|
||||
},
|
||||
]
|
||||
{
|
||||
id: "healing",
|
||||
title: "Automatic healing and recovery",
|
||||
description:
|
||||
"Self-repairing processes ensure workloads stay available and consistent.",
|
||||
animation: <SovereignCompute />, // ✅ NEW
|
||||
colSpan: "lg:col-span-3",
|
||||
rowSpan: "lg:row-span-1",
|
||||
rounded: "lg:rounded-br-4xl max-lg:rounded-b-4xl",
|
||||
innerRounded: "lg:rounded-br-[calc(2rem+1px)] max-lg:rounded-b-[calc(2rem+1px)]",
|
||||
},
|
||||
];
|
||||
|
||||
export function ComputeArchitecture() {
|
||||
return (
|
||||
<section className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow>ARCHITECTURE</Eyebrow>
|
||||
<H3 className="mt-4 text-gray-900">HOW IT WORKS</H3>
|
||||
</div>
|
||||
<section className="relative w-full bg-[#121212] overflow-hidden">
|
||||
{/* ✅ Top horizontal line */}
|
||||
<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" />
|
||||
|
||||
<div className="mx-auto mt-16 max-w-5xl">
|
||||
<dl className="grid grid-cols-1 gap-12 text-gray-600 sm:grid-cols-2 lg:grid-cols-3">
|
||||
{architecture.map((item) => (
|
||||
<div key={item.name} className="relative pl-12">
|
||||
<item.icon
|
||||
aria-hidden="true"
|
||||
className="absolute left-0 top-1 size-6 text-cyan-600"
|
||||
<div className="mx-auto bg-[#111111] max-w-2xl px-6 lg:max-w-7xl lg:px-10 border border-t-0 border-b-0 border-gray-800">
|
||||
<div className="grid grid-cols-1 gap-6 pt-6 lg:grid-cols-6 lg:grid-rows-2 pb-6">
|
||||
{deterministicCards.map((card) => (
|
||||
<div
|
||||
key={card.id}
|
||||
className={`relative ${card.colSpan} ${card.rowSpan} transition-transform duration-300 hover:scale-102 group`}
|
||||
>
|
||||
{/* ✅ Disable wrapper on first card */}
|
||||
{!card.noBorder && (
|
||||
<div
|
||||
className={`absolute inset-0 rounded-md border border-gray-800 bg-[#111212] ${card.rounded} group-hover:bg-linear-to-br from-gray-900 to-gray-800`}
|
||||
/>
|
||||
<CT className="font-semibold text-gray-900">{item.name}</CT>
|
||||
<CP className="mt-1 text-gray-600">{item.description}</CP>
|
||||
)}
|
||||
|
||||
<div
|
||||
className={`relative flex lg:h-90 flex-col overflow-hidden rounded-[calc(var(--radius-lg)+1px)] ${card.innerRounded}`}
|
||||
>
|
||||
{/* ✅ SVG Animation instead of images */}
|
||||
{card.animation ? (
|
||||
<div className="lg:h-64 h-48 w-full overflow-hidden bg-transparent flex items-center">
|
||||
<div className="w-full h-full">
|
||||
{card.animation}
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<div className="h-48 w-full flex items-center justify-center bg-transparent" />
|
||||
)}
|
||||
|
||||
<div className="px-8 pt-4 pb-6">
|
||||
{card.custom ? (
|
||||
<>
|
||||
{card.eyebrow && <Eyebrow>{card.eyebrow}</Eyebrow>}
|
||||
<H3 className="mt-2 text-white">{card.title}</H3>
|
||||
<P className="mt-4 max-w-lg text-gray-200">{card.description}</P>
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<p className="mt-1 text-lg font-medium lg:text-xl tracking-tight text-white">
|
||||
{card.title}
|
||||
</p>
|
||||
<p className="mt-1 max-w-lg text-sm/6 text-gray-200">
|
||||
{card.description}
|
||||
</p>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</dl>
|
||||
|
||||
{!card.noBorder && (
|
||||
<div
|
||||
className={`pointer-events-none absolute inset-0 rounded-lg shadow-sm outline outline-black/5 ${card.rounded}`}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</Container>
|
||||
</div>
|
||||
|
||||
<div className="w-full border-b border-gray-800" />
|
||||
<div className="max-w-7xl mx-auto py-6 border-x border-gray-800 border-t-0 border-b-0" />
|
||||
</section>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
117
src/pages/compute/ComputeCapabilitiesNew.tsx
Normal file
@@ -0,0 +1,117 @@
|
||||
"use client";
|
||||
|
||||
import { useRef } from "react";
|
||||
import { Eyebrow, CP, CT, H5 } from "@/components/Texts";
|
||||
import { IoArrowBackOutline, IoArrowForwardOutline } from "react-icons/io5";
|
||||
|
||||
const capabilities = [
|
||||
{
|
||||
isIntro: true,
|
||||
eyebrow: "CAPABILITIES",
|
||||
title: "What You Can Run",
|
||||
description:
|
||||
"Mycelium Compute supports multiple workload types on a single execution fabric, from legacy VMs to modern Kubernetes clusters.",
|
||||
},
|
||||
{
|
||||
title: "Containers & K3s",
|
||||
description:
|
||||
"Deploy services, web apps, and APIs with full Kubernetes compatibility.",
|
||||
icon: (
|
||||
<div className="flex items-center justify-center">
|
||||
<img src="/images/kubernetes.webp" alt="Kubernetes" className="h-full w-full object-cover mb-2" />
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "Virtual Machines",
|
||||
description:
|
||||
"Run legacy apps and specialized stacks with secure boot and attestation.",
|
||||
icon: (
|
||||
<div className="flex items-center justify-center">
|
||||
<img src="/images/vm.webp" alt="Virtual Machines" className="h-full w-full object-cover mb-2" />
|
||||
</div>
|
||||
),
|
||||
},
|
||||
{
|
||||
title: "Native Linux Workloads",
|
||||
description:
|
||||
"Execute agents, batch jobs, and custom tooling statelessly across the grid.",
|
||||
icon: (
|
||||
<div className="flex items-center justify-center">
|
||||
<img src="/images/linux.png" alt="Linux" className="h-full w-full object-cover mb-2" />
|
||||
</div>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
||||
export function ComputeCapabilitiesNew() {
|
||||
const sliderRef = useRef<HTMLUListElement>(null);
|
||||
|
||||
const scrollLeft = () => sliderRef.current?.scrollBy({ left: -400, behavior: "smooth" });
|
||||
const scrollRight = () => sliderRef.current?.scrollBy({ left: 400, behavior: "smooth" });
|
||||
|
||||
return (
|
||||
<section className="bg-[#121212] w-full max-w-8xl mx-auto">
|
||||
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-800" />
|
||||
<div className="w-full border-t border-l border-r border-gray-800" />
|
||||
|
||||
<div className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-800 bg-[#111111] overflow-hidden">
|
||||
|
||||
{/* Horizontal Slider — shows part of next card */}
|
||||
<ul
|
||||
ref={sliderRef}
|
||||
className="flex overflow-x-auto snap-x snap-mandatory scroll-smooth no-scrollbar"
|
||||
>
|
||||
{capabilities.map((item, idx) => (
|
||||
<li
|
||||
key={idx}
|
||||
className={`snap-start shrink-0 w-[85%] sm:w-[50%] lg:w-[33%] border border-gray-800 p-10 relative ${item.isIntro ? 'bg-[#1b1b1b]' : 'bg-[#111]/60'}`}
|
||||
>
|
||||
{/* First card with arrows */}
|
||||
{item.isIntro ? (
|
||||
<div className="flex flex-col justify-between h-full ">
|
||||
<div>
|
||||
<Eyebrow className="">{item.eyebrow}</Eyebrow>
|
||||
<H5 className="text-white mt-4 lg:text-2xl text-xl">{item.title}</H5>
|
||||
<p className="mt-4 text-gray-400 lg:text-lg text-sm leading-relaxed">{item.description}</p>
|
||||
</div>
|
||||
|
||||
{/* Arrows inside first card */}
|
||||
<div className="flex items-center gap-x-4 mt-2">
|
||||
<a
|
||||
href="#"
|
||||
className="inline-flex items-center gap-1 text-cyan-400 hover:text-cyan-300 text-sm font-medium mr-auto"
|
||||
>
|
||||
Learn more →
|
||||
</a>
|
||||
<button
|
||||
onClick={scrollLeft}
|
||||
className="h-8 w-8 flex items-center justify-center border border-gray-800 rounded-md hover:border-cyan-500 transition-colors"
|
||||
>
|
||||
<IoArrowBackOutline className="text-gray-300" size={16} />
|
||||
</button>
|
||||
|
||||
<button
|
||||
onClick={scrollRight}
|
||||
className="h-8 w-8 flex items-center justify-center border border-gray-800 rounded-md hover:border-cyan-500 transition-colors"
|
||||
>
|
||||
<IoArrowForwardOutline className="text-gray-300" size={16} />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
) : (
|
||||
<>
|
||||
{item.icon}
|
||||
<CT className="text-lg font-semibold text-white mt-4">{item.title}</CT>
|
||||
<CP className="mt-2 text-gray-400 leading-snug">{item.description}</CP>
|
||||
</>
|
||||
)}
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
<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" />
|
||||
</section>
|
||||
);
|
||||
}
|
||||
112
src/pages/compute/ComputeCodeTabs.tsx
Normal file
@@ -0,0 +1,112 @@
|
||||
"use client";
|
||||
|
||||
import { useState } from "react";
|
||||
|
||||
const files = [
|
||||
{
|
||||
id: "train",
|
||||
label: "train.py",
|
||||
code: `from mycelium import GPUCluster, Dataset
|
||||
|
||||
# connect to private GPU cluster
|
||||
cluster = GPUCluster("secure://my-node")
|
||||
|
||||
# load training data
|
||||
data = Dataset.load("s3://models/private-dataset")
|
||||
|
||||
# run a reproducible training job
|
||||
job = cluster.train(
|
||||
model="resnet50",
|
||||
dataset=data,
|
||||
epochs=40,
|
||||
deterministic=True
|
||||
)
|
||||
|
||||
job.save("s3://models/checkpoints/resnet-private")`,
|
||||
},
|
||||
{
|
||||
id: "deploy",
|
||||
label: "deploy.yaml",
|
||||
code: `apiVersion: mycelium/v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: vector-api
|
||||
spec:
|
||||
image: registry.mycelium/vector:latest
|
||||
replicas: 3
|
||||
selfHeal: true
|
||||
mesh: private
|
||||
resources:
|
||||
gpu: 1
|
||||
cpu: 2
|
||||
memory: 4Gi`,
|
||||
},
|
||||
{
|
||||
id: "edge",
|
||||
label: "edge.ts",
|
||||
code: `import { EdgeClient } from "@mycelium/sdk"
|
||||
|
||||
// deploy inference to nearest node
|
||||
const client = new EdgeClient()
|
||||
|
||||
await client.deploy({
|
||||
model: "resnet-private",
|
||||
region: "eu-home-nodes",
|
||||
autoscale: true,
|
||||
cache: "on-device"
|
||||
})`,
|
||||
},
|
||||
];
|
||||
|
||||
export function ComputeCodeTabs() {
|
||||
const [active, setActive] = useState("train");
|
||||
const file = files.find((f) => f.id === active)!;
|
||||
|
||||
return (
|
||||
<div className="sm:px-6 lg:px-0">
|
||||
<div className="relative isolate overflow-hidden bg-cyan-600 px-6 pt-8 sm:mx-auto sm:max-w-2xl sm:rounded-md sm:pt-16 sm:pr-0 sm:pl-16 lg:mx-0 lg:max-w-none">
|
||||
|
||||
<div
|
||||
aria-hidden="true"
|
||||
className="absolute -inset-y-px -left-3 -z-10 w-full origin-bottom-left skew-x-[-30deg] bg-cyan-500 opacity-20 ring-1 ring-white ring-inset"
|
||||
/>
|
||||
|
||||
<div className="mx-auto max-w-2xl sm:mx-0 sm:max-w-none">
|
||||
<div className="w-screen overflow-hidden rounded-tl-xl bg-[#121212] ring-1 ring-white/10">
|
||||
|
||||
{/* FILE TABS */}
|
||||
<div className="flex bg-gray-800/40 ring-1 ring-white/5">
|
||||
<div className="-mb-px flex text-sm font-medium text-gray-400">
|
||||
|
||||
{files.map((f) => (
|
||||
<button
|
||||
key={f.id}
|
||||
onClick={() => setActive(f.id)}
|
||||
className={`px-4 py-2 border-r border-white/10 ${
|
||||
active === f.id
|
||||
? "border-b border-b-white/20 bg-white/5 text-white"
|
||||
: ""
|
||||
}`}
|
||||
>
|
||||
{f.label}
|
||||
</button>
|
||||
))}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* CODE BLOCK */}
|
||||
<div className="px-6 pt-6 pb-14 font-mono text-xs leading-relaxed text-gray-200 whitespace-pre overflow-x-auto">
|
||||
{file.code}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
aria-hidden="true"
|
||||
className="pointer-events-none absolute inset-0 ring-1 ring-white/10 ring-inset sm:rounded-3xl"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1,56 +1,54 @@
|
||||
import { CP, CT } from '@/components/Texts'
|
||||
import {
|
||||
ShieldCheckIcon,
|
||||
ArrowPathIcon,
|
||||
RocketLaunchIcon,
|
||||
GlobeAltIcon,
|
||||
ShieldCheckIcon,
|
||||
} from '@heroicons/react/24/solid'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, H3, P, CT, CP } from '@/components/Texts'
|
||||
|
||||
const features = [
|
||||
const stats = [
|
||||
{
|
||||
id: 1,
|
||||
name: 'Cryptographically verified deployments',
|
||||
description: 'Every cluster state is signed and checksummed to guarantee truth.',
|
||||
value: 'Signed & Checksummed',
|
||||
icon: ShieldCheckIcon,
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: 'Stateless execution that scales anywhere',
|
||||
description: 'Run workloads on any node, region, or edge without manual orchestration.',
|
||||
icon: RocketLaunchIcon,
|
||||
value: 'Global Scaling',
|
||||
icon: GlobeAltIcon,
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: 'Automatic healing and recovery',
|
||||
description: 'Self-repairing processes ensure workloads stay available and consistent.',
|
||||
value: 'Self-Repairing',
|
||||
icon: ArrowPathIcon,
|
||||
},
|
||||
]
|
||||
|
||||
export function ComputeDesign() {
|
||||
return (
|
||||
<section className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl sm:text-center">
|
||||
<Eyebrow>CORE VALUE</Eyebrow>
|
||||
<H3 className="mt-4 text-gray-900">Deterministic by Design</H3>
|
||||
<P className="mt-6 text-gray-600">
|
||||
Every workload runs exactly as declared: no drift, no hidden state, no surprises.
|
||||
</P>
|
||||
</div>
|
||||
<div className="">
|
||||
|
||||
<div className="mx-auto mt-16 max-w-5xl">
|
||||
<dl className="grid grid-cols-1 gap-12 text-gray-600 sm:grid-cols-2 lg:grid-cols-3">
|
||||
{features.map((feature) => (
|
||||
<div key={feature.name} className="relative pl-12">
|
||||
<feature.icon
|
||||
aria-hidden="true"
|
||||
className="absolute left-0 top-1 size-6 text-cyan-600"
|
||||
/>
|
||||
<CT className="font-semibold text-gray-900">{feature.name}</CT>
|
||||
<CP className="mt-1 text-gray-600">{feature.description}</CP>
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-100" />
|
||||
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="mx-auto max-w-7xl border-gray-100">
|
||||
<dl className="grid grid-cols-1 gap-4 lg:gap-14 overflow-hidden text-center lg:grid-cols-3">
|
||||
{stats.map((stat) => (
|
||||
<div key={stat.id} className="flex flex-col items-center bg-gray-100 py-8 px-12 border border-gray-100 lg:border-t-0 lg:border-b-0">
|
||||
<stat.icon className="h-8 w-8 fill-cyan-500 mb-4" aria-hidden="true" />
|
||||
<CT className="">{stat.value}</CT>
|
||||
<CP className="mt-1">{stat.name}</CP>
|
||||
</div>
|
||||
))}
|
||||
</dl>
|
||||
</div>
|
||||
</Container>
|
||||
</section>
|
||||
</div>
|
||||
{/* ✅ Bottom horizontal line + spacing */}
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,68 +1,101 @@
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P, Small } from '@/components/Texts'
|
||||
|
||||
const featureGroups = [
|
||||
{
|
||||
title: 'Self-Managing Infrastructure',
|
||||
description:
|
||||
'Scaling, healing, and failover happen automatically, no manual intervention.',
|
||||
},
|
||||
{
|
||||
title: 'Secure, Stateless Execution',
|
||||
description:
|
||||
'Workloads remain isolated, reproducible, and portable, no environment drift or configuration decay.',
|
||||
},
|
||||
{
|
||||
title: 'Zero-Image Delivery',
|
||||
description:
|
||||
'Deploy workloads using metadata instead of large container images for instant launches.',
|
||||
},
|
||||
{
|
||||
title: 'Global Placement Control',
|
||||
description:
|
||||
'Choose where workloads run, on your hardware or across the decentralized grid.',
|
||||
},
|
||||
]
|
||||
import { Eyebrow, H3, P } from '@/components/Texts'
|
||||
import {
|
||||
ArrowTrendingUpIcon,
|
||||
ChatBubbleLeftRightIcon,
|
||||
MagnifyingGlassIcon,
|
||||
ServerStackIcon,
|
||||
} from '@heroicons/react/24/solid'
|
||||
|
||||
export function ComputeFeatures() {
|
||||
return (
|
||||
<section className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.28em] uppercase text-cyan-500">
|
||||
Core Features
|
||||
<section className="w-full max-w-8xl mx-auto bg-transparent">
|
||||
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-100" />
|
||||
|
||||
<div className="mx-auto max-w-7xl px-6 bg-white lg:px-8 grid grid-cols-1 lg:grid-cols-2 gap-20 py-12 border border-t-0 border-b-0 border-gray-100">
|
||||
|
||||
{/* ✅ LEFT SIDE — Title + Intro */}
|
||||
<div className="max-w-xl">
|
||||
<Eyebrow className="">
|
||||
Core Components
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
Precision infrastructure that verifies itself.
|
||||
</SectionHeader>
|
||||
<P className="mt-6 text-gray-600">
|
||||
Every layer is designed for determinism, from how workloads are
|
||||
declared to the way they scale, protect, and govern themselves on
|
||||
the grid.
|
||||
|
||||
<H3 className="mt-6 ">
|
||||
Network Capabilities
|
||||
</H3>
|
||||
|
||||
<P className="mt-6 text-lg text-gray-600">
|
||||
Built for resilience and autonomy, the Mycelium Network dynamically connects nodes
|
||||
through intelligent routing, proxy discovery, and decentralized delivery.
|
||||
</P>
|
||||
|
||||
<P className="mt-3 text-lg text-gray-600">
|
||||
Each component — from message passing to content distribution — works in harmony
|
||||
to create a fully self-healing, self-optimizing data mesh.
|
||||
</P>
|
||||
</div>
|
||||
|
||||
<div className="mt-16 grid gap-8 md:grid-cols-2">
|
||||
{featureGroups.map((feature) => (
|
||||
<div
|
||||
key={feature.title}
|
||||
className="flex h-full flex-col rounded-3xl border border-slate-200 bg-white p-10 shadow-sm transition hover:-translate-y-1 hover:shadow-xl"
|
||||
>
|
||||
<div>
|
||||
<Small className="text-xs uppercase tracking-[0.3em] text-cyan-500">
|
||||
Feature
|
||||
</Small>
|
||||
<h3 className="mt-4 text-2xl font-semibold text-gray-900">
|
||||
{feature.title}
|
||||
</h3>
|
||||
<p className="mt-4 text-sm leading-relaxed text-gray-600">
|
||||
{feature.description}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
{/* ✅ RIGHT SIDE — 4 items stacked with dividers */}
|
||||
<div className="space-y-8">
|
||||
|
||||
{/* 1 — Routing */}
|
||||
<div>
|
||||
<h3 className="text-lg font-semibold text-gray-950 flex items-center">
|
||||
<ArrowTrendingUpIcon className="h-6 w-6 text-cyan-500 mr-3" />
|
||||
Automatic routing & pathfinding
|
||||
</h3>
|
||||
<p className="mt-2 text-gray-600 max-w-2xl">
|
||||
The Mycelium Network automatically discovers the shortest and fastest
|
||||
routes between nodes, ensuring optimal data flow and network efficiency.
|
||||
</p>
|
||||
<div className="mt-8 h-px w-full bg-cyan-500/50" />
|
||||
</div>
|
||||
|
||||
{/* 2 — Distributed bus */}
|
||||
<div>
|
||||
<h3 className="text-lg font-semibold text-gray-950 flex items-center">
|
||||
<ChatBubbleLeftRightIcon className="h-6 w-6 text-cyan-500 mr-3" />
|
||||
Distributed message bus
|
||||
</h3>
|
||||
<p className="mt-2 text-gray-600 max-w-2xl">
|
||||
Nodes exchange information seamlessly through a resilient global
|
||||
message layer, enabling asynchronous decentralized communication.
|
||||
</p>
|
||||
<div className="mt-8 h-px w-full bg-cyan-500/50" />
|
||||
</div>
|
||||
|
||||
{/* 3 — Proxy detection */}
|
||||
<div>
|
||||
<h3 className="text-lg font-semibold text-gray-950 flex items-center">
|
||||
<MagnifyingGlassIcon className="h-6 w-6 text-cyan-500 mr-3" />
|
||||
Automatic proxy discovery
|
||||
</h3>
|
||||
<p className="mt-2 text-gray-600 max-w-2xl">
|
||||
The network scans for open SOCKS5 proxies so devices can join and
|
||||
connect without manual setup or configuration.
|
||||
</p>
|
||||
<div className="mt-8 h-px w-full bg-cyan-500/50" />
|
||||
</div>
|
||||
|
||||
{/* 4 — Delivery / CDN */}
|
||||
<div>
|
||||
<h3 className="text-lg font-semibold text-gray-950 flex items-center">
|
||||
<ServerStackIcon className="h-6 w-6 text-cyan-500 mr-3" />
|
||||
Decentralized content distribution
|
||||
</h3>
|
||||
<p className="mt-2 text-gray-600 max-w-2xl">
|
||||
Data can be served from distributed 0-DBs, forming a CDN-like delivery
|
||||
layer that is faster and more resilient than centralized servers.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
</div>
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ export function ComputeHero({ onGetStartedClick = () => {} }: { onGetStartedClic
|
||||
<div className="">
|
||||
{/* Boxed container */}
|
||||
<div
|
||||
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-200 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-100 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||
style={{ backgroundImage: "url('/images/computehero.webp')", backgroundSize: "contain" }}
|
||||
>
|
||||
{/* Inner padding */}
|
||||
@@ -44,8 +44,8 @@ export function ComputeHero({ onGetStartedClick = () => {} }: { onGetStartedClic
|
||||
|
||||
</div>
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-200" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -17,51 +17,68 @@ const overviewCards = [
|
||||
|
||||
export function ComputeOverview() {
|
||||
return (
|
||||
<section className="relative overflow-hidden bg-gray-950 py-24 sm:py-32">
|
||||
<section className="w-full max-w-8xl mx-auto bg-transparent">
|
||||
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-100" />
|
||||
|
||||
{/* ✅ subtle light-mode background accents */}
|
||||
<div className="pointer-events-none absolute inset-0">
|
||||
<CircleBackground
|
||||
color="#06b6d4"
|
||||
className="absolute -top-40 left-1/2 h-[520px] w-[520px] -translate-x-1/2 opacity-30 blur-3xl sm:opacity-40"
|
||||
className="absolute -top-40 left-1/2 h-[520px] w-[520px] -translate-x-1/2 opacity-20 blur-3xl"
|
||||
/>
|
||||
<CircleBackground
|
||||
color="#22d3ee"
|
||||
className="absolute bottom-[-18rem] left-[15%] h-[420px] w-[420px] opacity-25 blur-3xl sm:opacity-40"
|
||||
className="absolute -bottom-72 left-[15%] h-[420px] w-[420px] opacity-15 blur-3xl"
|
||||
/>
|
||||
<div className="absolute inset-0 bg-[radial-gradient(circle_at_top,_rgba(15,118,110,0.1),_transparent_55%)]" />
|
||||
<div className="absolute inset-0 bg-radial-gradient(circle_at_top,_rgba(0,0,0,0.03),_transparent_55%)]" />
|
||||
</div>
|
||||
<Container className="relative">
|
||||
|
||||
<Container className="relative py-12 bg-white mx-auto s border border-t-0 border-b-0 border-gray-100">
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow color="accent" className="tracking-[0.35em] uppercase">
|
||||
Mycelium Compute
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" color="light" className="mt-6 font-medium">
|
||||
|
||||
<SectionHeader
|
||||
as="h2"
|
||||
color="dark"
|
||||
className="mt-6 font-medium text-gray-900"
|
||||
>
|
||||
Deterministic compute fabric for autonomous workloads.
|
||||
</SectionHeader>
|
||||
<P color="lightSecondary" className="mt-6">
|
||||
|
||||
<P color="secondary" className="mt-4 text-gray-600">
|
||||
Mycelium Compute delivers predictable, sovereign performance—free
|
||||
from lock-in and drift. Deploy any workload with cryptographic
|
||||
precision, knowing the platform verifies, scales, and heals itself
|
||||
on your behalf.
|
||||
</P>
|
||||
<P color="lightSecondary" className="mt-4">
|
||||
|
||||
<P color="secondary" className="mt-4 text-gray-600">
|
||||
Deterministic. Self-managing. Stateless by design.
|
||||
</P>
|
||||
</div>
|
||||
<div className="mt-16 grid gap-6 lg:grid-cols-2">
|
||||
|
||||
{/* ✅ Light Mode Cards */}
|
||||
<div className="mt-12 grid gap-6 lg:grid-cols-2">
|
||||
{overviewCards.map((card) => (
|
||||
<div
|
||||
key={card.title}
|
||||
className="group relative overflow-hidden rounded-3xl border border-white/10 bg-white/[0.03] p-10 backdrop-blur-sm transition hover:-translate-y-1 hover:border-cyan-300/40 hover:bg-white/[0.06]"
|
||||
className="group relative overflow-hidden rounded-md border border-gray-100 bg-white p-10 shadow-sm transition hover:-translate-y-1 hover:border-cyan-300 hover:shadow-lg"
|
||||
>
|
||||
<div className="absolute inset-0 bg-gradient-to-br from-cyan-500/0 via-white/[0.04] to-cyan-300/10 opacity-0 transition group-hover:opacity-100" />
|
||||
<div className="absolute inset-0 bg-linear-to-br from-cyan-50 via-white to-cyan-100 opacity-0 transition group-hover:opacity-70" />
|
||||
|
||||
<div className="relative">
|
||||
<p className="text-[0.7rem] font-semibold uppercase tracking-[0.35em] text-cyan-300">
|
||||
<p className="text-[0.7rem] font-semibold uppercase tracking-[0.35em] text-cyan-600">
|
||||
{card.label}
|
||||
</p>
|
||||
<h3 className="mt-4 text-xl font-semibold text-white">
|
||||
<h3 className="mt-4 text-xl font-semibold text-gray-900">
|
||||
{card.title}
|
||||
</h3>
|
||||
<p className="mt-4 text-sm leading-relaxed text-gray-300">
|
||||
<p className="mt-4 text-sm leading-relaxed text-gray-600">
|
||||
{card.copy}
|
||||
</p>
|
||||
</div>
|
||||
@@ -69,6 +86,9 @@ export function ComputeOverview() {
|
||||
))}
|
||||
</div>
|
||||
</Container>
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -4,20 +4,20 @@ import { ComputeFeatures } from './ComputeFeatures'
|
||||
import { ComputeArchitecture } from './ComputeArchitecture'
|
||||
import { ComputeUseCases } from './ComputeUseCases'
|
||||
import { CallToAction } from './CallToAction'
|
||||
import { ComputeCapabilities } from './ComputeCapabilities'
|
||||
import { ComputeDesign } from './ComputeDesign'
|
||||
import { ComputeOverview } from './ComputeOverview'
|
||||
import { ComputeCapabilitiesNew } from './ComputeCapabilitiesNew'
|
||||
|
||||
|
||||
export default function ComputePage() {
|
||||
return (
|
||||
<div>
|
||||
<>
|
||||
<AnimatedSection>
|
||||
<ComputeHero />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<ComputeCapabilities />
|
||||
<ComputeCapabilitiesNew />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
@@ -43,6 +43,6 @@ export default function ComputePage() {
|
||||
<AnimatedSection>
|
||||
<CallToAction />
|
||||
</AnimatedSection>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,53 +1,137 @@
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader } from '@/components/Texts'
|
||||
"use client";
|
||||
|
||||
const useCases = [
|
||||
import { useState } from "react";
|
||||
import { ComputeCodeTabs } from "./ComputeCodeTabs"; // ✅ Make sure path is correct
|
||||
import { Eyebrow, H3, P } from "@/components/Texts";
|
||||
|
||||
const tabs = [
|
||||
{
|
||||
title: 'AI / ML Training',
|
||||
description:
|
||||
'Reproducible pipelines, private model execution, scalable GPU orchestration.',
|
||||
id: "ai",
|
||||
label: "AI / ML TRAINING",
|
||||
content: [
|
||||
{
|
||||
item: "Reproducible pipelines",
|
||||
desc: "Build deterministic, version-locked training pipelines that produce the same result every time.",
|
||||
},
|
||||
{
|
||||
|
||||
item: "Private model execution",
|
||||
desc: "Train sensitive models on hardware you control, keeping datasets and checkpoints off hyperscalers.",
|
||||
},
|
||||
{
|
||||
item: "Scalable GPU orchestration",
|
||||
desc: "Scale training and inference across decentralized GPU nodes with automated orchestration.",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Application Hosting',
|
||||
description:
|
||||
'Private, reliable, self-healing services – without cloud vendor lock-in.',
|
||||
id: "apps",
|
||||
label: "APPLICATION HOSTING",
|
||||
content: [
|
||||
{
|
||||
item: "Self-healing services",
|
||||
desc: "Private, reliable services that repair automatically without cloud vendor lock-in.",
|
||||
},
|
||||
{
|
||||
item: "Zero cloud lock-in",
|
||||
desc: "Deploy containers, VMs, or full Kubernetes clusters — migrate off AWS/GCP/Azure with no code changes.",
|
||||
},
|
||||
{
|
||||
item: "Encrypted networking",
|
||||
desc: "All services communicate through Mycelium Mesh — no VPNs, no exposed ports.",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Distributed & Edge Compute',
|
||||
description:
|
||||
'Run workloads where data lives, in homes, offices, datacenters, or remote regions.',
|
||||
id: "edge",
|
||||
label: "DISTRIBUTED & EDGE COMPUTE",
|
||||
content: [
|
||||
{
|
||||
item: "Distributed workloads",
|
||||
desc: "Run compute where data lives — homes, factories, hospitals, or remote regions.",
|
||||
},
|
||||
{
|
||||
item: "Offline-first resilience",
|
||||
desc: "Nodes keep working even with weak internet or outages — ideal for mission-critical edge.",
|
||||
},
|
||||
{
|
||||
item: "Global deployment, local data",
|
||||
desc: "Keep data in-country or on-prem for compliance, privacy, and regulated industries.",
|
||||
},
|
||||
],
|
||||
},
|
||||
]
|
||||
];
|
||||
|
||||
export function ComputeUseCases() {
|
||||
const [active, setActive] = useState("ai");
|
||||
const current = tabs.find((t) => t.id === active)!;
|
||||
|
||||
return (
|
||||
<section className="bg-gray-950 py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow color="accent" className="tracking-[0.32em] uppercase">
|
||||
<section className="relative w-full bg-[#121212] overflow-hidden">
|
||||
{/* ✅ 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" />
|
||||
|
||||
<div className="max-w-7xl mx-auto px-6 lg:px-8 py-12 border border-t-0 border-b-0 border-gray-800 bg-[#111111] overflow-hidden">
|
||||
|
||||
{/* ✅ H3 on own row */}
|
||||
<div className="mb-16">
|
||||
<Eyebrow color="accent" className="">
|
||||
Use Cases
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" color="light" className="mt-6">
|
||||
Built for Serious Workloads
|
||||
</SectionHeader>
|
||||
<H3 color="white">
|
||||
Built for Serious Workloads
|
||||
</H3>
|
||||
<P className="max-w-3xl text-gray-400 mt-6">
|
||||
Mycelium Compute is a decentralized physical infrastructure network
|
||||
(DePIN) for high-performance workloads. Run reproducible AI/ML
|
||||
pipelines, host self-healing applications, or deploy to the edge — all
|
||||
on a fabric that’s more resilient and private than the cloud.
|
||||
</P>
|
||||
</div>
|
||||
|
||||
<div className="mx-auto mt-16 max-w-4xl space-y-6">
|
||||
{useCases.map((useCase) => (
|
||||
<div
|
||||
key={useCase.title}
|
||||
className="rounded-3xl border border-white/10 bg-white/5 p-8 backdrop-blur-sm transition hover:-translate-y-1 hover:border-cyan-200/40 hover:bg-white/10"
|
||||
>
|
||||
<h3 className="text-xl font-semibold text-white">
|
||||
{useCase.title}
|
||||
</h3>
|
||||
<p className="mt-3 text-sm leading-relaxed text-gray-200">
|
||||
{useCase.description}
|
||||
</p>
|
||||
{/* ✅ Two-column layout */}
|
||||
<div className="flex flex-col lg:flex-row gap-16">
|
||||
|
||||
{/* ✅ Replace image with CodeTabs */}
|
||||
<div className="w-full lg:w-1/2">
|
||||
<ComputeCodeTabs />
|
||||
</div>
|
||||
|
||||
{/* ✅ Right side tabs & content */}
|
||||
<div className="w-full lg:w-1/2 text-white">
|
||||
|
||||
{/* Tabs Nav */}
|
||||
<div className="flex gap-6 border-b border-white/10 pb-2">
|
||||
{tabs.map((tab) => (
|
||||
<button
|
||||
key={tab.id}
|
||||
onClick={() => setActive(tab.id)}
|
||||
className={`text-sm font-medium tracking-wide pb-2 ${
|
||||
active === tab.id
|
||||
? "border-b-2 border-cyan-500 text-white"
|
||||
: "text-gray-400 hover:text-white"
|
||||
}`}
|
||||
>
|
||||
{tab.label}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
))}
|
||||
|
||||
{/* Tab Content */}
|
||||
<div className="mt-6 space-y-6">
|
||||
{current.content.map((c, i) => (
|
||||
<div key={i} className="space-y-1">
|
||||
<p className="text-base font-medium text-white">{c.item}</p>
|
||||
<p className="text-sm text-gray-400 leading-relaxed">{c.desc}</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
</div>
|
||||
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-800" />
|
||||
<div className="w-full border-b border-gray-800" />
|
||||
</section>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
189
src/pages/compute/animations/Deterministic.tsx
Normal file
@@ -0,0 +1,189 @@
|
||||
"use client";
|
||||
|
||||
import { motion, useReducedMotion } from "framer-motion";
|
||||
import clsx from "clsx";
|
||||
|
||||
type Props = {
|
||||
className?: string;
|
||||
accent?: string;
|
||||
gridStroke?: string;
|
||||
};
|
||||
|
||||
const W = 760;
|
||||
const H = 420;
|
||||
|
||||
export default function Deterministic({
|
||||
className,
|
||||
accent = "#00b8db",
|
||||
gridStroke = "#2b2a2a",
|
||||
}: Props) {
|
||||
const prefers = useReducedMotion();
|
||||
|
||||
const stages = [
|
||||
{ x: 180, y: 180, w: 120, h: 80, label: "Build" },
|
||||
{ x: 330, y: 180, w: 120, h: 80, label: "Package" },
|
||||
{ x: 480, y: 180, w: 120, h: 80, label: "Deploy" },
|
||||
];
|
||||
|
||||
// Packet path (deterministic flow)
|
||||
const packetPath = `M ${stages[0].x + 120} ${stages[0].y + 40}
|
||||
L ${stages[1].x + 0} ${stages[1].y + 40}
|
||||
L ${stages[1].x + 120} ${stages[1].y + 40}
|
||||
L ${stages[2].x + 0} ${stages[2].y + 40}`;
|
||||
|
||||
// tiny arrow for each transition
|
||||
const arrows = [
|
||||
`M ${stages[0].x + 120} ${stages[0].y + 40} L ${stages[1].x + 6} ${stages[1].y + 40}`,
|
||||
`M ${stages[1].x + 120} ${stages[1].y + 40} L ${stages[2].x + 6} ${stages[2].y + 40}`
|
||||
];
|
||||
|
||||
return (
|
||||
<div
|
||||
className={clsx("relative overflow-hidden", className)}
|
||||
aria-hidden="true"
|
||||
role="img"
|
||||
aria-label="Deterministic orchestration: predictable deployments"
|
||||
style={{ background: "transparent" }}
|
||||
>
|
||||
<svg viewBox={`0 0 ${W} ${H}`} className="w-full h-full">
|
||||
|
||||
{/* BACKGROUND GRID */}
|
||||
<defs>
|
||||
<pattern id="grid-orch" width="28" height="28" patternUnits="userSpaceOnUse">
|
||||
<path d="M 28 0 L 0 0 0 28"
|
||||
fill="none"
|
||||
stroke={gridStroke}
|
||||
strokeWidth="1"
|
||||
opacity="0.45"
|
||||
/>
|
||||
</pattern>
|
||||
|
||||
{/* Soft glow for highlight */}
|
||||
<filter id="orch-glow">
|
||||
<feGaussianBlur stdDeviation="4" result="blur" />
|
||||
<feMerge>
|
||||
<feMergeNode in="blur" />
|
||||
<feMergeNode in="SourceGraphic" />
|
||||
</feMerge>
|
||||
</filter>
|
||||
</defs>
|
||||
|
||||
<rect width={W} height={H} fill="url(#grid-orch)" />
|
||||
|
||||
{/* STAGE BOXES */}
|
||||
{stages.map((s, i) => (
|
||||
<motion.rect
|
||||
key={`stage-${i}`}
|
||||
x={s.x}
|
||||
y={s.y}
|
||||
width={s.w}
|
||||
height={s.h}
|
||||
rx={14}
|
||||
fill="#0d0d0d"
|
||||
stroke="#1a1a1a"
|
||||
strokeWidth={2}
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 0.9 }}
|
||||
transition={{ duration: 0.6 + i * 0.1 }}
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* Stage labels (subtle, not text-heavy) */}
|
||||
{stages.map((s, i) => (
|
||||
<motion.text
|
||||
key={`label-${i}`}
|
||||
x={s.x + s.w / 2}
|
||||
y={s.y + s.h / 2 + 6}
|
||||
fill="#9ca3af"
|
||||
textAnchor="middle"
|
||||
fontSize="14"
|
||||
fontFamily="Inter, sans-serif"
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 0.9 }}
|
||||
transition={{ delay: 0.1 * i, duration: 0.6 }}
|
||||
>
|
||||
{s.label}
|
||||
</motion.text>
|
||||
))}
|
||||
|
||||
{/* CONSISTENT ORCHESTRATION LINES */}
|
||||
{arrows.map((d, i) => (
|
||||
<motion.path
|
||||
key={`arrow-${i}`}
|
||||
d={d}
|
||||
stroke="#3a3a3a"
|
||||
strokeWidth={4}
|
||||
strokeLinecap="round"
|
||||
fill="none"
|
||||
initial={{ pathLength: 0, opacity: 0 }}
|
||||
animate={{ pathLength: 1, opacity: 0.8 }}
|
||||
transition={{ delay: 0.15 * i, duration: 0.8, ease: [0.22, 1, 0.36, 1] }}
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* CYAN ACCENT OVERLAY ON LINES (predictable updates) */}
|
||||
{arrows.map((d, i) => (
|
||||
<motion.path
|
||||
key={`arrow-accent-${i}`}
|
||||
d={d}
|
||||
stroke={accent}
|
||||
strokeWidth={2}
|
||||
strokeLinecap="round"
|
||||
strokeDasharray="10"
|
||||
fill="none"
|
||||
initial={{ pathLength: 0, opacity: 0 }}
|
||||
animate={{ pathLength: 1, opacity: 1 }}
|
||||
transition={{
|
||||
delay: 0.25 * i,
|
||||
duration: 0.8,
|
||||
ease: [0.22, 1, 0.36, 1]
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* MOVING PACKET SHOWING DETERMINISTIC FLOW */}
|
||||
{!prefers && (
|
||||
<motion.circle
|
||||
r={6}
|
||||
fill={accent}
|
||||
filter="url(#orch-glow)"
|
||||
style={{
|
||||
offsetPath: `path('${packetPath}')`,
|
||||
}}
|
||||
initial={{ offsetDistance: "0%", opacity: 0 }}
|
||||
animate={{
|
||||
offsetDistance: ["0%", "100%"],
|
||||
opacity: [0.2, 1, 0.2],
|
||||
}}
|
||||
transition={{
|
||||
duration: 2.3,
|
||||
repeat: Infinity,
|
||||
repeatType: "loop",
|
||||
ease: "linear",
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
{/* FINAL CONFIRMATION PULSE AT DEPLOY STAGE */}
|
||||
{!prefers && (
|
||||
<motion.circle
|
||||
cx={stages[2].x + stages[2].w / 2}
|
||||
cy={stages[2].y + stages[2].h / 2}
|
||||
r={24}
|
||||
fill={accent}
|
||||
opacity={0.1}
|
||||
initial={{ scale: 0.9, opacity: 0 }}
|
||||
animate={{ scale: [1, 1.15, 1], opacity: [0.05, 0.3, 0.05] }}
|
||||
transition={{
|
||||
duration: 1.8,
|
||||
repeat: Infinity,
|
||||
repeatType: "mirror",
|
||||
ease: [0.22, 1, 0.36, 1],
|
||||
}}
|
||||
filter="url(#orch-glow)"
|
||||
/>
|
||||
)}
|
||||
</svg>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
151
src/pages/compute/animations/Meshnetworking.tsx
Normal file
@@ -0,0 +1,151 @@
|
||||
"use client";
|
||||
|
||||
import { motion, useReducedMotion } from "framer-motion";
|
||||
import clsx from "clsx";
|
||||
|
||||
type Props = {
|
||||
className?: string;
|
||||
accent?: string;
|
||||
stroke?: string;
|
||||
};
|
||||
|
||||
const W = 760;
|
||||
const H = 420;
|
||||
|
||||
export default function MeshNetworking({
|
||||
className,
|
||||
accent = "#00b8db",
|
||||
stroke = "#4B5563",
|
||||
}: Props) {
|
||||
const prefersReduced = useReducedMotion();
|
||||
|
||||
// Nodes in a real mesh (hex pattern)
|
||||
const nodes = [
|
||||
{ x: 200, y: 120 },
|
||||
{ x: 380, y: 100 },
|
||||
{ x: 560, y: 120 },
|
||||
|
||||
{ x: 130, y: 240 },
|
||||
{ x: 320, y: 240 },
|
||||
{ x: 540, y: 240 },
|
||||
{ x: 630, y: 240 },
|
||||
|
||||
{ x: 260, y: 340 },
|
||||
{ x: 440, y: 340 },
|
||||
];
|
||||
|
||||
// All connected pairs (mesh links)
|
||||
const links = [
|
||||
[0,1],[1,2],
|
||||
[0,3],[1,4],[2,5],
|
||||
[3,4],[4,5],[5,6],
|
||||
[3,7],[4,7],[4,8],[5,8],
|
||||
[7,8]
|
||||
];
|
||||
|
||||
const drawLine = (i: number, j: number) => {
|
||||
const a = nodes[i];
|
||||
const b = nodes[j];
|
||||
return `M ${a.x} ${a.y} L ${b.x} ${b.y}`;
|
||||
};
|
||||
|
||||
return (
|
||||
<div
|
||||
className={clsx("relative overflow-hidden", className)}
|
||||
aria-hidden="true"
|
||||
role="img"
|
||||
aria-label="Mesh networking topology"
|
||||
style={{ background: "transparent" }} // ✅ transparent background
|
||||
>
|
||||
<svg viewBox={`0 0 ${W} ${H}`} className="w-full h-full">
|
||||
|
||||
{/* ✅ Subtle dark grid */}
|
||||
<defs>
|
||||
<pattern id="mesh-grid" width="28" height="28" patternUnits="userSpaceOnUse">
|
||||
<path d="M 28 0 L 0 0 0 28" fill="none" stroke="#2b2a2a" strokeWidth="1" />
|
||||
</pattern>
|
||||
</defs>
|
||||
<rect width={W} height={H} fill="url(#mesh-grid)" />
|
||||
|
||||
{/* ✅ Gray baseline mesh connections */}
|
||||
{links.map(([i, j], idx) => (
|
||||
<motion.path
|
||||
key={`base-${idx}`}
|
||||
d={drawLine(i, j)}
|
||||
stroke={stroke}
|
||||
strokeWidth={2}
|
||||
strokeLinecap="round"
|
||||
fill="none"
|
||||
initial={{ pathLength: 0 }}
|
||||
animate={{ pathLength: 1, opacity: 0.4 }}
|
||||
transition={{
|
||||
delay: 0.05 * idx,
|
||||
duration: 0.6,
|
||||
ease: [0.22, 1, 0.36, 1],
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* ✅ Cyan signal traveling across mesh diagonally */}
|
||||
{!prefersReduced &&
|
||||
links.map(([i, j], idx) => {
|
||||
const path = drawLine(i, j);
|
||||
return (
|
||||
<motion.circle
|
||||
key={`signal-${idx}`}
|
||||
r={4}
|
||||
fill={accent}
|
||||
style={{ offsetPath: `path('${path}')` }}
|
||||
initial={{ offsetDistance: "0%", opacity: 0 }}
|
||||
animate={{
|
||||
offsetDistance: ["0%", "100%"],
|
||||
opacity: [0, 1, 0],
|
||||
}}
|
||||
transition={{
|
||||
delay: idx * 0.15,
|
||||
duration: 1.8,
|
||||
repeat: Infinity,
|
||||
repeatType: "loop",
|
||||
ease: "linear",
|
||||
}}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
|
||||
{/* ✅ Nodes with soft glow */}
|
||||
{nodes.map((n, idx) => (
|
||||
<g key={`node-${idx}`}>
|
||||
<motion.circle
|
||||
cx={n.x}
|
||||
cy={n.y}
|
||||
r={18}
|
||||
fill="#0d0d0d"
|
||||
stroke="#111"
|
||||
strokeWidth={2}
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 0.7 }}
|
||||
transition={{ duration: 0.5 }}
|
||||
/>
|
||||
<motion.circle
|
||||
cx={n.x}
|
||||
cy={n.y}
|
||||
r={10}
|
||||
fill={accent}
|
||||
initial={{ opacity: 0, scale: 0.8 }}
|
||||
animate={{
|
||||
opacity: 1,
|
||||
scale: prefersReduced ? 1 : [1, 1.08, 1],
|
||||
}}
|
||||
transition={{
|
||||
duration: 1.6,
|
||||
repeat: prefersReduced ? 0 : Infinity,
|
||||
repeatType: "mirror",
|
||||
ease: [0.22, 1, 0.36, 1],
|
||||
}}
|
||||
/>
|
||||
</g>
|
||||
))}
|
||||
</svg>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
236
src/pages/compute/animations/SovereignCompute.tsx
Normal file
@@ -0,0 +1,236 @@
|
||||
"use client";
|
||||
|
||||
import { motion, useReducedMotion } from "framer-motion";
|
||||
import clsx from "clsx";
|
||||
|
||||
type Props = {
|
||||
className?: string;
|
||||
accent?: string; // cyan highlight
|
||||
gridStroke?: string; // grid color (default #2b2a2a as requested)
|
||||
};
|
||||
|
||||
const W = 760;
|
||||
const H = 420;
|
||||
|
||||
const Server = ({
|
||||
x,
|
||||
y,
|
||||
w = 140,
|
||||
h = 90,
|
||||
rows = 3,
|
||||
}: {
|
||||
x: number;
|
||||
y: number;
|
||||
w?: number;
|
||||
h?: number;
|
||||
rows?: number;
|
||||
}) => {
|
||||
const rowH = (h - 24) / rows;
|
||||
|
||||
return (
|
||||
<g>
|
||||
{/* chassis */}
|
||||
<rect x={x} y={y} width={w} height={h} rx={12} fill="#0d0d0d" stroke="#1a1a1a" strokeWidth={2} />
|
||||
{/* bays */}
|
||||
{Array.from({ length: rows }).map((_, i) => (
|
||||
<g key={i}>
|
||||
<rect
|
||||
x={x + 12}
|
||||
y={y + 12 + i * rowH}
|
||||
width={w - 24}
|
||||
height={rowH - 10}
|
||||
rx={8}
|
||||
fill="#111111"
|
||||
stroke="#1f1f1f"
|
||||
strokeWidth={1}
|
||||
/>
|
||||
{/* bay indicators */}
|
||||
<rect x={x + 20} y={y + 22 + i * rowH} width={10} height={6} rx={2} fill="#16a34a" opacity={0.8} />
|
||||
<rect x={x + 36} y={y + 22 + i * rowH} width={10} height={6} rx={2} fill="#9ca3af" opacity={0.6} />
|
||||
<rect x={x + 52} y={y + 22 + i * rowH} width={10} height={6} rx={2} fill="#9ca3af" opacity={0.6} />
|
||||
</g>
|
||||
))}
|
||||
{/* subtle top highlight */}
|
||||
<rect x={x + 2} y={y + 2} width={w - 4} height={10} rx={5} fill="#0f0f0f" />
|
||||
</g>
|
||||
);
|
||||
};
|
||||
|
||||
export default function SovereignCompute({
|
||||
className,
|
||||
accent = "#00b8db",
|
||||
gridStroke = "#2b2a2a",
|
||||
}: Props) {
|
||||
const prefers = useReducedMotion();
|
||||
|
||||
// Positions
|
||||
const left = { x: 140, y: 120 };
|
||||
const mid = { x: 310, y: 150 };
|
||||
const right= { x: 500, y: 120 };
|
||||
|
||||
// Shield position (trust boundary)
|
||||
const shield = { cx: 600, cy: 250, r: 38 };
|
||||
|
||||
// Attestation paths from racks to shield
|
||||
const pathFromLeft = `M ${left.x + 140} ${left.y + 45} C 330 150, 470 200, ${shield.cx - 50} ${shield.cy}`;
|
||||
const pathFromMid = `M ${mid.x + 140} ${mid.y + 45} C 420 190, 500 215, ${shield.cx - 50} ${shield.cy}`;
|
||||
const pathFromRight = `M ${right.x + 140} ${right.y + 45} C 520 180, 560 220, ${shield.cx - 50} ${shield.cy}`;
|
||||
|
||||
return (
|
||||
<div
|
||||
className={clsx("relative overflow-hidden", className)}
|
||||
aria-hidden="true"
|
||||
role="img"
|
||||
aria-label="Sovereign compute: execution only on hardware you control"
|
||||
style={{ background: "transparent" }}
|
||||
>
|
||||
<svg viewBox={`0 0 ${W} ${H}`} className="w-full h-full">
|
||||
{/* GRID (transparent bg, subtle dark grid) */}
|
||||
<defs>
|
||||
<pattern id="grid-secure" width="28" height="28" patternUnits="userSpaceOnUse">
|
||||
<path d="M 28 0 L 0 0 0 28" fill="none" stroke={gridStroke} strokeWidth="1" opacity="0.45" />
|
||||
</pattern>
|
||||
|
||||
{/* soft glow filter for shield */}
|
||||
<filter id="glow">
|
||||
<feGaussianBlur stdDeviation="6" result="coloredBlur" />
|
||||
<feMerge>
|
||||
<feMergeNode in="coloredBlur" />
|
||||
<feMergeNode in="SourceGraphic" />
|
||||
</feMerge>
|
||||
</filter>
|
||||
</defs>
|
||||
|
||||
<rect width={W} height={H} fill="url(#grid-secure)" />
|
||||
|
||||
{/* RACKS (hardware you control) */}
|
||||
<Server x={left.x} y={left.y} />
|
||||
<Server x={mid.x} y={mid.y} />
|
||||
<Server x={right.x} y={right.y} />
|
||||
|
||||
{/* BASELINES for attestation links */}
|
||||
{[pathFromLeft, pathFromMid, pathFromRight].map((d, i) => (
|
||||
<motion.path
|
||||
key={`base-${i}`}
|
||||
d={d}
|
||||
fill="none"
|
||||
stroke="#303030"
|
||||
strokeWidth={3}
|
||||
strokeLinecap="round"
|
||||
initial={{ pathLength: 0, opacity: 0 }}
|
||||
animate={{ pathLength: 1, opacity: 0.6 }}
|
||||
transition={{ delay: 0.15 * i, duration: 0.8, ease: [0.22, 1, 0.36, 1] }}
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* MOVING ATTESTATION TOKENS (signatures/hashes) */}
|
||||
{!prefers && [pathFromLeft, pathFromMid, pathFromRight].map((d, i) => (
|
||||
<motion.circle
|
||||
key={`token-${i}`}
|
||||
r={5}
|
||||
fill={accent}
|
||||
style={{ offsetPath: `path('${d}')` }}
|
||||
initial={{ offsetDistance: "0%", opacity: 0 }}
|
||||
animate={{ offsetDistance: ["0%", "100%"], opacity: [0, 1, 0] }}
|
||||
transition={{
|
||||
delay: 0.25 * i,
|
||||
duration: 2.0,
|
||||
repeat: Infinity,
|
||||
repeatType: "loop",
|
||||
ease: "linear",
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* TRUST BOUNDARY + SHIELD (hardware attestation target) */}
|
||||
<motion.circle
|
||||
cx={shield.cx}
|
||||
cy={shield.cy}
|
||||
r={shield.r + 18}
|
||||
fill="none"
|
||||
stroke="#1f1f1f"
|
||||
strokeWidth={2}
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 0.9 }}
|
||||
transition={{ duration: 0.6 }}
|
||||
/>
|
||||
|
||||
{/* cyan halo */}
|
||||
{!prefers && (
|
||||
<motion.circle
|
||||
cx={shield.cx}
|
||||
cy={shield.cy}
|
||||
r={shield.r + 6}
|
||||
fill={accent}
|
||||
opacity={0.12}
|
||||
initial={{ scale: 0.95, opacity: 0 }}
|
||||
animate={{ scale: [1, 1.12, 1], opacity: [0.1, 0.35, 0.1] }}
|
||||
transition={{ duration: 1.8, repeat: Infinity, repeatType: "mirror", ease: [0.22, 1, 0.36, 1] }}
|
||||
filter="url(#glow)"
|
||||
/>
|
||||
)}
|
||||
|
||||
{/* Shield outline */}
|
||||
<motion.path
|
||||
d={`M ${shield.cx} ${shield.cy - 30}
|
||||
L ${shield.cx + 28} ${shield.cy - 15}
|
||||
L ${shield.cx + 22} ${shield.cy + 24}
|
||||
L ${shield.cx} ${shield.cy + 34}
|
||||
L ${shield.cx - 22} ${shield.cy + 24}
|
||||
L ${shield.cx - 28} ${shield.cy - 15}
|
||||
Z`}
|
||||
fill="none"
|
||||
stroke={accent}
|
||||
strokeWidth={3}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
initial={{ pathLength: 0, opacity: 0 }}
|
||||
animate={{ pathLength: 1, opacity: 1 }}
|
||||
transition={{ duration: 0.9, ease: [0.22, 1, 0.36, 1] }}
|
||||
filter="url(#glow)"
|
||||
/>
|
||||
|
||||
{/* Check mark (verified hardware) */}
|
||||
<motion.path
|
||||
d={`M ${shield.cx - 14} ${shield.cy + 6} L ${shield.cx - 2} ${shield.cy + 18} L ${shield.cx + 18} ${shield.cy - 6}`}
|
||||
fill="none"
|
||||
stroke={accent}
|
||||
strokeWidth={4}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
initial={{ pathLength: 0 }}
|
||||
animate={{ pathLength: 1 }}
|
||||
transition={{ duration: 0.9, delay: 0.2, ease: [0.22, 1, 0.36, 1] }}
|
||||
filter="url(#glow)"
|
||||
/>
|
||||
|
||||
{/* LOCKED EXECUTION BOUNDARY (subtle arc) */}
|
||||
<motion.path
|
||||
d={`M ${shield.cx - 70} ${shield.cy + 46} Q ${shield.cx} ${shield.cy + 76} ${shield.cx + 70} ${shield.cy + 46}`}
|
||||
fill="none"
|
||||
stroke="#2e2e2e"
|
||||
strokeWidth={2}
|
||||
initial={{ pathLength: 0, opacity: 0 }}
|
||||
animate={{ pathLength: 1, opacity: 0.6 }}
|
||||
transition={{ duration: 0.8, delay: 0.3 }}
|
||||
/>
|
||||
|
||||
{/* Cyan confirmation pulses emanating out (execution allowed) */}
|
||||
{!prefers && [0, 1].map((i) => (
|
||||
<motion.circle
|
||||
key={`emit-${i}`}
|
||||
cx={shield.cx}
|
||||
cy={shield.cy}
|
||||
r={shield.r + 12}
|
||||
fill="none"
|
||||
stroke={accent}
|
||||
strokeWidth={2}
|
||||
initial={{ opacity: 0, scale: 0.9 }}
|
||||
animate={{ opacity: [0.0, 0.5, 0.0], scale: [1, 1.15, 1.3] }}
|
||||
transition={{ duration: 1.8, delay: i * 0.3, repeat: Infinity, ease: [0.22, 1, 0.36, 1] }}
|
||||
/>
|
||||
))}
|
||||
</svg>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -99,7 +99,7 @@ export function ComputeDeveloperExperience() {
|
||||
{sample.description}
|
||||
</p>
|
||||
</div>
|
||||
<div className="mt-auto bg-gray-900 p-6">
|
||||
<div className="mt-auto bg-[#121212] p-6">
|
||||
<pre className="overflow-auto text-left text-xs leading-relaxed text-cyan-100">
|
||||
<code>{sample.code}</code>
|
||||
</pre>
|
||||
|
||||
@@ -36,7 +36,7 @@ const features = [
|
||||
|
||||
export function DevHub() {
|
||||
return (
|
||||
<div className="bg-gray-900 py-24 sm:py-32">
|
||||
<div className="bg-[#121212] py-24 sm:py-32">
|
||||
<div className="mx-auto max-w-7xl px-6 lg:px-8">
|
||||
<div className="mx-auto grid max-w-2xl grid-cols-1 gap-x-8 gap-y-16 sm:gap-y-20 lg:mx-0 lg:max-w-none lg:grid-cols-5">
|
||||
<div className="col-span-2">
|
||||
@@ -54,7 +54,7 @@ export function DevHub() {
|
||||
href={feature.href}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="block rounded-2xl border border-gray-700 bg-gray-900/40 p-6 shadow-sm transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:bg-gray-800 hover:shadow-lg hover:shadow-cyan-500/20"
|
||||
className="block rounded-2xl border border-gray-800 bg-[#121212] /40 p-6 shadow-sm transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:bg-gray-800 hover:shadow-lg hover:shadow-cyan-500/20"
|
||||
>
|
||||
<feature.icon aria-hidden="true" className="mb-4 h-6 w-6 flex-none text-cyan-500" />
|
||||
<dt className="font-semibold text-white">{feature.name}</dt>
|
||||
|
||||
@@ -73,7 +73,7 @@ export function DownloadHero() {
|
||||
{features.map((feature) => (
|
||||
<div
|
||||
key={feature.name}
|
||||
className="flex flex-col rounded-lg border border-gray-200 p-8 shadow-sm transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20"
|
||||
className="flex flex-col rounded-lg border border-gray-100 p-8 shadow-sm transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20"
|
||||
>
|
||||
<dt className="text-base font-semibold leading-7 text-gray-900">
|
||||
<div className="mb-6 flex h-10 w-10 items-center justify-center">
|
||||
|
||||
@@ -1,48 +1,67 @@
|
||||
import { CircleBackground } from '../../components/CircleBackground'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Button } from '@/components/Button'
|
||||
"use client";
|
||||
|
||||
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">
|
||||
Choose How You Want to Start
|
||||
</h2>
|
||||
<p className="mt-6 text-lg text-gray-300">
|
||||
Use GPUs through Mycelium Cloud,
|
||||
or contribute GPU nodes to the mesh and run your own workloads.
|
||||
<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" />
|
||||
|
||||
</p>
|
||||
<div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
|
||||
<Button
|
||||
to="https://myceliumcloud.tf"
|
||||
as="a"
|
||||
variant="solid"
|
||||
color="white"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
Deploy GPU Workloads
|
||||
</Button>
|
||||
<Button
|
||||
to="#gpu-architecture"
|
||||
as="a"
|
||||
variant="outline"
|
||||
color="white"
|
||||
>
|
||||
Host A GPU Node
|
||||
</Button>
|
||||
{/* ✅ 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 GPUs through Mycelium Cloud, or contribute GPU nodes to the mesh and run your own workloads.
|
||||
</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="https://myceliumcloud.tf"
|
||||
as="a"
|
||||
variant="solid"
|
||||
color="cyan"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="mt-4"
|
||||
>
|
||||
Deploy GPU Workloads
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col items-center text-center max-w-xs">
|
||||
<Button
|
||||
to="#gpu-architecture"
|
||||
as="a"
|
||||
variant="outline"
|
||||
color="white"
|
||||
className="mt-4"
|
||||
>
|
||||
Host a GPU Node
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
</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>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,48 +1,79 @@
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader } from '@/components/Texts'
|
||||
|
||||
const architecture = [
|
||||
{
|
||||
title: 'Sovereign Compute Nodes',
|
||||
description: 'GPUs hosted on hardware you trust.',
|
||||
},
|
||||
{
|
||||
title: 'Encrypted Mesh Networking',
|
||||
description: 'Secure, private connectivity to workloads.',
|
||||
},
|
||||
{
|
||||
title: 'Reservation & Verification Layer',
|
||||
description: 'Guarantees GPU access and consistency.',
|
||||
},
|
||||
]
|
||||
import { Eyebrow, H3, P } from '@/components/Texts'
|
||||
import {
|
||||
CpuChipIcon,
|
||||
LockClosedIcon,
|
||||
ShieldCheckIcon,
|
||||
} from '@heroicons/react/24/solid'
|
||||
|
||||
export function GpuArchitecture() {
|
||||
return (
|
||||
<section id="gpu-architecture" className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<section id="gpu-architecture" className="w-full max-w-8xl mx-auto bg-transparent">
|
||||
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-100" />
|
||||
|
||||
<div className="mx-auto max-w-7xl px-6 bg-white lg:px-8 grid grid-cols-1 lg:grid-cols-2 gap-20 py-12 border border-t-0 border-b-0 border-gray-100">
|
||||
|
||||
{/* ✅ LEFT — Title + Intro text */}
|
||||
<div className="max-w-xl">
|
||||
<Eyebrow>ARCHITECTURE</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
HOW IT WORKS
|
||||
</SectionHeader>
|
||||
|
||||
<H3 className="mt-6">
|
||||
How It Works
|
||||
</H3>
|
||||
|
||||
<P className="mt-6 text-lg text-gray-600">
|
||||
Mycelium GPU architecture ensures secure, sovereign computation using
|
||||
hardware you trust. Nodes communicate through encrypted mesh networking,
|
||||
and access is guaranteed through verifiable reservations.
|
||||
</P>
|
||||
</div>
|
||||
|
||||
<div className="mx-auto mt-16 max-w-4xl space-y-6 lg:space-y-0 lg:grid lg:grid-cols-3 lg:gap-8">
|
||||
{architecture.map((item) => (
|
||||
<div
|
||||
key={item.title}
|
||||
className="rounded-3xl border border-slate-200 bg-white p-8 shadow-sm transition hover:-translate-y-1 hover:border-cyan-300 hover:shadow-lg"
|
||||
>
|
||||
<h3 className="text-xl font-semibold text-gray-900">
|
||||
{item.title}
|
||||
</h3>
|
||||
<p className="mt-3 text-sm leading-relaxed text-gray-600">
|
||||
{item.description}
|
||||
</p>
|
||||
</div>
|
||||
))}
|
||||
{/* ✅ RIGHT — items stacked with cyan dividers */}
|
||||
<div className="space-y-8">
|
||||
|
||||
{/* 1 — Sovereign Compute Nodes */}
|
||||
<div>
|
||||
<h3 className="text-lg font-semibold text-gray-950 flex items-center">
|
||||
<CpuChipIcon className="h-6 w-6 text-cyan-500 mr-3" />
|
||||
Sovereign Compute Nodes
|
||||
</h3>
|
||||
<p className="mt-2 text-gray-600 max-w-2xl">
|
||||
GPUs run only on hardware you control — eliminating reliance on centralized clouds.
|
||||
</p>
|
||||
<div className="mt-8 h-px w-full bg-cyan-500/50" />
|
||||
</div>
|
||||
|
||||
{/* 2 — Encrypted Mesh Networking */}
|
||||
<div>
|
||||
<h3 className="text-lg font-semibold text-gray-950 flex items-center">
|
||||
<LockClosedIcon className="h-6 w-6 text-cyan-500 mr-3" />
|
||||
Encrypted Mesh Networking
|
||||
</h3>
|
||||
<p className="mt-2 text-gray-600 max-w-2xl">
|
||||
Nodes form private, encrypted tunnels to workloads — no public exposure required.
|
||||
</p>
|
||||
<div className="mt-8 h-px w-full bg-cyan-500/50" />
|
||||
</div>
|
||||
|
||||
{/* 3 — Reservation & Verification Layer */}
|
||||
<div>
|
||||
<h3 className="text-lg font-semibold text-gray-950 flex items-center">
|
||||
<ShieldCheckIcon className="h-6 w-6 text-cyan-500 mr-3" />
|
||||
Reservation & Verification Layer
|
||||
</h3>
|
||||
<p className="mt-2 text-gray-600 max-w-2xl">
|
||||
Cryptographically enforced reservations guarantee GPU availability
|
||||
with deterministic behavior across workloads.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
</div>
|
||||
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,58 +1,133 @@
|
||||
import {
|
||||
SparklesIcon,
|
||||
Cog6ToothIcon,
|
||||
CubeTransparentIcon,
|
||||
CpuChipIcon,
|
||||
} from '@heroicons/react/24/solid'
|
||||
import { Eyebrow, H3, CT, CP } from '@/components/Texts'
|
||||
import { Container } from '@/components/Container'
|
||||
"use client";
|
||||
|
||||
const capabilities = [
|
||||
import { useRef } from "react";
|
||||
import { Eyebrow, CP, CT, H5 } from "@/components/Texts";
|
||||
import { IoArrowBackOutline, IoArrowForwardOutline } from "react-icons/io5";
|
||||
|
||||
// ✅ Import animations
|
||||
|
||||
import KubernetesAcceleration from "./animations/KubernetesAcceleration";
|
||||
import RenderingSimulation from "./animations/RenderingSimulation";
|
||||
import RAGPipeline from "./animations/RAGPipeline";
|
||||
import InterferenceAnimation from "./animations/InterferenceAnimation";
|
||||
|
||||
const gpuCapabilities = [
|
||||
{
|
||||
name: 'AI / ML Inference & Training',
|
||||
description: 'LLMs, embeddings, transformers, fine-tuning',
|
||||
icon: SparklesIcon,
|
||||
isIntro: true,
|
||||
eyebrow: "CAPABILITIES",
|
||||
title: "What You Can Run on Mycelium Cloud",
|
||||
description:
|
||||
"GPU acceleration for inference, training, rendering, and agent workloads — on sovereign hardware.",
|
||||
},
|
||||
{
|
||||
name: 'Acceleration in Kubernetes Workloads',
|
||||
description: 'GPU-backed deployments on Mycelium Cloud',
|
||||
icon: Cog6ToothIcon,
|
||||
name: "AI / ML Inference & Training",
|
||||
description: "LLMs, embeddings, transformers, fine-tuning",
|
||||
animation: InterferenceAnimation,
|
||||
},
|
||||
{
|
||||
name: 'Rendering & Simulation',
|
||||
description: 'Scientific visualization, VFX, real-time 3D',
|
||||
icon: CubeTransparentIcon,
|
||||
name: "Acceleration in Kubernetes Workloads",
|
||||
description: "GPU-backed deployments on Mycelium Cloud",
|
||||
animation: KubernetesAcceleration,
|
||||
},
|
||||
{
|
||||
name: 'Agent Compute & RAG Pipelines',
|
||||
description: 'Vector memory + model execution on sovereign hardware',
|
||||
icon: CpuChipIcon,
|
||||
name: "Rendering & Simulation",
|
||||
description: "Scientific visualization, VFX, real-time 3D",
|
||||
animation: RenderingSimulation,
|
||||
},
|
||||
]
|
||||
{
|
||||
name: "Agent Compute & RAG Pipelines",
|
||||
description:
|
||||
"Vector memory + model execution on sovereign hardware",
|
||||
animation: RAGPipeline,
|
||||
},
|
||||
];
|
||||
|
||||
export function GpuCapabilities() {
|
||||
return (
|
||||
<section className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow>CAPABILITIES</Eyebrow>
|
||||
<H3 className="mt-4 text-gray-900">What You Can Run on Mycelium Cloud</H3>
|
||||
</div>
|
||||
const sliderRef = useRef<HTMLUListElement>(null);
|
||||
|
||||
<div className="mx-auto mt-16 max-w-5xl">
|
||||
<dl className="grid grid-cols-1 gap-12 sm:grid-cols-2 lg:grid-cols-4">
|
||||
{capabilities.map((feature) => (
|
||||
<div key={feature.name} className="flex flex-col text-center">
|
||||
<div className="mx-auto flex size-12 items-center justify-center rounded-xl bg-cyan-50">
|
||||
<feature.icon className="size-6 text-cyan-600" aria-hidden="true" />
|
||||
const scrollLeft = () =>
|
||||
sliderRef.current?.scrollBy({ left: -400, behavior: "smooth" });
|
||||
const scrollRight = () =>
|
||||
sliderRef.current?.scrollBy({ left: 400, behavior: "smooth" });
|
||||
|
||||
return (
|
||||
<section className="bg-[#121212] w-full max-w-8xl mx-auto">
|
||||
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-800" />
|
||||
<div className="w-full border-t border-l border-r border-gray-800" />
|
||||
|
||||
<div className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-800 bg-[#111111] overflow-hidden">
|
||||
|
||||
{/* ✅ Horizontal Slider */}
|
||||
<ul
|
||||
ref={sliderRef}
|
||||
className="flex overflow-x-auto snap-x snap-mandatory scroll-smooth no-scrollbar"
|
||||
>
|
||||
{gpuCapabilities.map((item, idx) => (
|
||||
<li
|
||||
key={idx}
|
||||
className={`snap-start shrink-0 w-[85%] sm:w-[50%] lg:w-[33%] border border-gray-800 relative flex flex-col ${
|
||||
item.isIntro ? "bg-[#1b1b1b] p-10" : "bg-[#111]/60"
|
||||
}`}
|
||||
>
|
||||
{item.isIntro ? (
|
||||
<div className="flex flex-col justify-between h-full">
|
||||
<div>
|
||||
<Eyebrow>{item.eyebrow}</Eyebrow>
|
||||
<H5 className="text-white mt-4 lg:text-2xl text-xl">
|
||||
{item.title}
|
||||
</H5>
|
||||
<p className="mt-4 text-gray-400 lg:text-lg text-sm leading-relaxed">
|
||||
{item.description}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="flex items-center gap-x-4 mt-3">
|
||||
<a
|
||||
href="#"
|
||||
className="inline-flex items-center gap-1 text-cyan-400 hover:text-cyan-300 text-sm font-medium mr-auto"
|
||||
>
|
||||
Learn more →
|
||||
</a>
|
||||
|
||||
<button
|
||||
onClick={scrollLeft}
|
||||
className="h-8 w-8 flex items-center justify-center border border-gray-800 rounded-md hover:border-cyan-500 transition-colors"
|
||||
>
|
||||
<IoArrowBackOutline className="text-gray-300" size={16} />
|
||||
</button>
|
||||
|
||||
<button
|
||||
onClick={scrollRight}
|
||||
className="h-8 w-8 flex items-center justify-center border border-gray-800 rounded-md hover:border-cyan-500 transition-colors"
|
||||
>
|
||||
<IoArrowForwardOutline className="text-gray-300" size={16} />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<CT className="mt-6 text-gray-900">{feature.name}</CT>
|
||||
<CP className="mt-2 text-gray-600">{feature.description}</CP>
|
||||
</div>
|
||||
))}
|
||||
</dl>
|
||||
</div>
|
||||
</Container>
|
||||
) : (
|
||||
<>
|
||||
{/* ✅ STREAMING ANIMATION REPLACES ICON */}
|
||||
<div className="w-full flex items-center justify-center">
|
||||
{item.animation && <item.animation />}
|
||||
</div>
|
||||
|
||||
<div className="p-6 text-center">
|
||||
<CT className="text-lg font-semibold text-white mt-2">
|
||||
{item.name}
|
||||
</CT>
|
||||
<CP className="mt-2 text-gray-400 leading-snug">
|
||||
{item.description}
|
||||
</CP>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<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" />
|
||||
</section>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, H3, CT } from '@/components/Texts'
|
||||
import {
|
||||
BoltIcon,
|
||||
BanknotesIcon,
|
||||
@@ -9,51 +7,55 @@ import {
|
||||
|
||||
const benefits = [
|
||||
{
|
||||
name: 'Consistent, reserved GPU performance (no noisy neighbor effects)',
|
||||
id: 1,
|
||||
title: 'Consistent, reserved GPU performance (no noisy neighbor effects)',
|
||||
icon: BoltIcon,
|
||||
},
|
||||
{
|
||||
name: 'Transparent cost (no markup, no surprise billing)',
|
||||
id: 2,
|
||||
title: 'Transparent cost (no markup, no surprise billing)',
|
||||
icon: BanknotesIcon,
|
||||
},
|
||||
{
|
||||
name: 'Run anywhere – cloud, on-prem, edge, home lab',
|
||||
id: 3,
|
||||
title: 'Run anywhere – cloud, on-prem, edge, home lab',
|
||||
icon: GlobeAltIcon,
|
||||
},
|
||||
{
|
||||
name: 'Your data never leaves your control',
|
||||
id: 4,
|
||||
title: 'Your data never leaves your control',
|
||||
icon: ShieldCheckIcon,
|
||||
},
|
||||
]
|
||||
|
||||
export function GpuDesign() {
|
||||
return (
|
||||
<section className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
{/* Header */}
|
||||
<div className="mx-auto max-w-3xl sm:text-center">
|
||||
<Eyebrow>CORE VALUE</Eyebrow>
|
||||
<H3 className="mt-4 text-gray-900">GPU Power You Actually Control</H3>
|
||||
<section className="w-full max-w-8xl mx-auto bg-transparent">
|
||||
|
||||
</div>
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
<div className="w-full border border-l border-r border-gray-100" />
|
||||
|
||||
{/* ✅ Main content */}
|
||||
<div className="mx-auto max-w-7xl border-gray-100 ">
|
||||
<dl className="grid grid-cols-1 gap-4 lg:gap-6 lg:grid-cols-4 text-center ">
|
||||
{benefits.map((item) => (
|
||||
<div
|
||||
key={item.id}
|
||||
className="flex flex-col items-center bg-white/40 dark:bg-black/40 py-10 px-4 border border-gray-100 dark:border-gray-800 lg:border-t-0 lg:border-b-0"
|
||||
>
|
||||
<item.icon className="h-10 w-10 text-cyan-500 mb-4" />
|
||||
<h3 className="text-base font-medium text-black dark:text-white max-w-xs">
|
||||
{item.title}
|
||||
</h3>
|
||||
</div>
|
||||
))}
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
{/* Key Benefits */}
|
||||
<div className="mx-auto mt-16 max-w-5xl">
|
||||
<dl className="grid grid-cols-1 gap-12 sm:grid-cols-2 lg:grid-cols-2">
|
||||
{benefits.map((benefit) => (
|
||||
<div key={benefit.name} className="relative pl-12">
|
||||
<benefit.icon
|
||||
className="absolute left-0 top-1 size-6 text-cyan-600"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
<CT className="font-semibold text-gray-900">
|
||||
{benefit.name}
|
||||
</CT>
|
||||
</div>
|
||||
))}
|
||||
</dl>
|
||||
</div>
|
||||
</Container>
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-0 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ export function GpuHero() {
|
||||
<div className="">
|
||||
{/* Boxed container */}
|
||||
<div
|
||||
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-200 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-100 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||
style={{ backgroundImage: "url('/images/gpuhero2.png')", backgroundSize: "contain" }}
|
||||
>
|
||||
{/* Inner padding */}
|
||||
@@ -33,8 +33,8 @@ export function GpuHero() {
|
||||
</div>
|
||||
</div>
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-200" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
'use client'
|
||||
|
||||
import {
|
||||
AdjustmentsHorizontalIcon,
|
||||
GlobeAltIcon,
|
||||
@@ -30,40 +32,66 @@ const coreFeatures = [
|
||||
|
||||
export function GpuOverview() {
|
||||
return (
|
||||
<section className="bg-gray-950 py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.32em] uppercase text-cyan-300">
|
||||
PLATFORM OVERVIEW
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" color="light" className="mt-6 font-medium">
|
||||
Core Features
|
||||
</SectionHeader>
|
||||
<P color="lightSecondary" className="mt-6">
|
||||
The Mycelium GPU layer provides predictable, sovereign acceleration
|
||||
— without arbitrary limits or hidden economics.
|
||||
</P>
|
||||
</div>
|
||||
<section className="bg-[#121212] w-full max-w-8xl mx-auto">
|
||||
|
||||
<div className="mx-auto mt-16 max-w-5xl grid gap-8 sm:grid-cols-2 lg:grid-cols-3">
|
||||
{coreFeatures.map((feature) => (
|
||||
<div
|
||||
key={feature.name}
|
||||
className="rounded-3xl border border-white/10 bg-white/[0.04] p-8 text-left backdrop-blur-sm transition hover:-translate-y-1 hover:border-cyan-300/50 hover:bg-white/[0.08]"
|
||||
{/* ✅ Top spacer */}
|
||||
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-800 bg-transparent" />
|
||||
<div className="w-full border-t border-l border-r border-gray-800" />
|
||||
|
||||
{/* ✅ Boxed container */}
|
||||
<div className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-800 bg-[#111111] py-12">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="text-cyan-400 tracking-[0.32em] uppercase">
|
||||
PLATFORM OVERVIEW
|
||||
</Eyebrow>
|
||||
|
||||
<SectionHeader
|
||||
as="h2"
|
||||
className="mt-6 text-3xl lg:text-4xl font-medium tracking-tight text-white"
|
||||
>
|
||||
<div className="mb-6 flex size-12 items-center justify-center rounded-full bg-cyan-500/15">
|
||||
<feature.icon className="size-6 text-cyan-300" aria-hidden="true" />
|
||||
</div>
|
||||
<h3 className="text-lg font-semibold text-white">
|
||||
{feature.name}
|
||||
</h3>
|
||||
<p className="mt-3 text-sm leading-relaxed text-gray-300">
|
||||
{feature.description}
|
||||
</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</Container>
|
||||
Core GPU Features
|
||||
</SectionHeader>
|
||||
|
||||
<P className="mt-6 text-lg text-gray-300">
|
||||
The Mycelium GPU fabric provides predictable, sovereign acceleration —
|
||||
without arbitrary limits or hidden economics.
|
||||
</P>
|
||||
</div>
|
||||
|
||||
{/* ✅ Grid matching CloudArchitecture card layout */}
|
||||
<ul
|
||||
role="list"
|
||||
className="mx-auto mt-12 grid max-w-2xl grid-cols-1 gap-6 text-sm
|
||||
sm:grid-cols-2 lg:max-w-none lg:grid-cols-3 md:gap-y-10 "
|
||||
>
|
||||
{coreFeatures.map((feature) => (
|
||||
<li
|
||||
key={feature.name}
|
||||
className="rounded-xl border border-gray-800 bg-[#111]/60 p-6 hover:transform-[scale(1.05)] transition"
|
||||
>
|
||||
<div className="mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-cyan-500/15">
|
||||
<feature.icon className="h-6 w-6 text-cyan-300" />
|
||||
</div>
|
||||
|
||||
<h3 className="text-lg font-semibold text-white">
|
||||
{feature.name}
|
||||
</h3>
|
||||
|
||||
<p className="mt-2 text-gray-400 leading-snug">
|
||||
{feature.description}
|
||||
</p>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
|
||||
</Container>
|
||||
</div>
|
||||
|
||||
{/* ✅ Bottom border + spacer */}
|
||||
<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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '@/components/Texts'
|
||||
|
||||
const gpuUseCases = [
|
||||
@@ -18,35 +17,52 @@ const gpuUseCases = [
|
||||
|
||||
export function GpuUseCases() {
|
||||
return (
|
||||
<section className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<section className="w-full max-w-8xl mx-auto bg-white">
|
||||
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-slate-200"></div>
|
||||
<div className="w-full border-t border-l border-r border-slate-200" />
|
||||
|
||||
{/* ✅ Main boxed content */}
|
||||
<div className="mx-auto max-w-7xl px-6 bg-white lg:px-8 grid grid-cols-1 lg:grid-cols-2 gap-20 py-12 border border-t-0 border-b-0 border-slate-200">
|
||||
|
||||
{/* ✅ LEFT SIDE — Title + Intro */}
|
||||
<div className="max-w-xl">
|
||||
<Eyebrow>USE CASES</Eyebrow>
|
||||
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
Built for Intelligent Workloads
|
||||
</SectionHeader>
|
||||
|
||||
<P className="mt-6 text-gray-600">
|
||||
From sovereign AI execution to real-time rendering and edge inference,
|
||||
Mycelium GPU ensures predictable acceleration with full ownership and no centralized control.
|
||||
Mycelium GPU ensures predictable acceleration with full ownership —
|
||||
no centralized control.
|
||||
</P>
|
||||
</div>
|
||||
|
||||
<div className="mx-auto mt-16 max-w-4xl space-y-6 lg:space-y-0 lg:grid lg:grid-cols-3 lg:gap-8">
|
||||
{/* ✅ RIGHT SIDE — 3 stacked features */}
|
||||
<div className="space-y-8">
|
||||
{gpuUseCases.map((useCase) => (
|
||||
<div
|
||||
key={useCase.title}
|
||||
className="rounded-3xl border border-slate-200 bg-white p-8 shadow-sm transition hover:-translate-y-1 hover:border-cyan-300 hover:shadow-lg"
|
||||
>
|
||||
<h3 className="text-xl font-semibold text-gray-900">
|
||||
<div key={useCase.title}>
|
||||
<h3 className="text-lg font-semibold text-gray-900">
|
||||
{useCase.title}
|
||||
</h3>
|
||||
<p className="mt-3 text-sm leading-relaxed text-gray-600">
|
||||
<p className="mt-2 text-gray-600 max-w-2xl">
|
||||
{useCase.description}
|
||||
</p>
|
||||
{/* ✅ divider except last item */}
|
||||
{useCase.title !== 'Distributed & Edge Compute' && (
|
||||
<div className="mt-8 h-px w-full bg-cyan-300/40" />
|
||||
)}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</Container>
|
||||
</div>
|
||||
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-slate-200" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-slate-200"></div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
296
src/pages/gpu/animations/InterferenceAnimation.tsx
Normal file
@@ -0,0 +1,296 @@
|
||||
"use client";
|
||||
|
||||
export default function InferenceAnimation() {
|
||||
return (
|
||||
<svg
|
||||
width="382"
|
||||
height="282"
|
||||
viewBox="0 0 382 282"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
role="img"
|
||||
aria-labelledby="title desc"
|
||||
>
|
||||
<title id="title">AI / ML Inference & Training Animation</title>
|
||||
<desc id="desc">
|
||||
Animated neural graph sending signals to a glowing GPU chip on a dark
|
||||
background.
|
||||
</desc>
|
||||
|
||||
{/* ---------- DEFINITIONS ---------- */}
|
||||
<defs>
|
||||
{/* Dark grid pattern */}
|
||||
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse">
|
||||
<path d="M16 0H0V16" fill="none" stroke="#0f1621" strokeWidth="1" />
|
||||
</pattern>
|
||||
|
||||
{/* Cyan gradient */}
|
||||
<linearGradient id="cyanglow" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0%" stopColor="#00E5FF">
|
||||
<animate
|
||||
attributeName="stop-color"
|
||||
values="#00E5FF;#00B8DB;#00E5FF"
|
||||
dur="4s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</stop>
|
||||
<stop offset="100%" stopColor="#00B8DB">
|
||||
<animate
|
||||
attributeName="stop-color"
|
||||
values="#00B8DB;#00E5FF;#00B8DB"
|
||||
dur="4s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</stop>
|
||||
</linearGradient>
|
||||
|
||||
{/* Soft outer glow */}
|
||||
<filter id="softGlow" x="-50%" y="-50%" width="200%" height="200%">
|
||||
<feGaussianBlur stdDeviation="6" result="blur" />
|
||||
<feMerge>
|
||||
<feMergeNode in="blur" />
|
||||
<feMergeNode in="SourceGraphic" />
|
||||
</feMerge>
|
||||
</filter>
|
||||
|
||||
{/* Sharper glow for nodes */}
|
||||
<filter id="nodeGlow" x="-150%" y="-150%" width="400%" height="400%">
|
||||
<feGaussianBlur stdDeviation="3" result="ng" />
|
||||
<feMerge>
|
||||
<feMergeNode in="ng" />
|
||||
<feMergeNode in="SourceGraphic" />
|
||||
</feMerge>
|
||||
</filter>
|
||||
|
||||
{/* Dashed link style */}
|
||||
<style>{`
|
||||
.link {
|
||||
stroke: #11cdef;
|
||||
stroke-width: 1.75;
|
||||
stroke-linecap: round;
|
||||
stroke-dasharray: 6 10;
|
||||
opacity: 0.9;
|
||||
}
|
||||
.muted { opacity: 0.65; }
|
||||
.chip-line { stroke: #93c5fd; stroke-width: 1; opacity: 0.7; }
|
||||
`}</style>
|
||||
|
||||
{/* Reusable motion path for packet */}
|
||||
<path
|
||||
id="path1"
|
||||
d="M 64 156 C 110 118, 160 130, 206 140 S 280 158, 316 150"
|
||||
fill="none"
|
||||
/>
|
||||
<path
|
||||
id="path2"
|
||||
d="M 64 116 C 116 96, 160 104, 204 112 S 280 126, 316 112"
|
||||
fill="none"
|
||||
/>
|
||||
</defs>
|
||||
|
||||
{/* ---------- BACKGROUND ---------- */}
|
||||
<rect width="382" height="282" fill="transparent" />
|
||||
<rect width="382" height="282" fill="url(#grid)" opacity="0.55" />
|
||||
|
||||
{/* ---------- GPU CHIP (RIGHT) ---------- */}
|
||||
<g transform="translate(252,62)">
|
||||
{/* Outer casing */}
|
||||
<rect
|
||||
x="0"
|
||||
y="0"
|
||||
width="112"
|
||||
height="158"
|
||||
rx="18"
|
||||
fill="#0e1724"
|
||||
stroke="url(#cyanglow)"
|
||||
strokeWidth="2"
|
||||
filter="url(#softGlow)"
|
||||
/>
|
||||
{/* Inner frame */}
|
||||
<rect
|
||||
x="12"
|
||||
y="14"
|
||||
width="88"
|
||||
height="130"
|
||||
rx="10"
|
||||
fill="#0b1320"
|
||||
stroke="#163447"
|
||||
strokeWidth="1.5"
|
||||
/>
|
||||
{/* Matrix / cores */}
|
||||
{[...Array(5)].map((_, r) => (
|
||||
<line
|
||||
key={`row-${r}`}
|
||||
x1="20"
|
||||
x2="92"
|
||||
y1={28 + r * 24}
|
||||
y2={28 + r * 24}
|
||||
className="chip-line"
|
||||
/>
|
||||
))}
|
||||
{[...Array(6)].map((_, c) => (
|
||||
<line
|
||||
key={`col-${c}`}
|
||||
y1="26"
|
||||
y2="126"
|
||||
x1={22 + c * 12}
|
||||
x2={22 + c * 12}
|
||||
className="chip-line"
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* Pulsing GPU die */}
|
||||
<rect
|
||||
x="40"
|
||||
y="58"
|
||||
width="32"
|
||||
height="32"
|
||||
rx="6"
|
||||
fill="url(#cyanglow)"
|
||||
opacity="0.85"
|
||||
>
|
||||
<animate
|
||||
attributeName="opacity"
|
||||
values="0.5;0.95;0.5"
|
||||
dur="2.2s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</rect>
|
||||
|
||||
{/* Glow ring */}
|
||||
<rect
|
||||
x="36"
|
||||
y="54"
|
||||
width="40"
|
||||
height="40"
|
||||
rx="8"
|
||||
stroke="url(#cyanglow)"
|
||||
strokeWidth="2"
|
||||
fill="none"
|
||||
>
|
||||
<animate
|
||||
attributeName="stroke-width"
|
||||
values="2;4;2"
|
||||
dur="2.2s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</rect>
|
||||
</g>
|
||||
|
||||
{/* ---------- NEURAL GRAPH (LEFT/MID) ---------- */}
|
||||
<g transform="translate(28,34)">
|
||||
{/* Links */}
|
||||
<g className="muted">
|
||||
{/* lower cluster to chip */}
|
||||
<path className="link" d="M36 148 L96 124" >
|
||||
<animate
|
||||
attributeName="stroke-dashoffset"
|
||||
values="0;-32"
|
||||
dur="1.6s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</path>
|
||||
<path className="link" d="M96 124 L152 138" >
|
||||
<animate
|
||||
attributeName="stroke-dashoffset"
|
||||
values="0;-32"
|
||||
dur="1.6s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</path>
|
||||
<path className="link" d="M152 138 L212 132" >
|
||||
<animate
|
||||
attributeName="stroke-dashoffset"
|
||||
values="0;-32"
|
||||
dur="1.6s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</path>
|
||||
|
||||
{/* upper cluster to mid */}
|
||||
<path className="link" d="M40 76 L92 88" >
|
||||
<animate
|
||||
attributeName="stroke-dashoffset"
|
||||
values="0;-28"
|
||||
dur="1.4s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</path>
|
||||
<path className="link" d="M92 88 L140 96" >
|
||||
<animate
|
||||
attributeName="stroke-dashoffset"
|
||||
values="0;-28"
|
||||
dur="1.4s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</path>
|
||||
<path className="link" d="M140 96 L206 106" >
|
||||
<animate
|
||||
attributeName="stroke-dashoffset"
|
||||
values="0;-28"
|
||||
dur="1.4s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</path>
|
||||
|
||||
{/* vertical cross links */}
|
||||
<path className="link" d="M92 88 L96 124" >
|
||||
<animate
|
||||
attributeName="stroke-dashoffset"
|
||||
values="0;-24"
|
||||
dur="1.2s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</path>
|
||||
<path className="link" d="M140 96 L152 138" >
|
||||
<animate
|
||||
attributeName="stroke-dashoffset"
|
||||
values="0;-24"
|
||||
dur="1.2s"
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</path>
|
||||
</g>
|
||||
|
||||
{/* Nodes */}
|
||||
{[
|
||||
{ x: 36, y: 148, r: 6 },
|
||||
{ x: 40, y: 76, r: 6 },
|
||||
{ x: 96, y: 124, r: 7 },
|
||||
{ x: 92, y: 88, r: 7 },
|
||||
{ x: 140, y: 96, r: 7 },
|
||||
{ x: 152, y: 138, r: 7 },
|
||||
{ x: 206, y: 106, r: 6.5 },
|
||||
{ x: 212, y: 132, r: 6.5 },
|
||||
].map((n, i) => (
|
||||
<g key={i} filter="url(#nodeGlow)">
|
||||
<circle cx={n.x} cy={n.y} r={n.r} fill="#06121a" stroke="#163447" />
|
||||
<circle cx={n.x} cy={n.y} r={n.r - 2} fill="url(#cyanglow)" opacity="0.9">
|
||||
<animate
|
||||
attributeName="opacity"
|
||||
values="0.6;1;0.6"
|
||||
dur={`${1.2 + (i % 4) * 0.2}s`}
|
||||
repeatCount="indefinite"
|
||||
/>
|
||||
</circle>
|
||||
</g>
|
||||
))}
|
||||
|
||||
{/* Data packets moving along paths */}
|
||||
<g>
|
||||
<circle r="3.2" fill="url(#cyanglow)">
|
||||
<animateMotion dur="2.6s" repeatCount="indefinite">
|
||||
<mpath href="#path1" />
|
||||
</animateMotion>
|
||||
</circle>
|
||||
<circle r="2.8" fill="url(#cyanglow)" opacity="0.85">
|
||||
<animateMotion dur="2.2s" begin="0.4s" repeatCount="indefinite">
|
||||
<mpath href="#path2" />
|
||||
</animateMotion>
|
||||
</circle>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
{/* ---------- LABELS ---------- */}
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
124
src/pages/gpu/animations/KubernetesAcceleration.tsx
Normal file
@@ -0,0 +1,124 @@
|
||||
"use client";
|
||||
|
||||
export default function KubernetesAcceleration() {
|
||||
return (
|
||||
<svg
|
||||
width="382"
|
||||
height="282"
|
||||
viewBox="0 0 382 282"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
role="img"
|
||||
aria-labelledby="title desc"
|
||||
>
|
||||
<title id="title">Acceleration in Kubernetes</title>
|
||||
<desc id="desc">Pods spin up on a grid and get GPU badges.</desc>
|
||||
|
||||
<defs>
|
||||
{/* Dark grid */}
|
||||
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse">
|
||||
<path d="M16 0H0V16" fill="none" stroke="#0f1621" strokeWidth="1" />
|
||||
</pattern>
|
||||
|
||||
{/* Cyan gradient */}
|
||||
<linearGradient id="cyanglow" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0%" stopColor="#00E5FF">
|
||||
<animate attributeName="stop-color" values="#00E5FF;#00B8DB;#00E5FF" dur="4s" repeatCount="indefinite" />
|
||||
</stop>
|
||||
<stop offset="100%" stopColor="#00B8DB">
|
||||
<animate attributeName="stop-color" values="#00B8DB;#00E5FF;#00B8DB" dur="4s" repeatCount="indefinite" />
|
||||
</stop>
|
||||
</linearGradient>
|
||||
|
||||
<filter id="softGlow" x="-50%" y="-50%" width="200%" height="200%">
|
||||
<feGaussianBlur stdDeviation="5" result="b" />
|
||||
<feMerge>
|
||||
<feMergeNode in="b" />
|
||||
<feMergeNode in="SourceGraphic" />
|
||||
</feMerge>
|
||||
</filter>
|
||||
|
||||
<style>{`
|
||||
.pod {
|
||||
fill: #0e1724;
|
||||
stroke: #163447;
|
||||
stroke-width: 1.5;
|
||||
}
|
||||
.podOn {
|
||||
stroke: url(#cyanglow);
|
||||
}
|
||||
.badge {
|
||||
stroke: url(#cyanglow);
|
||||
stroke-width: 1.5;
|
||||
fill: #09131c;
|
||||
}
|
||||
`}</style>
|
||||
</defs>
|
||||
|
||||
{/* Background */}
|
||||
<rect width="382" height="282" fill="transparent" />
|
||||
<rect width="382" height="282" fill="url(#grid)" opacity="0.55" />
|
||||
|
||||
{/* Cluster grid */}
|
||||
<g transform="translate(40,50)">
|
||||
{/* 4 rows × 6 cols */}
|
||||
{Array.from({ length: 4 }).map((_, r) =>
|
||||
Array.from({ length: 6 }).map((__, c) => {
|
||||
const x = 18 + c * 48;
|
||||
const y = 24 + r * 46;
|
||||
const delay = (r * 6 + c) * 0.06;
|
||||
const on = (r + c) % 2 === 0; // mark some pods "on"
|
||||
return (
|
||||
<g key={`${r}-${c}`}>
|
||||
{/* Pod */}
|
||||
<rect
|
||||
x={x}
|
||||
y={y}
|
||||
width="34"
|
||||
height="26"
|
||||
rx="6"
|
||||
className={`pod ${on ? "podOn" : ""}`}
|
||||
>
|
||||
<animate
|
||||
attributeName="opacity"
|
||||
values="0;1"
|
||||
dur="0.35s"
|
||||
begin={`${delay}s`}
|
||||
fill="freeze"
|
||||
/>
|
||||
<animateTransform
|
||||
attributeName="transform"
|
||||
attributeType="XML"
|
||||
type="scale"
|
||||
additive="sum"
|
||||
values="0.7 0.7;1 1"
|
||||
dur="0.35s"
|
||||
begin={`${delay}s`}
|
||||
fill="freeze"
|
||||
/>
|
||||
</rect>
|
||||
|
||||
{/* GPU badge (appears on powered pods) */}
|
||||
{on && (
|
||||
<g transform={`translate(${x + 20},${y - 10})`} filter="url(#softGlow)">
|
||||
{/* small chip */}
|
||||
<rect x="-10" y="-10" width="20" height="20" rx="4" className="badge" />
|
||||
<rect x="-6" y="-6" width="12" height="12" rx="2" fill="url(#cyanglow)" opacity="0.9">
|
||||
<animate attributeName="opacity" values="0;1;0.6;1" dur="1.8s" begin={`${delay + 0.25}s`} repeatCount="indefinite" />
|
||||
</rect>
|
||||
{/* pins */}
|
||||
{[-10, 10].map((px, i) => (
|
||||
<line key={i} x1={px} y1="0" x2={px + (px > 0 ? 6 : -6)} y2="0" stroke="#93c5fd" strokeWidth="1" />
|
||||
))}
|
||||
{/* pop-in */}
|
||||
<animateTransform attributeName="transform" type="scale" values="0 0;1 1" dur="0.28s" begin={`${delay + 0.18}s`} fill="freeze" />
|
||||
</g>
|
||||
)}
|
||||
</g>
|
||||
);
|
||||
})
|
||||
)}
|
||||
</g>
|
||||
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
144
src/pages/gpu/animations/RAGPipeline.tsx
Normal file
@@ -0,0 +1,144 @@
|
||||
"use client";
|
||||
|
||||
export default function RAGPipeline() {
|
||||
return (
|
||||
<svg
|
||||
width="382"
|
||||
height="282"
|
||||
viewBox="0 0 382 282"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
role="img"
|
||||
aria-labelledby="title desc"
|
||||
>
|
||||
<title id="title">Agent Compute & RAG Pipelines</title>
|
||||
<desc id="desc">Documents flow into a vector DB, then a model, and finally an answer bubble.</desc>
|
||||
|
||||
<defs>
|
||||
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse">
|
||||
<path d="M16 0H0V16" fill="none" stroke="#0f1621" strokeWidth="1" />
|
||||
</pattern>
|
||||
|
||||
<linearGradient id="cyanglow" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0%" stopColor="#00E5FF">
|
||||
<animate attributeName="stop-color" values="#00E5FF;#00B8DB;#00E5FF" dur="4s" repeatCount="indefinite" />
|
||||
</stop>
|
||||
<stop offset="100%" stopColor="#00B8DB">
|
||||
<animate attributeName="stop-color" values="#00B8DB;#00E5FF;#00B8DB" dur="4s" repeatCount="indefinite" />
|
||||
</stop>
|
||||
</linearGradient>
|
||||
|
||||
<filter id="glow" x="-50%" y="-50%" width="200%" height="200%">
|
||||
<feGaussianBlur stdDeviation="4" result="b" />
|
||||
<feMerge>
|
||||
<feMergeNode in="b" />
|
||||
<feMergeNode in="SourceGraphic" />
|
||||
</feMerge>
|
||||
</filter>
|
||||
|
||||
<style>{`
|
||||
.label { fill: #8ea2b2; font-weight: 600; letter-spacing: .06em; font-size: 12px; }
|
||||
.box { fill: #0e1724; stroke: #163447; stroke-width: 1.5; }
|
||||
.cyl { fill: #0b1320; stroke: url(#cyanglow); stroke-width: 2; }
|
||||
.brain{ fill: #09131c; stroke: url(#cyanglow); stroke-width: 2; }
|
||||
.arrow{ stroke: #11cdef; stroke-width: 2; fill: none; stroke-linecap: round; marker-end: url(#arrowhead); }
|
||||
.pkt { fill: url(#cyanglow); }
|
||||
.doc { fill: #0b1320; stroke: #2a4253; stroke-width: 1.2; }
|
||||
`}</style>
|
||||
|
||||
{/* Arrowhead */}
|
||||
<marker id="arrowhead" markerWidth="8" markerHeight="8" refX="6" refY="3.5" orient="auto">
|
||||
<polygon points="0 0, 7 3.5, 0 7" fill="#11cdef" />
|
||||
</marker>
|
||||
|
||||
{/* Paths for packets */}
|
||||
<path id="p1" d="M 96 132 C 140 132, 164 132, 200 132" fill="none" />
|
||||
<path id="p2" d="M 240 132 C 270 132, 300 132, 328 116" fill="none" />
|
||||
</defs>
|
||||
|
||||
{/* Background */}
|
||||
<rect width="382" height="282" fill="transparent" />
|
||||
<rect width="382" height="282" fill="url(#grid)" opacity="0.55" />
|
||||
|
||||
{/* Documents (left) */}
|
||||
<g transform="translate(36,84)">
|
||||
{[-16, 0, 16].map((dy, i) => (
|
||||
<g key={i} transform={`translate(0,${dy})`} filter="url(#glow)">
|
||||
<rect x="0" y="0" width="56" height="70" rx="6" className="doc" />
|
||||
<rect x="0" y="10" width="56" height="10" fill="#0f1b27" />
|
||||
<line x1="10" y1="28" x2="46" y2="28" stroke="#294155" strokeWidth="2" />
|
||||
<line x1="10" y1="38" x2="40" y2="38" stroke="#294155" strokeWidth="2" />
|
||||
<line x1="10" y1="48" x2="44" y2="48" stroke="#294155" strokeWidth="2" />
|
||||
<animateTransform attributeName="transform" type="translate" values="0,8;0,0;0,8" dur="4s" begin={`${i * 0.25}s`} repeatCount="indefinite" />
|
||||
<animate attributeName="opacity" values="0.8;1;0.8" dur="3.2s" begin={`${i * 0.25}s`} repeatCount="indefinite" />
|
||||
</g>
|
||||
))}
|
||||
</g>
|
||||
|
||||
{/* Arrow: docs -> vector DB */}
|
||||
<path className="arrow" d="M 96 120 L 190 120" opacity="0.7" />
|
||||
<path className="arrow" d="M 96 144 L 190 144" opacity="0.7" />
|
||||
|
||||
{/* Vector DB (middle cylinder stack) */}
|
||||
<g transform="translate(190,84)" filter="url(#glow)">
|
||||
{/* cylinder 1 */}
|
||||
<ellipse cx="50" cy="12" rx="50" ry="12" className="cyl" fillOpacity="0.9" />
|
||||
<rect x="0" y="12" width="100" height="22" className="cyl" fillOpacity="0.9" />
|
||||
{/* cylinder 2 */}
|
||||
<ellipse cx="50" cy="34" rx="50" ry="12" className="cyl" fillOpacity="0.9" />
|
||||
<rect x="0" y="34" width="100" height="22" className="cyl" fillOpacity="0.9" />
|
||||
{/* cylinder 3 */}
|
||||
<ellipse cx="50" cy="56" rx="50" ry="12" className="cyl" fillOpacity="0.9" />
|
||||
<rect x="0" y="56" width="100" height="22" className="cyl" fillOpacity="0.9" />
|
||||
<ellipse cx="50" cy="78" rx="50" ry="12" className="cyl" />
|
||||
|
||||
{/* pulse */}
|
||||
<rect x="0" y="12" width="100" height="68" fill="url(#cyanglow)" opacity="0.0">
|
||||
<animate attributeName="opacity" values="0;0.12;0" dur="2.4s" repeatCount="indefinite" />
|
||||
</rect>
|
||||
</g>
|
||||
|
||||
{/* Arrow: DB -> model */}
|
||||
<path className="arrow" d="M 290 132 L 332 112" />
|
||||
|
||||
{/* Model (right) */}
|
||||
<g transform="translate(300,84)" filter="url(#glow)">
|
||||
{/* brain-ish blob */}
|
||||
<path
|
||||
d="M 32 30
|
||||
c 10 -16, 28 -12, 30 6
|
||||
c 12 2, 14 18, 2 26
|
||||
c -2 16, -18 20, -28 10
|
||||
c -10 10, -28 4, -26 -12
|
||||
c -12 -6, -10 -22, 6 -28
|
||||
c 2 -12, 16 -12, 16 -2 z"
|
||||
className="brain"
|
||||
/>
|
||||
{/* inner highlight */}
|
||||
<circle cx="42" cy="46" r="10" fill="url(#cyanglow)" opacity="0.85">
|
||||
<animate attributeName="r" values="9;12;9" dur="2.2s" repeatCount="indefinite" />
|
||||
</circle>
|
||||
</g>
|
||||
|
||||
{/* Output bubble */}
|
||||
<g transform="translate(312,54)">
|
||||
<rect x="-6" y="-6" width="64" height="28" rx="8" fill="#0e1724" stroke="url(#cyanglow)" strokeWidth="1.5" opacity="0.95" />
|
||||
<text x="6" y="13" fontSize="10" fill="#cbe7f3" fontFamily="ui-sans-serif, system-ui">Answer ✓</text>
|
||||
<animateTransform attributeName="transform" type="translate" values="312,64;312,54;312,64" dur="3.4s" repeatCount="indefinite" />
|
||||
</g>
|
||||
|
||||
{/* Packets along paths */}
|
||||
<g>
|
||||
<circle r="3.2" className="pkt">
|
||||
<animateMotion dur="2.4s" repeatCount="indefinite">
|
||||
<mpath href="#p1" />
|
||||
</animateMotion>
|
||||
</circle>
|
||||
<circle r="3.2" className="pkt" opacity="0.85">
|
||||
<animateMotion dur="2.0s" begin="0.35s" repeatCount="indefinite">
|
||||
<mpath href="#p2" />
|
||||
</animateMotion>
|
||||
</circle>
|
||||
</g>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
101
src/pages/gpu/animations/RenderingSimulation.tsx
Normal file
@@ -0,0 +1,101 @@
|
||||
"use client";
|
||||
|
||||
export default function RenderingSimulation() {
|
||||
return (
|
||||
<svg
|
||||
width="382"
|
||||
height="282"
|
||||
viewBox="0 0 382 282"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
role="img"
|
||||
aria-labelledby="title desc"
|
||||
>
|
||||
<title id="title">Rendering & Simulation</title>
|
||||
<desc id="desc">Wireframe mesh animates and resolves into a shaded render.</desc>
|
||||
|
||||
<defs>
|
||||
<pattern id="grid" width="16" height="16" patternUnits="userSpaceOnUse">
|
||||
<path d="M16 0H0V16" fill="none" stroke="#0f1621" strokeWidth="1" />
|
||||
</pattern>
|
||||
|
||||
<linearGradient id="cyanglow" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0%" stopColor="#00E5FF">
|
||||
<animate attributeName="stop-color" values="#00E5FF;#00B8DB;#00E5FF" dur="4s" repeatCount="indefinite" />
|
||||
</stop>
|
||||
<stop offset="100%" stopColor="#00B8DB">
|
||||
<animate attributeName="stop-color" values="#00B8DB;#00E5FF;#00B8DB" dur="4s" repeatCount="indefinite" />
|
||||
</stop>
|
||||
</linearGradient>
|
||||
|
||||
<filter id="softGlow" x="-50%" y="-50%" width="200%" height="200%">
|
||||
<feGaussianBlur stdDeviation="4" result="b" />
|
||||
<feMerge>
|
||||
<feMergeNode in="b" />
|
||||
<feMergeNode in="SourceGraphic" />
|
||||
</feMerge>
|
||||
</filter>
|
||||
|
||||
<style>{`
|
||||
.wire { stroke: #11cdef; stroke-width: 1.6; fill: none; opacity: 0.9; }
|
||||
.tri { fill: url(#cyanglow); opacity: 0; }
|
||||
`}</style>
|
||||
</defs>
|
||||
|
||||
{/* Background */}
|
||||
<rect width="382" height="282" fill="transparent" />
|
||||
<rect width="382" height="282" fill="url(#grid)" opacity="0.55" />
|
||||
|
||||
{/* Mesh group */}
|
||||
<g transform="translate(191,150)">
|
||||
{/* Orbit rotation for the model */}
|
||||
<g>
|
||||
{/* Wireframe: icosahedron-like */}
|
||||
{/* Outer ring */}
|
||||
<ellipse rx="110" ry="44" className="wire">
|
||||
<animateTransform attributeName="transform" type="rotate" from="0" to="360" dur="12s" repeatCount="indefinite" />
|
||||
</ellipse>
|
||||
{/* Cross rings */}
|
||||
<ellipse rx="110" ry="44" className="wire" transform="rotate(60)">
|
||||
<animateTransform attributeName="transform" type="rotate" from="60" to="420" dur="12s" repeatCount="indefinite" />
|
||||
</ellipse>
|
||||
<ellipse rx="110" ry="44" className="wire" transform="rotate(120)">
|
||||
<animateTransform attributeName="transform" type="rotate" from="120" to="480" dur="12s" repeatCount="indefinite" />
|
||||
</ellipse>
|
||||
|
||||
{/* Connecting chords */}
|
||||
{[-80, -40, 0, 40, 80].map((a, i) => (
|
||||
<line
|
||||
key={i}
|
||||
x1={-100}
|
||||
y1={Math.sin((a * Math.PI) / 180) * 40}
|
||||
x2={100}
|
||||
y2={-Math.sin((a * Math.PI) / 180) * 40}
|
||||
className="wire"
|
||||
opacity="0.7"
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* Triangles that fade in to "render" */}
|
||||
<g filter="url(#softGlow)">
|
||||
{/* central tri */}
|
||||
<polygon points="-36,-10 0,-58 36,-10" className="tri">
|
||||
<animate attributeName="opacity" values="0;0.85" dur="1.4s" begin="0.4s" fill="freeze" />
|
||||
</polygon>
|
||||
{/* lower tri */}
|
||||
<polygon points="-30,-4 -2,30 26,-4" className="tri">
|
||||
<animate attributeName="opacity" values="0;0.75" dur="1.2s" begin="0.7s" fill="freeze" />
|
||||
</polygon>
|
||||
{/* side tris */}
|
||||
<polygon points="-62,-6 -36,-10 -46,-40" className="tri">
|
||||
<animate attributeName="opacity" values="0;0.6" dur="1.0s" begin="0.9s" fill="freeze" />
|
||||
</polygon>
|
||||
<polygon points="62,-6 36,-10 46,-40" className="tri">
|
||||
<animate attributeName="opacity" values="0;0.6" dur="1.0s" begin="1.0s" fill="freeze" />
|
||||
</polygon>
|
||||
</g>
|
||||
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
@@ -42,7 +42,7 @@ export function GpuGettingStarted() {
|
||||
return (
|
||||
<section
|
||||
id="gpu-getting-started"
|
||||
className="relative overflow-hidden bg-gray-900 py-24 sm:py-32"
|
||||
className="relative overflow-hidden bg-[#121212] py-24 sm:py-32"
|
||||
>
|
||||
<div className="absolute inset-0 bg-[radial-gradient(circle_at_top,rgba(34,211,238,0.12),transparent_60%)]" />
|
||||
<Container className="relative">
|
||||
|
||||
@@ -3,14 +3,14 @@ import { Button } from '@/components/Button'
|
||||
|
||||
export function CallToAction() {
|
||||
return (
|
||||
<section className='relative overflow-hidden bg-gray-900'>
|
||||
<section className='relative overflow-hidden bg-[#121212]'>
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-[#111111] mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
|
||||
<div className="max-w-7xl bg-[#121212] mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
|
||||
{/* === Content === */}
|
||||
<div className="w-full border-t border-l border-r border-gray-600 " />
|
||||
<div className="w-full border-t border-l border-r border-gray-800 " />
|
||||
<div
|
||||
id="get-started"
|
||||
className="py-18 max-w-7xl mx-auto border-t-0 border-b-0 border bg-[#111111] border-gray-600">
|
||||
className="py-18 max-w-7xl mx-auto border-t-0 border-b-0 border bg-[#111111] border-gray-800">
|
||||
<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">
|
||||
@@ -41,8 +41,8 @@ export function CallToAction() {
|
||||
|
||||
</div>
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-600" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
|
||||
<div className="w-full border-b border-gray-800" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ export function HomeAurora({ onGetStartedClick }: { onGetStartedClick: () => voi
|
||||
<div className="px-4">
|
||||
{/* Boxed container */}
|
||||
<div
|
||||
className="relative mx-auto max-w-7xl border border-t-0 border-gray-200 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||
className="relative mx-auto max-w-7xl border border-t-0 border-gray-100 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||
style={{ backgroundImage: "url('/images/hero11.webp')" }}
|
||||
>
|
||||
{/* Inner padding */}
|
||||
|
||||
@@ -1,305 +1,69 @@
|
||||
import createGlobe from "cobe";
|
||||
import { useEffect, useRef } from "react";
|
||||
import { motion } from "motion/react";
|
||||
import { IconBrandYoutubeFilled } from "@tabler/icons-react";
|
||||
import { H2, CP, Eyebrow } from '@/components/Texts'
|
||||
import { CP } from '@/components/Texts'
|
||||
import {
|
||||
ShieldCheckIcon,
|
||||
GlobeAltIcon,
|
||||
BoltIcon,
|
||||
BanknotesIcon,
|
||||
} from '@heroicons/react/24/solid'
|
||||
|
||||
const benefits = [
|
||||
{
|
||||
id: 1,
|
||||
title: "Unbreakable by Design",
|
||||
desc: "No central cloud to censor or fail. The network heals itself.",
|
||||
icon: ShieldCheckIcon,
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "Sovereign by Default",
|
||||
desc: "Identity, compute, and data belong to you – cryptographically.",
|
||||
icon: GlobeAltIcon,
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "Hackable & Open",
|
||||
desc: "Learn, build, and experiment without permission.",
|
||||
icon: BoltIcon,
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
title: "Cost & Energy Efficient",
|
||||
desc: "Distributed hardware eliminates hyperscale overhead.",
|
||||
icon: BanknotesIcon,
|
||||
},
|
||||
];
|
||||
|
||||
export function HomeBenefits() {
|
||||
const features = [
|
||||
{
|
||||
title: "Unbreakable by Design",
|
||||
description:
|
||||
"No central cloud to censor or fail. The network heals itself.",
|
||||
image: "/images/benefits/energy.webp",
|
||||
},
|
||||
{
|
||||
title: "Sovereign by Default",
|
||||
description:
|
||||
"Identity, compute, and data belong to you – cryptographically.",
|
||||
image: "/images/benefits/sovereign.webp",
|
||||
},
|
||||
{
|
||||
title: "Hackable & Open",
|
||||
description:
|
||||
"Learn, build, and experiment without permission.",
|
||||
image: "/images/benefits/autonomous.webp",
|
||||
},
|
||||
|
||||
{
|
||||
title: "Cost & Energy Efficient",
|
||||
description:
|
||||
"Distributed hardware eliminates hyperscale overhead.",
|
||||
image: "/images/benefits/cost.webp",
|
||||
},
|
||||
];
|
||||
return (
|
||||
<div className="relative z-20 bg-blackpy-6 lg:py-24 max-w-7xl mx-auto border border-t-0 border-gray-200">
|
||||
<div className="px-12">
|
||||
<Eyebrow className="text-center text-cyan-500">
|
||||
Benefits
|
||||
</Eyebrow>
|
||||
<H2 className="text-3xl lg:text-5xl lg:leading-tight max-w-5xl mx-auto text-center tracking-tight font-medium text-black dark:text-white">
|
||||
Why It Matters
|
||||
</H2>
|
||||
<div className="">
|
||||
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-transparent mx-auto border border-t-0 border-b-0 border-gray-100" />
|
||||
<div className="w-full border-t border-l border-r border-gray-100" />
|
||||
|
||||
{/* ✅ Main content */}
|
||||
<div className="mx-auto max-w-7xl border-gray-100">
|
||||
<dl className="grid grid-cols-1 gap-4 lg:gap-6 lg:grid-cols-4 text-center">
|
||||
{benefits.map((item) => (
|
||||
<div
|
||||
key={item.id}
|
||||
className="flex flex-col items-center bg-white/40 dark:bg-black/40 py-10 px-4 border border-gray-100 lg:border-t-0 lg:border-b-0"
|
||||
>
|
||||
<item.icon className="h-10 w-10 text-cyan-500 mb-4" />
|
||||
<h3 className="text-lg font-semibold text-black dark:text-white">
|
||||
{item.title}
|
||||
</h3>
|
||||
<CP className="mt-2 max-w-xs text-gray-600 dark:text-gray-300">
|
||||
{item.desc}
|
||||
</CP>
|
||||
</div>
|
||||
))}
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
<div className="mt-10 grid grid-cols-1 gap-4 lg:grid-cols-7 lg:grid-rows-2 lg:px-12 px-6">
|
||||
<div className="flex p-px lg:col-span-4">
|
||||
<div className="w-full overflow-hidden rounded-lg bg-white/40 dark:bg-black/40 shadow-sm border border-transparent transition-all duration-300 hover:scale-105 hover:shadow-lg hover:shadow-cyan-500/50 hover:border-cyan-500 max-lg:rounded-t-4xl lg:rounded-tl-4xl">
|
||||
<div className="flex items-center">
|
||||
<div className="w-1/3 p-2">
|
||||
<img
|
||||
alt={features[0].title}
|
||||
src={features[0].image}
|
||||
className="w-40 h-40 object-contain"
|
||||
/>
|
||||
</div>
|
||||
<div className="w-2/3 p-2 pr-12">
|
||||
<h3 className="text-lg font-semibold text-black dark:text-white">{features[0].title}</h3>
|
||||
<CP className="mt-2 text-gray-600 dark:text-gray-300">
|
||||
{features[0].description}
|
||||
</CP>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex p-px lg:col-span-3">
|
||||
<div className="w-full overflow-hidden rounded-lg bg-white/40 dark:bg-black/40 shadow-sm border border-transparent transition-all duration-300 hover:scale-105 hover:shadow-lg hover:shadow-cyan-500/50 hover:border-cyan-500 lg:rounded-tr-4xl">
|
||||
<div className="flex items-center">
|
||||
<div className="w-1/3 p-4">
|
||||
<img
|
||||
alt={features[1].title}
|
||||
src={features[1].image}
|
||||
className="w-40 h-40 object-contain"
|
||||
/>
|
||||
</div>
|
||||
<div className="w-2/3 p-4">
|
||||
<h3 className="text-lg font-semibold text-black dark:text-white">{features[1].title}</h3>
|
||||
<CP className="mt-2 text-gray-600 dark:text-gray-300">
|
||||
{features[1].description}
|
||||
</CP>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex p-px lg:col-span-3">
|
||||
<div className="w-full overflow-hidden rounded-lg bg-white/40 dark:bg-black/40 shadow-sm border border-transparent transition-all duration-300 hover:scale-105 hover:shadow-lg hover:shadow-cyan-500/50 hover:border-cyan-500 lg:rounded-bl-4xl">
|
||||
<div className="flex items-center">
|
||||
<div className="w-1/3 p-4">
|
||||
<img
|
||||
alt={features[2].title}
|
||||
src={features[2].image}
|
||||
className="w-40 h-40 object-contain"
|
||||
/>
|
||||
</div>
|
||||
<div className="w-2/3 p-4">
|
||||
<h3 className="text-lg font-semibold text-black dark:text-white">{features[2].title}</h3>
|
||||
<CP className="mt-2 text-gray-600 dark:text-gray-300">
|
||||
{features[2].description}
|
||||
</CP>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex p-px lg:col-span-4">
|
||||
<div className="w-full overflow-hidden rounded-lg bg-white/40 dark:bg-black/40 shadow-sm border border-transparent transition-all duration-300 hover:scale-105 hover:shadow-lg hover:shadow-cyan-500/50 hover:border-cyan-500 max-lg:rounded-b-4xl lg:rounded-br-4xl">
|
||||
<div className="flex items-center">
|
||||
<div className="w-1/3 p-2">
|
||||
<img
|
||||
alt={features[3].title}
|
||||
src={features[3].image}
|
||||
className="w-40 h-40 object-contain"
|
||||
/>
|
||||
</div>
|
||||
<div className="w-2/3 p-2 pr-12">
|
||||
<h3 className="text-lg font-semibold text-black dark:text-white">{features[3].title}</h3>
|
||||
<CP className="mt-2 text-gray-600 dark:text-gray-300">
|
||||
{features[3].description}
|
||||
</CP>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/* ✅ Bottom line + spacing */}
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100" />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
export const SkeletonOne = () => {
|
||||
return (
|
||||
<div className="relative flex py-6 px-2 gap-10 h-full">
|
||||
<div className="w-full p-5 mx-auto bg-white dark:bg-neutral-900 shadow-2xl group h-full">
|
||||
<div className="flex flex-1 w-full h-full flex-col space-y-2 ">
|
||||
{/* TODO */}
|
||||
<img
|
||||
src="/linear.webp"
|
||||
alt="header"
|
||||
width={800}
|
||||
height={800}
|
||||
className="h-full w-full aspect-square object-cover object-left-top rounded-sm"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="absolute bottom-0 z-40 inset-x-0 h-60 bg-gradient-to-t from-white dark:from-black via-white dark:via-black to-transparent w-full pointer-events-none" />
|
||||
<div className="absolute top-0 z-40 inset-x-0 h-60 bg-gradient-to-b from-white dark:from-black via-transparent to-transparent w-full pointer-events-none" />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export const SkeletonThree = () => {
|
||||
return (
|
||||
<a
|
||||
href="https://www.youtube.com/watch?v=RPa3_AD1_Vs"
|
||||
target="__blank"
|
||||
className="relative flex gap-10 h-full group/image"
|
||||
>
|
||||
<div className="w-full mx-auto bg-transparent dark:bg-transparent group h-full">
|
||||
<div className="flex flex-1 w-full h-full flex-col space-y-2 relative">
|
||||
{/* TODO */}
|
||||
<IconBrandYoutubeFilled className="h-20 w-20 absolute z-10 inset-0 text-red-500 m-auto " />
|
||||
<img
|
||||
src="https://assets.aceternity.com/fireship.jpg"
|
||||
alt="header"
|
||||
width={800}
|
||||
height={800}
|
||||
className="h-full w-full aspect-square object-cover object-center rounded-sm blur-none group-hover/image:blur-md transition-all duration-200"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
);
|
||||
};
|
||||
|
||||
export const SkeletonTwo = () => {
|
||||
const images = [
|
||||
"https://images.unsplash.com/photo-1517322048670-4fba75cbbb62?q=80&w=3000&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
||||
"https://images.unsplash.com/photo-1573790387438-4da905039392?q=80&w=3425&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
||||
"https://images.unsplash.com/photo-1555400038-63f5ba517a47?q=80&w=3540&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
||||
"https://images.unsplash.com/photo-1554931670-4ebfabf6e7a9?q=80&w=3387&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
||||
"https://images.unsplash.com/photo-1546484475-7f7bd55792da?q=80&w=2581&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
||||
];
|
||||
|
||||
const imageVariants = {
|
||||
whileHover: {
|
||||
scale: 1.1,
|
||||
rotate: 0,
|
||||
zIndex: 100,
|
||||
},
|
||||
whileTap: {
|
||||
scale: 1.1,
|
||||
rotate: 0,
|
||||
zIndex: 100,
|
||||
},
|
||||
};
|
||||
return (
|
||||
<div className="relative flex flex-col items-start p-8 gap-10 h-full overflow-hidden">
|
||||
{/* TODO */}
|
||||
<div className="flex flex-row -ml-20">
|
||||
{images.map((image, idx) => (
|
||||
<motion.div
|
||||
variants={imageVariants}
|
||||
key={"images-first" + idx}
|
||||
style={{
|
||||
rotate: Math.random() * 20 - 10,
|
||||
}}
|
||||
whileHover="whileHover"
|
||||
whileTap="whileTap"
|
||||
className="rounded-xl -mr-4 mt-4 p-1 bg-black s border-neutral-100 shrink-0 overflow-hidden"
|
||||
>
|
||||
<img
|
||||
src={image}
|
||||
alt="bali images"
|
||||
width="500"
|
||||
height="500"
|
||||
className="rounded-lg h-20 w-20 md:h-40 md:w-40 object-cover shrink-0"
|
||||
/>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
<div className="flex flex-row">
|
||||
{images.map((image, idx) => (
|
||||
<motion.div
|
||||
key={"images-second" + idx}
|
||||
style={{
|
||||
rotate: Math.random() * 20 - 10,
|
||||
}}
|
||||
variants={imageVariants}
|
||||
whileHover="whileHover"
|
||||
whileTap="whileTap"
|
||||
className="rounded-xl -mr-4 mt-4 p-1 bg-white dark:bg-neutral-800 dark:border-neutral-700 border border-neutral-100 shrink-0 overflow-hidden"
|
||||
>
|
||||
<img
|
||||
src={image}
|
||||
alt="bali images"
|
||||
width="500"
|
||||
height="500"
|
||||
className="rounded-lg h-20 w-20 md:h-40 md:w-40 object-cover shrink-0"
|
||||
/>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<div className="absolute left-0 z-[100] inset-y-0 w-20 bg-gradient-to-r from-white dark:from-black to-transparent h-full pointer-events-none" />
|
||||
<div className="absolute right-0 z-[100] inset-y-0 w-20 bg-gradient-to-l from-white dark:from-black to-transparent h-full pointer-events-none" />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export const SkeletonFour = () => {
|
||||
return (
|
||||
<div className="h-60 md:h-60 flex flex-col items-center relative bg-transparent dark:bg-transparent mt-10">
|
||||
<Globe className="absolute -right-10 md:-right-10 -bottom-80 md:-bottom-72" />
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export const Globe = ({ className }: { className?: string }) => {
|
||||
const canvasRef = useRef<HTMLCanvasElement>(null);
|
||||
|
||||
useEffect(() => {
|
||||
let phi = 0;
|
||||
|
||||
if (!canvasRef.current) return;
|
||||
|
||||
const globe = createGlobe(canvasRef.current, {
|
||||
devicePixelRatio: 2,
|
||||
width: 600 * 2,
|
||||
height: 600 * 2,
|
||||
phi: 0,
|
||||
theta: 0,
|
||||
dark: 1,
|
||||
diffuse: 1.2,
|
||||
mapSamples: 16000,
|
||||
mapBrightness: 6,
|
||||
baseColor: [0.3, 0.3, 0.3],
|
||||
markerColor: [0.1, 0.8, 1],
|
||||
glowColor: [1, 1, 1],
|
||||
markers: [
|
||||
// longitude latitude
|
||||
{ location: [37.7595, -122.4367], size: 0.03 },
|
||||
{ location: [40.7128, -74.006], size: 0.1 },
|
||||
],
|
||||
onRender: (state) => {
|
||||
// Called on every animation frame.
|
||||
// `state` will be an empty object, return updated params.
|
||||
state.phi = phi;
|
||||
phi += 0.01;
|
||||
},
|
||||
});
|
||||
|
||||
return () => {
|
||||
globe.destroy();
|
||||
};
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<canvas
|
||||
ref={canvasRef}
|
||||
style={{ width: 600, height: 600, maxWidth: "100%", aspectRatio: 1 }}
|
||||
className={className}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, H3, P } from '@/components/Texts'
|
||||
import { CT, CP, Eyebrow, H3, P } from '@/components/Texts'
|
||||
|
||||
/* ✅ Custom Icons (unchanged) */
|
||||
|
||||
@@ -111,12 +111,12 @@ export function HomeHosting() {
|
||||
<section className="w-full max-w-8xl mx-auto bg-transparent">
|
||||
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-200" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-100" />
|
||||
|
||||
|
||||
{/* ✅ Inner content container */}
|
||||
<div className="max-w-7xl bg-white mx-auto py-12 border border-t-0 border-b-0 border-gray-200">
|
||||
<div className="max-w-7xl bg-white mx-auto py-12 border border-t-0 border-b-0 border-gray-100">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-4xl sm:text-center">
|
||||
<Eyebrow className="text-cyan-500">IN ACTIVE EVOLUTION</Eyebrow>
|
||||
@@ -138,12 +138,12 @@ export function HomeHosting() {
|
||||
{features.map((feature) => (
|
||||
<li
|
||||
key={feature.name}
|
||||
className="rounded-md border border-gray-200 p-6 transition-all duration-300 ease-in-out
|
||||
className="rounded-md border border-gray-100 p-6 transition-all duration-300 ease-in-out
|
||||
hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 bg-white"
|
||||
>
|
||||
<feature.icon className="h-14 w-14" />
|
||||
<h3 className="mt-4 font-semibold text-gray-900">{feature.name}</h3>
|
||||
<p className="mt-2 text-gray-700 leading-snug">{feature.description}</p>
|
||||
<CT className="mt-4 text-gray-900">{feature.name}</CT>
|
||||
<CP className="mt-2 text-gray-700 leading-snug">{feature.description}</CP>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
@@ -151,8 +151,8 @@ export function HomeHosting() {
|
||||
|
||||
</div>
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-200" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-100"></div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import { CallToAction } from './CallToAction'
|
||||
import { HomeHosting } from './HomeHosting'
|
||||
import { HomeAurora } from './HomeAurora'
|
||||
import { HomeTab } from './HomeTab'
|
||||
|
||||
import { HomeBenefits } from './HomeBenefits'
|
||||
|
||||
|
||||
export default function HomePage() {
|
||||
@@ -37,6 +37,9 @@ export default function HomePage() {
|
||||
<AnimatedSection>
|
||||
<HomeTab />
|
||||
</AnimatedSection>
|
||||
<AnimatedSection>
|
||||
<HomeBenefits />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<CallToAction />
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { Link } from "react-router-dom";
|
||||
import { Eyebrow, H3, P } from "@/components/Texts";
|
||||
import { CP, CT, Eyebrow, H3, P } from "@/components/Texts";
|
||||
|
||||
const bentoCards = [
|
||||
{
|
||||
@@ -83,12 +83,12 @@ export function HomeTab() {
|
||||
<section className="w-full max-w-8xl mx-auto bg-transparent">
|
||||
|
||||
{/* ✅ Top spacer + full-width line */}
|
||||
<div className="max-w-7xl mx-auto py-6 border-x border-gray-200 bg-white border-t-0 border-b-0" />
|
||||
<div className="w-full border-t border-l border-r border-gray-200" />
|
||||
<div className="max-w-7xl mx-auto py-6 border-x border-gray-100 bg-white border-t-0 border-b-0" />
|
||||
<div className="w-full border-t border-l border-r border-gray-100" />
|
||||
|
||||
|
||||
{/* ✅ Section with vertical borders */}
|
||||
<div className="mx-auto bg-white max-w-2xl px-6 lg:max-w-7xl lg:px-10 border border-t-0 border-b-0 border-gray-200">
|
||||
<div className="mx-auto bg-white max-w-2xl px-6 lg:max-w-7xl lg:px-10 border border-t-0 border-b-0 border-gray-100">
|
||||
<Eyebrow className="pt-12 ">Deploy faster</Eyebrow>
|
||||
<H3 className="mt-2">Mycelium Components</H3>
|
||||
<P className="mt-6 max-w-lg">
|
||||
@@ -107,10 +107,10 @@ export function HomeTab() {
|
||||
/>
|
||||
<div className="px-8 pt-4 pb-6">
|
||||
<h3 className="text-sm/4 font-semibold text-cyan-500">{card.eyebrow}</h3>
|
||||
<p className="mt-2 text-lg font-medium lg:text-xl tracking-tight text-gray-950">{card.title}</p>
|
||||
<p className="mt-1 max-w-lg text-sm/6 text-gray-600">
|
||||
<CT className="mt-2 text-lg lg:text-xl tracking-tight text-gray-950">{card.title}</CT>
|
||||
<CP className="mt-1 max-w-lg text-gray-600">
|
||||
{card.description}
|
||||
</p>
|
||||
</CP>
|
||||
</div>
|
||||
</div>
|
||||
<div className={`pointer-events-none absolute inset-0 rounded-lg shadow-sm outline outline-black/5 ${card.rounded}`} />
|
||||
@@ -120,8 +120,8 @@ export function HomeTab() {
|
||||
</div>
|
||||
|
||||
{/* ✅ Bottom full-width line + spacer */}
|
||||
<div className="w-full border-b border-gray-200" />
|
||||
<div className="max-w-7xl mx-auto py-6 border-x border-gray-200 border-t-0 border-b-0" />
|
||||
<div className="w-full border-b border-gray-100" />
|
||||
<div className="max-w-7xl mx-auto py-6 border-x border-gray-100 border-t-0 border-b-0" />
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -7,12 +7,12 @@ import { FadeIn } from "@/components/ui/FadeIn";
|
||||
|
||||
export function StackSectionDark() {
|
||||
return (
|
||||
<section className="relative w-full bg-[#171717] overflow-hidden">
|
||||
<section className="relative w-full bg-[#121212] overflow-hidden">
|
||||
{/* ✅ Top horizontal line with spacing */}
|
||||
<div className="max-w-7xl bg-[#111111] mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
|
||||
<div className="w-full border-t border-l border-r border-gray-600" />
|
||||
<div className="max-w-7xl bg-[#111111] 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" />
|
||||
{/* === Background Layer === */}
|
||||
<div className="absolute inset-0 z-0 bg-transparent border-t-0 border-b-0 border-gray-600">
|
||||
<div className="absolute inset-0 z-0 bg-transparent border-t-0 border-b-0 border-gray-800">
|
||||
{/* Central main aura */}
|
||||
<motion.div
|
||||
className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-[1200px] h-[1200px] rounded-full pointer-events-none"
|
||||
@@ -54,7 +54,7 @@ export function StackSectionDark() {
|
||||
</div>
|
||||
|
||||
{/* === Content === */}
|
||||
<div className="relative mx-auto max-w-7xl px-6 lg:px-12 border border-t-0 border-b-0 border-gray-600 grid grid-cols-1 lg:grid-cols-3 gap-16 items-center py-24 ">
|
||||
<div className="relative mx-auto max-w-7xl px-6 lg:px-12 border border-t-0 border-b-0 border-gray-800 grid grid-cols-1 lg:grid-cols-3 gap-16 items-center py-24 ">
|
||||
{/* Left Column - Text */}
|
||||
<div className="text-center lg:text-left z-10">
|
||||
<FadeIn>
|
||||
@@ -97,8 +97,8 @@ export function StackSectionDark() {
|
||||
</div>
|
||||
</div>
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<div className="w-full border-b border-gray-600" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
|
||||
<div className="w-full border-b border-gray-800" />
|
||||
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import { ArrowRightIcon } from "@heroicons/react/24/solid";
|
||||
|
||||
export function HomeCTA() {
|
||||
return (
|
||||
<section className="mx-4 lg:mx-auto max-w-5xl border border-t-0 border-gray-200 py-16">
|
||||
<section className="mx-4 lg:mx-auto max-w-5xl border border-t-0 border-gray-100 py-16">
|
||||
<div className="grid grid-cols-1 lg:grid-cols-3 gap-8 items-center px-6">
|
||||
|
||||
{/* LEFT: Big CTA Button */}
|
||||
|
||||
@@ -42,7 +42,7 @@ export function HomeFeaturesDark() {
|
||||
<div className="mx-auto mt-16 max-w-2xl lg:max-w-7xl">
|
||||
<div className="grid grid-cols-1 gap-x-12 gap-y-12 lg:grid-cols-3">
|
||||
{features.map((feature) => (
|
||||
<div key={feature.name} className="relative flex flex-col p-8 rounded-3xl border border-gray-700 bg-gray-900/50 backdrop-blur-lg overflow-hidden shadow-2xl hover:shadow-cyan-500/40 hover:border-cyan-500 hover:scale-105 transform transition-all duration-300">
|
||||
<div key={feature.name} className="relative flex flex-col p-8 rounded-3xl border border-gray-800 bg-[#121212] /50 backdrop-blur-lg overflow-hidden shadow-2xl hover:shadow-cyan-500/40 hover:border-cyan-500 hover:scale-105 transform transition-all duration-300">
|
||||
<div className="w-20 h-20 bg-gray-800/80 rounded-full flex items-center justify-center">
|
||||
<feature.icon className="h-12 w-12 text-cyan-500" />
|
||||
</div>
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Globe } from "@/components/ui/Globe";
|
||||
|
||||
export function HomeGlobeNew() {
|
||||
return (
|
||||
<section className="mx-4 pt-12 border-t lg:mx-auto max-w-5xl border border-gray-200">
|
||||
<section className="mx-4 pt-12 border-t lg:mx-auto max-w-5xl border border-gray-100">
|
||||
<div className="lg:-mt-12 grid grid-cols-1 lg:grid-cols-2 divide-y lg:divide-y-0 lg:divide-x divide-gray-200">
|
||||
|
||||
{/* Column 1 */}
|
||||
|
||||