Compare commits
80 Commits
developmen
...
73abd593e3
| Author | SHA1 | Date | |
|---|---|---|---|
| 73abd593e3 | |||
| 1f267b057d | |||
| 2b5f20f1e9 | |||
| aca13e275b | |||
| e8c424539e | |||
| 912ea4436a | |||
| 53fd05e6b7 | |||
| 5a023651b5 | |||
| b9ba2bab06 | |||
| 852d9bfc3e | |||
| cd3ce54a40 | |||
| 6f4f451144 | |||
| 4b6c8d8327 | |||
| a61267944d | |||
| 46d02fca47 | |||
| 6779218da6 | |||
| 04b94367a9 | |||
| cdd6e3104b | |||
| 8d1e2f4c7d | |||
| 0f2f6df299 | |||
| c56f67ae2e | |||
| 39b748cdac | |||
| 6d186c2304 | |||
| 681a7606d5 | |||
| 0e8de7e7fe | |||
| 3919b72b0c | |||
| f796ec1218 | |||
| 5af349ad4a | |||
| 6485e1e3ce | |||
| e7b33b75c9 | |||
| 2e22ed9683 | |||
| 15e81cb5cd | |||
| 0e6ecedf85 | |||
| 75dd7dfbc5 | |||
| d8ce04252a | |||
| c14c0e92d4 | |||
| 9730129506 | |||
| 8b4e0defb9 | |||
| 15cc1f70e3 | |||
| ae3e78f75a | |||
| 7ee6da68fe | |||
| 6e2ea7c87c | |||
| 5f0c749f94 | |||
| b3836062a3 | |||
| b1c59a9b5a | |||
| db92f1271e | |||
| 6dc318704a | |||
| 6304f8fc1d | |||
| d7769a5ecd | |||
| 005d8c35d4 | |||
| a73608ce6c | |||
| ef7dc12bc2 | |||
| 2d856a5858 | |||
| 8fac6f8edd | |||
| 560ec7dcd0 | |||
| aaf02d0a7c | |||
| b767bdbcb4 | |||
| c25f6aaba6 | |||
| 2bd3026bac | |||
| 88d6a90f60 | |||
| 8d9f02a846 | |||
| e16456bb94 | |||
| 388654fcbd | |||
| 865252274c | |||
| 8b892c9432 | |||
| 7f9023c631 | |||
| f3456eb470 | |||
| 46272e939d | |||
| 0daabe56f5 | |||
| 85afc05c35 | |||
| 866e1df042 | |||
| 28ea2ab49d | |||
| 1f11ca5319 | |||
| 3e99e85e48 | |||
| b39694ea24 | |||
| 363b822d8b | |||
| 00802c7064 | |||
| e45ca7c86f | |||
| 664897ee19 | |||
| 91d249f097 |
BIN
public/images/agents.webp
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
public/images/bento-01-integrations.png
Normal file
|
After Width: | Height: | Size: 431 KiB |
BIN
public/images/bento-agent.jpg
Normal file
|
After Width: | Height: | Size: 95 KiB |
BIN
public/images/bento-cloud.jpg
Normal file
|
After Width: | Height: | Size: 85 KiB |
BIN
public/images/bento-compute.png
Normal file
|
After Width: | Height: | Size: 895 KiB |
BIN
public/images/bento-gpu.jpg
Normal file
|
After Width: | Height: | Size: 179 KiB |
BIN
public/images/bento-network.png
Normal file
|
After Width: | Height: | Size: 151 KiB |
BIN
public/images/bento-network.webp
Normal file
|
After Width: | Height: | Size: 114 KiB |
BIN
public/images/bento-storage.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
public/images/bg.jpg
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
public/images/bg2.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
public/images/cloud.png
Normal file
|
After Width: | Height: | Size: 723 KiB |
BIN
public/images/cloudhosting.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
public/images/cloudhosting.webp
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
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/iot-gdb6f0c390_1280-1024x706.webp
Normal file
|
After Width: | Height: | Size: 103 KiB |
BIN
public/images/kubernetes.webp
Normal file
|
After Width: | Height: | Size: 90 KiB |
BIN
public/images/linux.png
Normal file
|
After Width: | Height: | Size: 150 KiB |
BIN
public/images/logo/1_eVqphQ2aNKxqHPMPxjRzAA (1).png
Normal file
|
After Width: | Height: | Size: 286 KiB |
BIN
public/images/logo/1_eVqphQ2aNKxqHPMPxjRzAA.png
Normal file
|
After Width: | Height: | Size: 286 KiB |
BIN
public/images/logo/cryptpad.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
public/images/logo/gitea.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
public/images/logo/images.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
public/images/logo/lifekit.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/images/logo/matrix.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
public/images/logo/nextcloud.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/images/logo/stalwart.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
public/images/testpic.png
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
public/images/vm.webp
Normal file
|
After Width: | Height: | Size: 78 KiB |
@@ -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';
|
||||
|
||||
@@ -13,7 +13,7 @@ const GpuPage = lazy(() => import('./pages/gpu/GpuPage'));
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<HashRouter>
|
||||
<Suspense fallback={<div>Loading...</div>}>
|
||||
<Routes>
|
||||
<Route path="/" element={<Layout />}>
|
||||
@@ -28,7 +28,7 @@ function App() {
|
||||
</Route>
|
||||
</Routes>
|
||||
</Suspense>
|
||||
</BrowserRouter>
|
||||
</HashRouter>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -3,9 +3,9 @@ import clsx from 'clsx'
|
||||
|
||||
const baseStyles = {
|
||||
solid:
|
||||
'inline-flex justify-center rounded-full py-2 px-4 text-sm font-semibold transition-colors',
|
||||
'inline-flex justify-center rounded-full py-2 px-5 text-base font-semibold transition-colors',
|
||||
outline:
|
||||
'inline-flex justify-center rounded-full border py-[calc(--spacing(2)-1px)] px-[calc(--spacing(4)-1px)] text-sm transition-colors',
|
||||
'inline-flex justify-center bg-transparent rounded-full border py-[calc(--spacing(2)-1px)] px-[calc(--spacing(5)-1px)] text-base transition-colors',
|
||||
}
|
||||
|
||||
const variantStyles = {
|
||||
@@ -17,7 +17,7 @@ const variantStyles = {
|
||||
green: 'bg-green-500 text-white hover:bg-green-600',
|
||||
},
|
||||
outline: {
|
||||
cyan: 'border-cyan-500 text-cyan-500 hover:bg-cyan-50',
|
||||
cyan: 'border-cyan-500 text-cyan-500',
|
||||
gray: 'border-gray-300 text-gray-700 hover:border-cyan-500 active:border-cyan-500',
|
||||
white: 'border-gray-300 text-white hover:border-cyan-500 active:border-cyan-500',
|
||||
},
|
||||
|
||||
@@ -3,12 +3,12 @@ import { Container } from './Container'
|
||||
|
||||
export function Footer() {
|
||||
return (
|
||||
<footer className="border-t border-gray-200">
|
||||
<footer className="">
|
||||
<Container>
|
||||
<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>
|
||||
@@ -31,7 +31,7 @@ export function Footer() {
|
||||
</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 +46,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">
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
import { useState } from 'react'
|
||||
import { Link, useLocation } from 'react-router-dom'
|
||||
import { Dropdown } from './ui/Dropdown'
|
||||
import { ChevronDownIcon } from '@heroicons/react/20/solid'
|
||||
import { Container } from './Container'
|
||||
import { Button } from './Button'
|
||||
import pmyceliumLogo from '../images/logos/logo_1.png'
|
||||
|
||||
import { Dialog } from '@headlessui/react'
|
||||
import { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline'
|
||||
|
||||
const cloudNavItems = [
|
||||
{ name: 'Cloud', href: '/cloud' },
|
||||
@@ -15,6 +17,7 @@ const cloudNavItems = [
|
||||
|
||||
export function Header() {
|
||||
const location = useLocation()
|
||||
const [mobileMenuOpen, setMobileMenuOpen] = useState(false)
|
||||
|
||||
const getCurrentPageName = () => {
|
||||
const currentPath = location.pathname;
|
||||
@@ -26,9 +29,9 @@ export function Header() {
|
||||
};
|
||||
|
||||
return (
|
||||
<header>
|
||||
<nav>
|
||||
<Container className="relative z-50 flex justify-between py-4">
|
||||
<header className="bg-white">
|
||||
<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">
|
||||
<img src={pmyceliumLogo} alt="Mycelium" className="h-8 w-auto" />
|
||||
@@ -66,15 +69,94 @@ export function Header() {
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Start Deployment
|
||||
Deploy Now
|
||||
</Button>
|
||||
<Button to="/download" variant="solid" color="cyan">
|
||||
Get Mycelium Connector
|
||||
</Button>
|
||||
</div>
|
||||
<div className="lg:hidden">
|
||||
<button
|
||||
type="button"
|
||||
className="-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700 hover:text-cyan-500 transition-colors"
|
||||
onClick={() => setMobileMenuOpen(true)}
|
||||
>
|
||||
<span className="sr-only">Open main menu</span>
|
||||
<Bars3Icon className="h-6 w-6" aria-hidden="true" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
</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">
|
||||
<div className="flex items-center justify-between">
|
||||
<Link to="#" className="-m-1.5 p-1.5">
|
||||
<span className="sr-only">Mycelium</span>
|
||||
<img
|
||||
className="h-8 w-auto"
|
||||
src={pmyceliumLogo}
|
||||
alt=""
|
||||
/>
|
||||
</Link>
|
||||
<button
|
||||
type="button"
|
||||
className="-m-2.5 rounded-md p-2.5 text-gray-700 hover:text-cyan-500 transition-colors"
|
||||
onClick={() => setMobileMenuOpen(false)}
|
||||
>
|
||||
<span className="sr-only">Close menu</span>
|
||||
<XMarkIcon className="h-6 w-6" aria-hidden="true" />
|
||||
</button>
|
||||
</div>
|
||||
<div className="mt-6 flow-root">
|
||||
<div className="-my-6 divide-y divide-gray-500/10">
|
||||
<div className="space-y-2 py-6">
|
||||
{cloudNavItems.map((item) => (
|
||||
<Link
|
||||
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>
|
||||
))}
|
||||
<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>
|
||||
</div>
|
||||
<div className="py-6">
|
||||
<Button
|
||||
to="https://myceliumcloud.tf"
|
||||
variant="outline"
|
||||
as="a"
|
||||
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" onClick={() => setMobileMenuOpen(false)}>
|
||||
Get Mycelium Connector
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</Dialog.Panel>
|
||||
</Dialog>
|
||||
</header>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -5,12 +5,14 @@ import { Header } from './Header'
|
||||
export function Layout() {
|
||||
|
||||
return (
|
||||
<div className="bg-white antialiased" style={{ fontFamily: 'var(--font-inter)' }}>
|
||||
<div className="bg-[#fdfdfd] antialiased relative" style={{ fontFamily: 'var(--font-inter)' }}>
|
||||
<div className="relative z-10">
|
||||
<Header />
|
||||
<main className="">
|
||||
<main>
|
||||
<Outlet />
|
||||
</main>
|
||||
<Footer />
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ export default function FeaturesSectionDemo() {
|
||||
},
|
||||
];
|
||||
return (
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 relative z-10 py-10 max-w-7xl mx-auto">
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 relative z-10 py-8 max-w-7xl mx-auto">
|
||||
{features.map((feature, index) => (
|
||||
<Feature key={feature.title} {...feature} index={index} />
|
||||
))}
|
||||
@@ -81,7 +81,7 @@ const Feature = ({
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
"flex flex-col lg:border-r py-10 relative group/feature dark:border-neutral-800",
|
||||
"flex flex-col lg:border-r py-8 relative group/feature dark:border-neutral-800",
|
||||
(index === 0 || index === 4) && "lg:border-l dark:border-neutral-800",
|
||||
index < 4 && "lg:border-b dark:border-neutral-800"
|
||||
)}
|
||||
|
||||
@@ -40,7 +40,7 @@ export default function FeaturesSectionDemo() {
|
||||
},
|
||||
];
|
||||
return (
|
||||
<div className="relative z-20 py-10 lg:py-40 max-w-7xl mx-auto">
|
||||
<div className="relative z-20 py-8 lg:py-40 max-w-7xl mx-auto">
|
||||
<div className="px-8">
|
||||
<h4 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">
|
||||
Packed with thousands of features
|
||||
|
||||
@@ -62,7 +62,7 @@ export const Carousel = ({ items, initialScroll = 0 }: CarouselProps) => {
|
||||
return (
|
||||
<div className="relative w-full">
|
||||
<div
|
||||
className="flex w-full overflow-x-scroll overscroll-x-auto scroll-smooth py-10 [scrollbar-width:none] md:py-20"
|
||||
className="flex w-full overflow-x-scroll overscroll-x-auto scroll-smooth py-8 [scrollbar-width:none] md:py-20"
|
||||
ref={carouselRef}
|
||||
onScroll={checkScrollability}
|
||||
>
|
||||
@@ -135,7 +135,7 @@ export const Card = ({
|
||||
layoutId={layout ? `card-${card.title}` : undefined}
|
||||
className="relative z-10 flex h-104 w-80 flex-col justify-between overflow-hidden rounded-3xl p-8 md:h-120 md:w-96"
|
||||
>
|
||||
<div className="flex h-2/5 flex-col justify-center py-6 px-4">
|
||||
<div className="flex h-2/5 flex-col justify-center py-4 px-4">
|
||||
<motion.p
|
||||
layoutId={layout ? `category-${card.category}` : undefined}
|
||||
className="text-left font-sans font-semibold text-cyan-500 uppercase tracking-wider text-xs md:text-sm"
|
||||
|
||||
@@ -8,7 +8,7 @@ const DarkCard = React.forwardRef<
|
||||
<div
|
||||
ref={ref}
|
||||
className={cn(
|
||||
"border border-white/10 bg-white/3 p-8 backdrop-blur-sm transition hover:-translate-y-1 hover:border-cyan-300/50 rounded-3xl hover:bg-white/6 hover:scale-105 hover:shadow-lg hover:shadow-cyan-500/15",
|
||||
"border border-white/10 bg-white/3 p-8 backdrop-blur-sm transition hover:-translate-y-1 hover:border-cyan-300/50 rounded-xl hover:bg-white/6 hover:scale-105 hover:shadow-lg hover:shadow-cyan-500/15",
|
||||
className
|
||||
)}
|
||||
{...props}
|
||||
|
||||
BIN
src/images/6890d07f23cb642ec7274aee_platform-image.webp
Normal file
|
After Width: | Height: | Size: 106 KiB |
BIN
src/images/ChatGPT Image Nov 6, 2025, 09_01_36 PM.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
src/images/bento-compute.png
Normal file
|
After Width: | Height: | Size: 1002 KiB |
BIN
src/images/bento-gpu.jpg
Normal file
|
After Width: | Height: | Size: 179 KiB |
BIN
src/images/bento-storage.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
src/images/cloudhosting.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
@@ -6,9 +6,7 @@
|
||||
line-height: 1.5;
|
||||
font-weight: 400;
|
||||
|
||||
color-scheme: light dark;
|
||||
color: rgba(255, 255, 255, 0.87);
|
||||
background-color: #242424;
|
||||
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
@@ -60,7 +58,6 @@ button:focus-visible {
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root {
|
||||
color: #213547;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
a:hover {
|
||||
color: #747bff;
|
||||
|
||||
75
src/pages/agents/AgentComponents.tsx
Normal file
@@ -0,0 +1,75 @@
|
||||
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader } from '@/components/Texts'
|
||||
|
||||
const components = [
|
||||
{
|
||||
component: 'Long-Term Memory (FungiStor)',
|
||||
purpose: 'Durable, distributed memory with erasure-coded resilience',
|
||||
backedBy: 'Mycelium Storage',
|
||||
},
|
||||
{
|
||||
component: 'Active Retrieval (HeroDB)',
|
||||
purpose: 'Fast multimodal vector + keyword retrieval',
|
||||
backedBy: 'Compute + Storage',
|
||||
},
|
||||
{
|
||||
component: 'Secure Agent Workspaces (MOS Sandboxes)',
|
||||
purpose: 'Ephemeral, isolated execution for agent actions',
|
||||
backedBy: 'Mycelium Compute',
|
||||
},
|
||||
{
|
||||
component: 'Private Communication (Mycelium Mesh)',
|
||||
purpose: 'Peer-to-peer encrypted network',
|
||||
backedBy: 'Mycelium Network',
|
||||
},
|
||||
{
|
||||
component: 'Verifiable Execution (Deterministic Deploy)',
|
||||
purpose: 'Ensure the code running is exactly what you signed',
|
||||
backedBy: 'The Stack',
|
||||
},
|
||||
{
|
||||
component: 'Agent Coordination Engine (coming online next)',
|
||||
purpose: 'Orchestrate multi-step workflows and tool use',
|
||||
backedBy: 'Hero Orchestrator',
|
||||
},
|
||||
]
|
||||
|
||||
export function AgentComponents() {
|
||||
return (
|
||||
<section className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow>AGENT COMPONENTS</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
The Building Blocks of Sovereign Agents
|
||||
</SectionHeader>
|
||||
</div>
|
||||
|
||||
<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-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>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{components.map((item) => (
|
||||
<tr
|
||||
key={item.component}
|
||||
className="border-b border-gray-100 hover:bg-cyan-50/40 transition"
|
||||
>
|
||||
<td className="py-4 px-4 font-medium text-gray-900">{item.component}</td>
|
||||
<td className="py-4 px-4">{item.purpose}</td>
|
||||
<td className="py-4 px-4 text-cyan-700 font-medium">{item.backedBy}</td>
|
||||
</tr>
|
||||
))}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</Container>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -1,33 +1,43 @@
|
||||
'use client'
|
||||
|
||||
import { Button } from '../../components/Button'
|
||||
import { Eyebrow, SectionHeader, P, H3 } from '../../components/Texts'
|
||||
import { Button } from '@/components/Button'
|
||||
import { Eyebrow, H3 } from '@/components/Texts'
|
||||
|
||||
export function AgentHeroAlt() {
|
||||
return (
|
||||
<div className="relative bg-white lg:mt-10 mt-0">
|
||||
<div className="relative h-80 overflow-hidden bg-transparent md:absolute md:right-0 md:h-full md:w-1/3 lg:w-2/3">
|
||||
<img
|
||||
alt=""
|
||||
src="/images/agents.png"
|
||||
className="size-full object-cover"
|
||||
/>
|
||||
|
||||
</div>
|
||||
<div className="relative mx-auto max-w-7xl py-24 sm:py-32 lg:px-8">
|
||||
<div className="pr-6 pl-6 md:mr-auto md:w-2/3 md:pr-16 lg:w-1/2 lg:pl-0 lg:pr-24 xl:pr-32">
|
||||
<Eyebrow className="text-base/7 font-semibold text-cyan-500">AGENT</Eyebrow>
|
||||
<H3 as="h1" className="mt-2 text-gray-900">Sovereign AI Agents, Coming Soon.</H3>
|
||||
<P className="mt-6 text-gray-600">
|
||||
Hero is the autonomous agent layer for the Mycelium platform—trusted, policy-aware AI that runs on infrastructure you control and remembers what matters.
|
||||
</P>
|
||||
<div className="mt-8">
|
||||
<div className="">
|
||||
{/* Boxed container */}
|
||||
<div
|
||||
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 */}
|
||||
<div className="px-6 py-16 lg:py-16">
|
||||
<div className="max-w-2xl lg:pl-6">
|
||||
<Eyebrow>MYCELIUM AGENTS</Eyebrow>
|
||||
<H3 as="h1" className="mt-4">
|
||||
Sovereign AI Agents, Coming Soon.
|
||||
</H3>
|
||||
<p className="mt-6 text-lg">
|
||||
The Agent layer will allow you to run autonomous, policy-governed AI that operates on infrastructure you control, with private memory, verifiable execution, and coordination across your personal or organizational environment.
|
||||
</p>
|
||||
<p className="mt-4 lg:text-base italic text-gray-600 text-sm">
|
||||
Works Alone. Works Together. Use Agents on top of any Mycelium Cloud deployment or pair them with the Mycelium Network for private, encrypted collaboration across users and systems.
|
||||
</p>
|
||||
<div className="mt-10 flex items-center gap-x-6">
|
||||
<Button href="#" variant="solid" color="cyan">
|
||||
Join the Waitlist
|
||||
Follow Deployment
|
||||
</Button>
|
||||
<Button href="#" variant="outline">
|
||||
Explore Docs <span aria-hidden="true">→</span>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</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>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -4,6 +4,8 @@ import { GallerySection } from './GallerySection'
|
||||
import { Companies } from './Companies'
|
||||
import { BentoSection } from './BentoSection'
|
||||
import { AgentHeroAlt } from './AgentHeroAlt'
|
||||
import { CallToAction } from './CallToAction'
|
||||
import { AgentComponents } from './AgentComponents'
|
||||
|
||||
export default function AgentsPage() {
|
||||
return (
|
||||
@@ -27,6 +29,14 @@ export default function AgentsPage() {
|
||||
<AnimatedSection>
|
||||
<BentoSection />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<AgentComponents />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<CallToAction />
|
||||
</AnimatedSection>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { motion } from 'framer-motion'
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P, CT, CP } from '../../components/Texts'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P, CT, CP } from '@/components/Texts'
|
||||
|
||||
const items = [
|
||||
{
|
||||
@@ -19,7 +19,7 @@ const items = [
|
||||
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/sandbox.mp4',
|
||||
video: '/videos/herodb.mp4',
|
||||
},
|
||||
{
|
||||
title: 'Mycelium Mesh',
|
||||
|
||||
59
src/pages/agents/CallToAction.tsx
Normal file
@@ -0,0 +1,59 @@
|
||||
import { CircleBackground } from '../../components/CircleBackground'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Button } from '@/components/Button'
|
||||
|
||||
export function CallToAction() {
|
||||
return (
|
||||
<section
|
||||
id="get-started"
|
||||
className="relative overflow-hidden bg-gray-900 py-20 sm:py-28"
|
||||
>
|
||||
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
||||
<CircleBackground color="#06b6d4" className="animate-spin-slower" />
|
||||
</div>
|
||||
|
||||
<Container className="relative">
|
||||
<div className="mx-auto max-w-2xl text-center">
|
||||
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
|
||||
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>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -55,12 +55,12 @@ export function DeploySection() {
|
||||
transition={{ duration: 0.6, ease: "easeOut", delay: 0.1 }}
|
||||
className="mx-auto max-w-5xl text-center"
|
||||
>
|
||||
<Eyebrow color="accent">Get Started</Eyebrow>
|
||||
<Eyebrow color="accent">Deployment</Eyebrow>
|
||||
<SectionHeader className="text-3xl font-medium tracking-tight" color="light">
|
||||
Deploy Scalable LLMs and AI Agents
|
||||
Run LLMs and Agent Workloads privately, today.
|
||||
</SectionHeader>
|
||||
<P className="mt-6" color="light">
|
||||
Launch and scale intelligence on your own terms. Mycelium Cloud makes it simple to deploy models, integrate knowledge, and run everything on a network you control.
|
||||
Even before the full Agent layer launches, you can deploy models and retrieval pipelines using Mycelium Cloud.
|
||||
</P>
|
||||
</motion.div>
|
||||
<motion.ul
|
||||
|
||||
@@ -53,14 +53,13 @@ export function GallerySection() {
|
||||
<FadeIn transition={{ duration: 0.8, delay: 0.1 }}>
|
||||
<div className="mx-auto max-w-5xl lg:mt-12">
|
||||
<Eyebrow color="accent">Use Cases</Eyebrow>
|
||||
<SectionHeader className="text-center" color="dark">Agents with Endless Possibilities.</SectionHeader>
|
||||
<SectionHeader className="text-center" color="dark">What Agents Will Enable</SectionHeader>
|
||||
</div>
|
||||
</FadeIn>
|
||||
<FadeIn transition={{ duration: 0.8, delay: 0.2 }}>
|
||||
<div className="mx-auto max-w-4xl mt-6 lg:px-0 px-4">
|
||||
<P className="text-center" color="dark">
|
||||
Your private agent coordinates a team of specialists that spin up on demand, collaborate across your world, and deliver end-to-end results.
|
||||
Many agents, one intelligence—yours.
|
||||
The Agent layer is the coordination layer that sits on top of the Mycelium Stack, combining memory, execution, and secure communication into a single intelligence plane.
|
||||
</P>
|
||||
</div>
|
||||
</FadeIn>
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
import { useId, useState } from 'react'
|
||||
|
||||
import { Button } from '../../components/Button'
|
||||
import { Container } from '../../components/Container'
|
||||
import ContactForm from '../../components/ContactForm'
|
||||
import { Button } from '@/components/Button'
|
||||
import { Container } from '@/components/Container'
|
||||
import ContactForm from '../../../components/ContactForm'
|
||||
|
||||
function BackgroundIllustration(props: React.ComponentPropsWithoutRef<'div'>) {
|
||||
const id = useId()
|
||||
55
src/pages/cloud/CalltoAction.tsx
Normal file
@@ -0,0 +1,55 @@
|
||||
"use client";
|
||||
|
||||
import { Container } from "@/components/Container";
|
||||
import { Button } from "@/components/Button";
|
||||
|
||||
export function CallToAction() {
|
||||
return (
|
||||
<section className="relative overflow-hidden bg-gray-900">
|
||||
{/* ✅ 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" />
|
||||
|
||||
{/* ✅ 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"
|
||||
>
|
||||
|
||||
|
||||
<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>
|
||||
</Container>
|
||||
</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" />
|
||||
</section>
|
||||
);
|
||||
}
|
||||
@@ -1,92 +1,90 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, H3, P } from '../../components/Texts'
|
||||
'use client';
|
||||
|
||||
const architectureSections = [
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, H3, P } from '@/components/Texts'
|
||||
import { Button } from '@/components/Button'
|
||||
import { MeshNetworkIcon } from './animations/MeshNetworkIcon'
|
||||
import { SovereignComputer } from './animations/SovereignComputer'
|
||||
import { DeterministicOrchestration } from './animations/DeterministicOrchestration'
|
||||
|
||||
const architecture = [
|
||||
{
|
||||
title: 'Decentralized Infrastructure',
|
||||
title: 'Mesh Networking Layer',
|
||||
description:
|
||||
'Clusters launch across the ThreeFold Grid with direct node access and encrypted connectivity.',
|
||||
bullets: [
|
||||
'Unique Mycelium IP addresses assigned to every node.',
|
||||
'Peer-to-peer mesh networking links services across nodes.',
|
||||
'End-to-end encryption keeps traffic sealed inside the fabric.',
|
||||
'No public IP exposure—everything is addressable via Mycelium IPs.',
|
||||
],
|
||||
'Every node receives a cryptographic network identity and secure routing path.',
|
||||
icon: <MeshNetworkIcon className="mb-4" />, // ✅ stored as const JSX
|
||||
},
|
||||
{
|
||||
title: 'Network Flow',
|
||||
title: 'Sovereign Compute Layer',
|
||||
description:
|
||||
'Traffic moves through the Mycelium mesh, maintaining sovereignty without sacrificing reach.',
|
||||
bullets: [
|
||||
'User requests enter through the encrypted Mycelium network.',
|
||||
'Traffic routes directly to cluster nodes without intermediate hops.',
|
||||
'Services answer over the same mesh—no ingress controller required.',
|
||||
'Operational visibility without exposing public attack surface.',
|
||||
],
|
||||
'Workloads run on hardware you authorize, no shared control, no exposed surfaces.',
|
||||
icon: <SovereignComputer className="mb-4" />,
|
||||
},
|
||||
{
|
||||
title: 'Kubernetes Management',
|
||||
title: 'Deterministic Orchestration',
|
||||
description:
|
||||
'Lightweight K3s orchestration delivers HA clusters with automated lifecycle management.',
|
||||
bullets: [
|
||||
'Full K3s deployment and lifecycle management built-in.',
|
||||
'IPv6-native networking ensures deterministic service discovery.',
|
||||
'Multi-master topologies with automatic failover for resilience.',
|
||||
'Drift-free upgrades orchestrated through smart contracts.',
|
||||
],
|
||||
'K3s clusters deploy predictably, verifiably, and remain drift-free.',
|
||||
icon: <DeterministicOrchestration className="mb-4" />,
|
||||
},
|
||||
]
|
||||
|
||||
export function CloudArchitecture() {
|
||||
return (
|
||||
<section className="bg-white py-24 lg:py-32">
|
||||
<section className="bg-[#121212] w-full max-w-8xl mx-auto">
|
||||
|
||||
{/* ✅ Top horizontal spacer like HomeHosting */}
|
||||
<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 with matching spacing */}
|
||||
<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-5xl text-center">
|
||||
<Eyebrow>
|
||||
Technical Architecture
|
||||
</Eyebrow>
|
||||
<H3 className="mt-6 text-gray-900">
|
||||
Built on a Sovereign, Encrypted Delivery Mesh.
|
||||
<div className="mx-auto max-w-4xl sm:text-center">
|
||||
<Eyebrow className="text-cyan-400">ARCHITECTURE</Eyebrow>
|
||||
|
||||
<H3 className="text-3xl lg:text-4xl font-medium tracking-tight text-white">
|
||||
How Mycelium Cloud Works
|
||||
</H3>
|
||||
<P className="mt-6 text-gray-600">
|
||||
Mycelium Cloud rides on the ThreeFold Grid, pairing encrypted mesh
|
||||
networking with deterministic K3s orchestration. Every layer is
|
||||
designed to keep workloads sovereign, observable, and effortless to
|
||||
operate.
|
||||
|
||||
<P className="mt-6 text-lg text-gray-300">
|
||||
Mycelium Cloud runs Kubernetes on a global encrypted mesh, with
|
||||
identity, routing, and state verified at the protocol level.
|
||||
</P>
|
||||
</div>
|
||||
<div className="mt-16 grid gap-8 lg:grid-cols-3">
|
||||
{architectureSections.map((section) => (
|
||||
<div
|
||||
key={section.title}
|
||||
className="flex h-full flex-col rounded-3xl border border-slate-200 bg-gray-50/25 p-8 shadow-sm transition hover:-translate-y-1 hover:border-cyan-300 hover:shadow-lg "
|
||||
|
||||
{/* ✅ Card layout spacing & grid match HomeHosting */}
|
||||
<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 "
|
||||
>
|
||||
<div className="flex items-center gap-3">
|
||||
<span className="inline-flex size-10 items-center justify-center rounded-full bg-cyan-500/10 text-base font-semibold uppercase tracking-[0.3em] text-cyan-600">
|
||||
•
|
||||
</span>
|
||||
<h3 className="text-xl font-semibold text-gray-900">
|
||||
{section.title}
|
||||
</h3>
|
||||
</div>
|
||||
<p className="mt-4 text-sm leading-relaxed text-gray-600">
|
||||
{section.description}
|
||||
</p>
|
||||
<ul className="mt-6 space-y-3 text-sm text-gray-600">
|
||||
{section.bullets.map((bullet) => (
|
||||
{architecture.map((layer) => (
|
||||
<li
|
||||
key={bullet}
|
||||
className="flex items-start gap-3 rounded-2xl border border-cyan-100 bg-cyan-50/60 p-3 leading-relaxed"
|
||||
key={layer.title}
|
||||
className="rounded-xl border border-gray-800 bg-[#111]/60 p-6 hover:transform-[scale(1.05)]"
|
||||
>
|
||||
<span className="mt-1 inline-block size-2 rounded-full bg-cyan-500" />
|
||||
<span>{bullet}</span>
|
||||
{layer.icon} {/* ✅ this now works */}
|
||||
<h3 className="text-lg font-semibold text-white">{layer.title}</h3>
|
||||
<p className="mt-2 text-gray-400 leading-snug">{layer.description}</p>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
))}
|
||||
|
||||
{/* ✅ Matching button spacing and layout */}
|
||||
<div className="mx-auto mt-12 flex justify-center gap-6">
|
||||
<Button variant="solid" color="cyan" href="/start">
|
||||
Get Started
|
||||
</Button>
|
||||
<Button variant="outline" color="white" href="/docs">
|
||||
Explore Docs
|
||||
</Button>
|
||||
</div>
|
||||
</Container>
|
||||
</div>
|
||||
|
||||
{/* ✅ bottom border + bottom spacer to match */}
|
||||
<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>
|
||||
)
|
||||
}
|
||||
|
||||
61
src/pages/cloud/CloudBluePrint.tsx
Normal file
@@ -0,0 +1,61 @@
|
||||
"use client";
|
||||
|
||||
import { Container } from "@/components/Container";
|
||||
import { H3, P, Eyebrow } from "@/components/Texts";
|
||||
|
||||
export function CloudBluePrint() {
|
||||
const logos = [
|
||||
{ src: '/images/logo/cryptpad.png', href: 'https://cryptpad.fr' },
|
||||
{ src: '/images/logo/gitea.png', href: 'https://about.gitea.com' },
|
||||
{ src: '/images/logo/lifekit.png', href: '#' }, // No link available
|
||||
{ src: '/images/logo/matrix.png', href: 'https://matrix.org' },
|
||||
{ src: '/images/logo/nextcloud.png', href: 'https://nextcloud.com' },
|
||||
{ src: '/images/logo/stalwart.png', href: 'https://stalw.art' },
|
||||
];
|
||||
|
||||
return (
|
||||
<section className="w-full max-w-8xl mx-auto bg-transparent">
|
||||
|
||||
{/* ✅ Boxed container */}
|
||||
<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>
|
||||
|
||||
<H3 className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900 mt-2">
|
||||
Your Personal Sovereign Cloud Workspace
|
||||
</H3>
|
||||
|
||||
<P className="mt-6 text-lg text-gray-600">
|
||||
Digital Me is an example environment built to demonstrate what’s possible on top of the Mycelium Stack — a full personal cloud you can deploy, customize, or extend. Your files, communication, apps, and optional AI agent, all running privately on infrastructure you choose.
|
||||
</P>
|
||||
</div>
|
||||
|
||||
{/* ✅ 3x2 logo grid */}
|
||||
<div className="mt-12 grid grid-cols-3 gap-x-8 gap-y-12">
|
||||
{logos.map((logo, i) => (
|
||||
<div key={i} className="flex justify-center">
|
||||
<a
|
||||
href={logo.href}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="transition-transform duration-300 hover:scale-105"
|
||||
>
|
||||
<img
|
||||
src={logo.src}
|
||||
alt={`Logo ${i + 1}`}
|
||||
className="max-h-12 w-auto object-contain"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</Container>
|
||||
</div>
|
||||
|
||||
{/* ✅ Bottom line + bottom spacer */}
|
||||
<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>
|
||||
);
|
||||
}
|
||||
@@ -354,7 +354,7 @@ function CloudFeaturesMobile() {
|
||||
>
|
||||
<div
|
||||
className={clsx(
|
||||
'relative transform overflow-hidden rounded-2xl bg-gray-800 px-5 py-6 outline-2 transition-colors',
|
||||
'relative transform overflow-hidden rounded-2xl bg-gray-800 px-5 py-4 outline-2 transition-colors',
|
||||
activeIndex === featureIndex
|
||||
? 'outline-transparent' // Remove outline for active mobile slide
|
||||
: 'outline-transparent hover:outline-cyan-500',
|
||||
@@ -415,7 +415,7 @@ export function CloudFeatures() {
|
||||
A Decentralized Cloud that Operates Itself
|
||||
</SectionHeader>
|
||||
<P color="light" className="mt-6">
|
||||
Mycelium Cloud runs Kubernetes on a sovereign, self-healing network. Storage, networking, and compute are all integrated.
|
||||
Mycelium Cloud runs Kubernetes on a sovereign, self-healing network with compute, storage, and networking built in, so you don’t need external cloud dependencies.
|
||||
</P>
|
||||
</div>
|
||||
</Container>
|
||||
|
||||
283
src/pages/cloud/CloudFeaturesLight.tsx
Normal file
@@ -0,0 +1,283 @@
|
||||
'use client'
|
||||
|
||||
import { Fragment, useEffect, useRef, useState } from 'react'
|
||||
import { Tab, TabGroup, TabList, TabPanel, TabPanels } from '@headlessui/react'
|
||||
import clsx from 'clsx'
|
||||
import {
|
||||
type MotionProps,
|
||||
type Variant,
|
||||
AnimatePresence,
|
||||
motion,
|
||||
} from 'framer-motion'
|
||||
import { useDebouncedCallback } from 'use-debounce'
|
||||
|
||||
import {
|
||||
Eyebrow,
|
||||
FeatureDescription,
|
||||
FeatureTitle,
|
||||
MobileFeatureTitle,
|
||||
P,
|
||||
SectionHeader,
|
||||
} from '@/components/Texts'
|
||||
import { Container } from '@/components/Container'
|
||||
|
||||
import reservenodeimg from '/images/cloud/reserve.png'
|
||||
import billingImg from '/images/cloud/billing.png'
|
||||
import kubeconfigImg from '/images/cloud/kubeconfig.png'
|
||||
|
||||
|
||||
|
||||
|
||||
/* Feature Data */
|
||||
const features = [
|
||||
{
|
||||
name: 'Decentralized Kubernetes',
|
||||
description:
|
||||
"Reserve a node and deploy sovereign Kubernetes clusters on decentralized infrastructure.",
|
||||
screen: () => (
|
||||
<img
|
||||
src={reservenodeimg}
|
||||
className="rounded-xl shadow-xl ring-1 ring-gray-300"
|
||||
/>
|
||||
),
|
||||
},
|
||||
{
|
||||
name: 'Manage Your Cluster',
|
||||
description:
|
||||
'Manage your cluster with ease, with a simple and intuitive interface.',
|
||||
screen: () => (
|
||||
<img
|
||||
src={kubeconfigImg}
|
||||
className="rounded-xl shadow-xl ring-1 ring-gray-300"
|
||||
/>
|
||||
),
|
||||
},
|
||||
{
|
||||
name: 'Personalised Billings & Accounts',
|
||||
description:
|
||||
'Easily manage your cluster billing and accounts with personalised configurations.',
|
||||
screen: () => (
|
||||
<img
|
||||
src={billingImg}
|
||||
className="rounded-xl shadow-xl ring-1 ring-gray-300"
|
||||
/>
|
||||
),
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
interface CustomAnimationProps {
|
||||
isForwards: boolean
|
||||
changeCount: number
|
||||
}
|
||||
|
||||
const maxZIndex = 2147483647
|
||||
|
||||
const bodyVariantBackwards: Variant = {
|
||||
opacity: 0.4,
|
||||
scale: 0.8,
|
||||
zIndex: 0,
|
||||
filter: 'blur(4px)',
|
||||
transition: { duration: 0.4 },
|
||||
}
|
||||
|
||||
const bodyAnimation: MotionProps = {
|
||||
initial: 'initial',
|
||||
animate: 'animate',
|
||||
exit: 'exit',
|
||||
variants: {
|
||||
initial: (custom: CustomAnimationProps) =>
|
||||
custom.isForwards
|
||||
? {
|
||||
y: '100%',
|
||||
zIndex: maxZIndex - custom.changeCount,
|
||||
transition: { duration: 0.4 },
|
||||
}
|
||||
: bodyVariantBackwards,
|
||||
animate: (custom: CustomAnimationProps) => ({
|
||||
y: '0%',
|
||||
opacity: 1,
|
||||
scale: 1,
|
||||
zIndex: maxZIndex / 2 - custom.changeCount,
|
||||
filter: 'blur(0px)',
|
||||
transition: { duration: 0.4 },
|
||||
}),
|
||||
exit: (custom: CustomAnimationProps) =>
|
||||
custom.isForwards
|
||||
? bodyVariantBackwards
|
||||
: {
|
||||
y: '100%',
|
||||
zIndex: maxZIndex - custom.changeCount,
|
||||
transition: { duration: 0.4 },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
function usePrevious<T>(value: T) {
|
||||
const ref = useRef<T>()
|
||||
|
||||
useEffect(() => {
|
||||
ref.current = value
|
||||
}, [value])
|
||||
|
||||
return ref.current
|
||||
}
|
||||
|
||||
/* Desktop Component */
|
||||
function CloudFeaturesDesktop() {
|
||||
let [changeCount, setChangeCount] = useState(0)
|
||||
let [selectedIndex, setSelectedIndex] = useState(0)
|
||||
let prevIndex = usePrevious(selectedIndex)
|
||||
let isForwards = prevIndex === undefined ? true : selectedIndex > prevIndex
|
||||
|
||||
let onChange = useDebouncedCallback(
|
||||
(selectedIndex: number) => {
|
||||
setSelectedIndex(selectedIndex)
|
||||
setChangeCount((changeCount) => changeCount + 1)
|
||||
},
|
||||
100,
|
||||
{ leading: true },
|
||||
)
|
||||
|
||||
return (
|
||||
<TabGroup
|
||||
vertical
|
||||
className="grid grid-cols-12 items-center gap-10"
|
||||
selectedIndex={selectedIndex}
|
||||
onChange={onChange}
|
||||
>
|
||||
<TabList className="col-span-6 space-y-6 pl-4 lg:pl-6">
|
||||
{features.map((feature, featureIndex) => (
|
||||
<div
|
||||
key={feature.name}
|
||||
className={clsx(
|
||||
'relative rounded-2xl outline-2 transition-all duration-300 ease-in-out hover:scale-105 hover:bg-gray-100',
|
||||
selectedIndex === featureIndex
|
||||
? 'outline-cyan-500'
|
||||
: 'outline-transparent hover:outline-cyan-500',
|
||||
)}
|
||||
>
|
||||
{featureIndex === selectedIndex && (
|
||||
<motion.div
|
||||
layoutId="activeBackground"
|
||||
className="absolute inset-0 bg-white shadow"
|
||||
initial={{ borderRadius: 16 }}
|
||||
/>
|
||||
)}
|
||||
<div className="relative z-10 p-8">
|
||||
<FeatureTitle as="h3" className="text-gray-900">
|
||||
<Tab className="text-left data-selected:not-data-focus:outline-hidden">
|
||||
<span className="absolute inset-0 rounded-2xl" />
|
||||
{feature.name}
|
||||
</Tab>
|
||||
</FeatureTitle>
|
||||
<FeatureDescription className="mt-2 text-gray-600">
|
||||
{feature.description}
|
||||
</FeatureDescription>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</TabList>
|
||||
|
||||
<div className="relative col-span-6">
|
||||
<TabPanels as={Fragment}>
|
||||
<AnimatePresence
|
||||
initial={false}
|
||||
custom={{ isForwards, changeCount }}
|
||||
>
|
||||
{features.map((feature, featureIndex) =>
|
||||
selectedIndex === featureIndex ? (
|
||||
<TabPanel
|
||||
static
|
||||
key={feature.name + changeCount}
|
||||
className="col-start-1 row-start-1 flex focus:outline-offset-32 data-selected:not-data-focus:outline-hidden"
|
||||
>
|
||||
<motion.div
|
||||
{...bodyAnimation}
|
||||
custom={{ isForwards, changeCount }}
|
||||
className="w-full flex justify-center"
|
||||
>
|
||||
<feature.screen />
|
||||
</motion.div>
|
||||
</TabPanel>
|
||||
) : null,
|
||||
)}
|
||||
</AnimatePresence>
|
||||
</TabPanels>
|
||||
</div>
|
||||
</TabGroup>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
/* Mobile Version */
|
||||
function CloudFeaturesMobile() {
|
||||
return (
|
||||
<>
|
||||
<div className="flex snap-x overflow-x-auto space-x-4 pb-4 scrollbar-hide">
|
||||
{features.map((feature, i) => (
|
||||
<div key={i} className="w-full flex-none snap-center px-4">
|
||||
<div className="rounded-2xl bg-white shadow ring-1 ring-gray-200 p-6">
|
||||
<div className="w-full max-w-[366px] mx-auto">
|
||||
<feature.screen />
|
||||
</div>
|
||||
<div className="mt-6">
|
||||
<MobileFeatureTitle className="text-gray-900">
|
||||
{feature.name}
|
||||
</MobileFeatureTitle>
|
||||
<FeatureDescription className="mt-2 text-gray-600">
|
||||
{feature.description}
|
||||
</FeatureDescription>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
/* ✅ FINAL LIGHT MODE EXPORT — BOXED CONTAINER + BORDERS MATCHING CloudHeroNew */
|
||||
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-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-100 bg-white">
|
||||
<section className="px-6 py-16 lg:py-16">
|
||||
<Container>
|
||||
<div className="max-w-4xl mx-auto items-center text-center">
|
||||
<Eyebrow color="accent">Platform Overview</Eyebrow>
|
||||
<SectionHeader className="mt-2 text-gray-900">
|
||||
A Decentralized Cloud that Operates Itself
|
||||
</SectionHeader>
|
||||
<P className="mt-6 text-gray-600">
|
||||
Mycelium Cloud runs Kubernetes on a sovereign, self-healing network
|
||||
with compute, storage, and networking built in — so you don’t need
|
||||
external cloud dependencies.
|
||||
</P>
|
||||
</div>
|
||||
</Container>
|
||||
|
||||
<div className="hidden md:block mt-12">
|
||||
<CloudFeaturesDesktop />
|
||||
</div>
|
||||
|
||||
<div className="md:hidden mt-12">
|
||||
<CloudFeaturesMobile />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
{/* ✅ Bottom horizontal line */}
|
||||
<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-100"></div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -1,45 +1,51 @@
|
||||
import { H3, H5, Eyebrow } from "../../components/Texts"
|
||||
import { Button } from "../../components/Button"
|
||||
import { H3, Eyebrow } from "@/components/Texts"
|
||||
import { Button } from "@/components/Button"
|
||||
|
||||
|
||||
export function CloudHeroNew() {
|
||||
export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedClick?: () => void }) {
|
||||
return (
|
||||
<div className="">
|
||||
{/* Boxed container */}
|
||||
<div
|
||||
className="relative bg-cover lg:bg-contain bg-right bg-no-repeat"
|
||||
style={{ backgroundImage: "url('/images/cloudhero4.webp')" }}
|
||||
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" }}
|
||||
>
|
||||
<div className="mx-auto max-w-7xl lg:px-8">
|
||||
<div className="px-6 pt-12 pb-24 sm:pb-32 lg:col-span-5 lg:px-0 lg:pt-40 lg:pb-48 xl:col-span-5">
|
||||
<div className="mx-auto max-w-2xl lg:mx-0">
|
||||
{/* Inner padding */}
|
||||
<div className="px-6 py-16 lg:py-16">
|
||||
<div className="max-w-2xl lg:pl-6">
|
||||
<Eyebrow>
|
||||
Mycelium Cloud
|
||||
</Eyebrow>
|
||||
<H3 className="mt-4">
|
||||
Run Kubernetes on the Sovereign Agentic Cloud
|
||||
</H3>
|
||||
<H5 className="mt-8 text-lg text-gray-600">
|
||||
Mycelium Cloud turns the ThreeFold Grid into a programmable substrate for K3s.
|
||||
</H5>
|
||||
<H5 className="mt-4 text-lg text-gray-600">
|
||||
<p className="mt-6 text-lg">
|
||||
Deploy K3s clusters on a global, self-healing mesh network.
|
||||
Your workloads run on sovereign, encrypted infrastructure, without centralized cloud control.
|
||||
</H5>
|
||||
Your workloads run on sovereign, encrypted infrastructure, without centralized cloud control.
|
||||
</p>
|
||||
<p className="mt-4 lg:text-base italic text-gray-600 text-sm">
|
||||
Works Alone. Works Together.
|
||||
Mycelium Cloud can run on any network fabric, or pair with Mycelium Network
|
||||
for sovereign connectivity.
|
||||
</p>
|
||||
<div className="mt-10 flex items-center gap-x-6">
|
||||
<Button
|
||||
to="#"
|
||||
onClick={onGetStartedClick}
|
||||
variant="solid"
|
||||
className=""
|
||||
color="cyan"
|
||||
>
|
||||
Get started
|
||||
</Button>
|
||||
<Button to="#" variant="outline">
|
||||
Explore Docs <span aria-hidden="true"> →</span>
|
||||
Documentation <span aria-hidden="true">→</span>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</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>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -4,28 +4,32 @@ import {
|
||||
ServerIcon,
|
||||
ShieldCheckIcon,
|
||||
} from '@heroicons/react/24/outline'
|
||||
import { CP, CT, Eyebrow, H3, P } from '../../components/Texts'
|
||||
import { CP, CT, Eyebrow, H3 } from '@/components/Texts'
|
||||
|
||||
const features = [
|
||||
{
|
||||
Eyebrow: 'DevOps / Cloud teams',
|
||||
name: 'Kubernetes Clusters',
|
||||
description: 'Deploy and scale containerized apps across your own hardware.',
|
||||
description: 'Deterministic K3s workloads across sovereign hardware.',
|
||||
icon: ServerIcon,
|
||||
},
|
||||
{
|
||||
name: 'AI Agents & LLM Runtimes',
|
||||
description: 'Run open-source models locally, securely, and offline.',
|
||||
icon: ArrowPathIcon,
|
||||
Eyebrow: 'Security & infrastructure',
|
||||
name: 'Encrypted Mesh Networking',
|
||||
description: 'No public ingress, no exposed attack surface, zero-trust routing.',
|
||||
icon: ShieldCheckIcon,
|
||||
},
|
||||
{
|
||||
Eyebrow: 'Data-driven teams',
|
||||
name: 'S3-Compatible Storage',
|
||||
description: 'Your own personal over-the-network drive, encrypted end-to-end.',
|
||||
description: 'Distributed storage with erasure coding and residency control.',
|
||||
icon: CloudArrowUpIcon,
|
||||
},
|
||||
{
|
||||
name: 'Mesh VPN & Zero-Trust Networking',
|
||||
description: 'Securely connect all your devices and remote locations.',
|
||||
icon: ShieldCheckIcon,
|
||||
Eyebrow: 'AI / ML workloads',
|
||||
name: 'GPU-Ready',
|
||||
description: 'Scale inference & training on demand.',
|
||||
icon: ArrowPathIcon,
|
||||
},
|
||||
]
|
||||
|
||||
@@ -33,13 +37,8 @@ export function CloudHosting() {
|
||||
return (
|
||||
<div className="relative bg-white py-24 lg:py-32">
|
||||
<div className="mx-auto max-w-md px-6 text-center sm:max-w-3xl lg:max-w-7xl lg:px-8">
|
||||
<Eyebrow>DEPLOY</Eyebrow>
|
||||
<Eyebrow>CAPABILITIES</Eyebrow>
|
||||
<H3 className="mt-2">What You Can Run on Mycelium Cloud</H3>
|
||||
<P className="mx-auto mt-5 max-w-prose">
|
||||
Turn your own machines into real, production-grade infrastructure. Mycelium handles the networking,
|
||||
orchestration, and security layers, so you can deploy services the same way you would on public cloud without
|
||||
giving your data or control to anyone.
|
||||
</P>
|
||||
<div className="mt-16">
|
||||
<div className="grid grid-cols-1 gap-12 lg:grid-cols-4">
|
||||
{features.map((feature) => (
|
||||
@@ -48,6 +47,7 @@ export function CloudHosting() {
|
||||
<span className="absolute -top-6 left-1/2 -translate-x-1/2 transform rounded-xl bg-cyan-500 hover:bg-cyan-400 p-3 shadow-lg">
|
||||
<feature.icon aria-hidden="true" className="size-8 text-white" />
|
||||
</span>
|
||||
<Eyebrow>{feature.Eyebrow}</Eyebrow>
|
||||
<CT as="h3" className="mt-4">
|
||||
{feature.name}
|
||||
</CT>
|
||||
|
||||
105
src/pages/cloud/CloudHostingNew.tsx
Normal file
@@ -0,0 +1,105 @@
|
||||
'use client'
|
||||
|
||||
import {
|
||||
Disclosure,
|
||||
DisclosureButton,
|
||||
DisclosurePanel,
|
||||
} from '@headlessui/react'
|
||||
import { MinusIcon, PlusIcon } from '@heroicons/react/24/outline'
|
||||
|
||||
import { Eyebrow, H3, H4 } from "@/components/Texts"
|
||||
|
||||
|
||||
const product = {
|
||||
subtitle: 'capabilities',
|
||||
name: 'What You Can Run on Mycelium Cloud',
|
||||
description: '<p>Host nodes, deploy workloads, or build private AI systems, all on infrastructure you own and control.</p>',
|
||||
details: [
|
||||
{
|
||||
name: 'Kubernetes Clusters',
|
||||
description: 'Deterministic K3s workloads across sovereign hardware.',
|
||||
},
|
||||
{
|
||||
name: 'Encrypted Mesh Networking',
|
||||
description: 'No public ingress, no exposed attack surface, zero-trust routing.',
|
||||
},
|
||||
{
|
||||
name: 'S3-Compatible Storage',
|
||||
description: 'Distributed storage with erasure coding and residency control.',
|
||||
},
|
||||
{
|
||||
name: 'GPU-Ready',
|
||||
description: 'Scale inference & training on demand.',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
||||
// ✅ keep your product + relatedProducts data above here …
|
||||
|
||||
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-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-800">
|
||||
<div className="mx-auto max-w-2xl lg:max-w-none">
|
||||
|
||||
{/* ✅ Product Section */}
|
||||
<div className="lg:grid lg:grid-cols-5 lg:items-start lg:gap-x-8">
|
||||
|
||||
{/* ✅ Image */}
|
||||
<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-8 px-4 sm:px-0 lg:mt-0 lg:col-span-3">
|
||||
<Eyebrow>{product.subtitle}</Eyebrow>
|
||||
<H4 className=" text-white">{product.name}</H4>
|
||||
|
||||
|
||||
|
||||
|
||||
<div className="mt-4 text-gray-300 text-xl"
|
||||
dangerouslySetInnerHTML={{ __html: product.description }}
|
||||
/>
|
||||
|
||||
|
||||
{/* ✅ Details accordion */}
|
||||
<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">
|
||||
<H3>
|
||||
<DisclosureButton className="group flex w-full items-center justify-between py-6 text-left">
|
||||
<span className="text-lg tracking-normal font-medium text-white">
|
||||
{detail.name}
|
||||
</span>
|
||||
<span className="ml-6 flex items-center">
|
||||
<PlusIcon className="block h-6 w-6 text-gray-500 group-open:hidden" />
|
||||
<MinusIcon className="hidden h-6 w-6 text-indigo-400 group-open:block" />
|
||||
</span>
|
||||
</DisclosureButton>
|
||||
</H3>
|
||||
<DisclosurePanel className="pb-6">
|
||||
<p className="text-gray-400 text-base tracking-normal">{detail.description}</p>
|
||||
</DisclosurePanel>
|
||||
</Disclosure>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{/* ✅ Bottom horizontal line with spacing */}
|
||||
<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>
|
||||
)
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
import { AnimatedSection } from '../../components/AnimatedSection'
|
||||
import { CloudArchitecture } from './CloudArchitecture'
|
||||
import { CloudFeatures } from './CloudFeatures'
|
||||
import { CloudGettingStarted } from './CloudGettingStarted'
|
||||
import { CloudUseCases } from './CloudUseCases'
|
||||
import { SecurityPillars } from './SecurityPillars'
|
||||
import { CloudCTA } from './CloudCTA'
|
||||
import { CloudHeroNew } from './CloudHeroNew'
|
||||
import { CloudHosting } from './CloudHosting'
|
||||
import { CloudBluePrint } from './CloudBluePrint'
|
||||
import { CallToAction } from './CalltoAction'
|
||||
import { CloudHostingNew } from './CloudHostingNew'
|
||||
import { CloudFeaturesLight } from './CloudFeaturesLight'
|
||||
|
||||
|
||||
export default function CloudPage() {
|
||||
return (
|
||||
@@ -17,28 +17,27 @@ export default function CloudPage() {
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<CloudHosting />
|
||||
<CloudHostingNew />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<CloudFeatures />
|
||||
<CloudFeaturesLight />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<CloudArchitecture />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<CloudGettingStarted />
|
||||
</AnimatedSection>
|
||||
<AnimatedSection>
|
||||
<CloudUseCases />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<SecurityPillars />
|
||||
<CloudBluePrint />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<CloudCTA />
|
||||
<CallToAction />
|
||||
</AnimatedSection>
|
||||
</>
|
||||
)
|
||||
|
||||
@@ -1,75 +1,91 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P, Small } from '../../components/Texts'
|
||||
"use client";
|
||||
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, H3, P, Small } from '@/components/Texts'
|
||||
|
||||
const useCases = [
|
||||
{
|
||||
title: 'AI / ML Training',
|
||||
title: 'Enterprise & Private Kubernetes',
|
||||
description:
|
||||
'Run GPU-accelerated workloads for deep learning, data science, and inference on demand.',
|
||||
bullets: ['GPU acceleration', 'Scalable compute', 'Cost optimization'],
|
||||
},
|
||||
{
|
||||
title: 'Enterprise Kubernetes',
|
||||
description:
|
||||
'Operate production-grade clusters with complete control and no vendor lock-in.',
|
||||
bullets: ['High availability', 'Security', 'Compliance'],
|
||||
},
|
||||
{
|
||||
title: 'Edge & IoT',
|
||||
description:
|
||||
'Leverage global nodes for low-latency workloads and connected device deployments.',
|
||||
bullets: ['Low latency', 'Global distribution', 'Real-time processing'],
|
||||
},
|
||||
{
|
||||
title: 'DigitalMe Blueprint',
|
||||
description:
|
||||
'Launch a full digital workspace on Mycelium Cloud with pre-integrated services.',
|
||||
'Production-grade K3s clusters with full workload ownership and residency control. Deploy apps and internal services without vendor lock-in or exposed surfaces.',
|
||||
bullets: [
|
||||
'Cryptpad • Encrypted collaboration',
|
||||
'Elements • Matrix chat',
|
||||
'Stallwart • Mail, calendar, contacts',
|
||||
'Gitea • Git hosting',
|
||||
'Nextcloud • File storage and sync',
|
||||
'LiveKit / Jitsi • Real-time video',
|
||||
'Single Sign-On backed by Gitea',
|
||||
'High availability + failover',
|
||||
'Encrypted, mesh-native networking',
|
||||
'Compliance-ready governance & policy control',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Edge & Distributed Deployments',
|
||||
description:
|
||||
'Place compute close to where data is created. Run clusters globally across home labs, offices, data centers, or edge locations.',
|
||||
bullets: [
|
||||
'Low-latency execution',
|
||||
'Mesh-routed connectivity',
|
||||
'Autonomous healing across region',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'AI / ML & Agent Workloads',
|
||||
description:
|
||||
'Run inference, training, and autonomous AI systems on sovereign compute. GPU orchestration, private vector storage, and model execution without handing data to hyperscalers.',
|
||||
bullets: [
|
||||
'Scales across nodes',
|
||||
'Supports open-source & fine-tuned models',
|
||||
'Built for agentic automation + RAG',
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
export function CloudUseCases() {
|
||||
return (
|
||||
<section className="bg-white 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" />
|
||||
|
||||
{/* ✅ Inner boxed container */}
|
||||
<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-3xl text-center">
|
||||
<Eyebrow>
|
||||
Use Cases
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
<div className="mx-auto max-w-4xl sm:text-center">
|
||||
<Eyebrow className="text-cyan-500">USE CASES</Eyebrow>
|
||||
|
||||
<H3 className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900">
|
||||
Built for intelligent workloads across every edge.
|
||||
</SectionHeader>
|
||||
<P className="mt-6 text-gray-600">
|
||||
</H3>
|
||||
|
||||
<P className="mt-6 text-lg text-gray-600">
|
||||
Mycelium Cloud unifies compute, storage, and networking so teams can
|
||||
launch anything from GPU inference farms to global collaboration
|
||||
suites with deterministic outcomes.
|
||||
launch anything from GPU inference farms to global collaboration suites
|
||||
with deterministic outcomes.
|
||||
</P>
|
||||
</div>
|
||||
<div className="mt-16 grid gap-8 lg:grid-cols-2">
|
||||
|
||||
{/* ✅ 3 columns on desktop */}
|
||||
<ul
|
||||
role="list"
|
||||
className="mx-auto mt-12 grid max-w-2xl grid-cols-1 gap-6
|
||||
sm:grid-cols-2 lg:max-w-none lg:grid-cols-3 md:gap-y-10"
|
||||
>
|
||||
{useCases.map((useCase) => (
|
||||
<div
|
||||
<li
|
||||
key={useCase.title}
|
||||
className="flex h-full flex-col rounded-3xl border border-slate-200 bg-white p-8 shadow-sm transition hover:-translate-y-1 hover:border-cyan-300 hover:shadow-lg"
|
||||
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">
|
||||
<h3 className="text-xl font-semibold text-gray-900">
|
||||
<h3 className="font-semibold text-gray-900">
|
||||
{useCase.title}
|
||||
</h3>
|
||||
<Small className="text-xs uppercase tracking-[0.3em] text-cyan-500">
|
||||
<Small className="uppercase tracking-[0.25em] text-cyan-500">
|
||||
Scenario
|
||||
</Small>
|
||||
</div>
|
||||
<p className="mt-4 text-sm leading-relaxed text-gray-600">
|
||||
|
||||
<p className="mt-4 text-gray-700 leading-snug">
|
||||
{useCase.description}
|
||||
</p>
|
||||
|
||||
<ul className="mt-6 space-y-3 text-sm text-gray-600">
|
||||
{useCase.bullets.map((bullet) => (
|
||||
<li
|
||||
@@ -81,10 +97,15 @@ export function CloudUseCases() {
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
))}
|
||||
</div>
|
||||
</ul>
|
||||
</Container>
|
||||
</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>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
103
src/pages/cloud/animations/DeterministicOrchestration.tsx
Normal file
@@ -0,0 +1,103 @@
|
||||
"use client";
|
||||
|
||||
import { motion, useReducedMotion } from "framer-motion";
|
||||
import clsx from "clsx";
|
||||
|
||||
export function DeterministicOrchestration({ className }: { className?: string }) {
|
||||
const prefersReducedMotion = useReducedMotion();
|
||||
|
||||
// Hex coordinates (simple honeycomb layout)
|
||||
const hexes = [
|
||||
{ x: 60, y: 25 },
|
||||
{ x: 100, y: 25 },
|
||||
{ x: 140, y: 25 },
|
||||
|
||||
{ x: 40, y: 65 },
|
||||
{ x: 80, y: 65 },
|
||||
{ x: 120, y: 65 },
|
||||
{ x: 160, y: 65 },
|
||||
|
||||
{ x: 60, y: 105 },
|
||||
{ x: 100, y: 105 },
|
||||
{ x: 140, y: 105 },
|
||||
];
|
||||
|
||||
// simple hex path generator
|
||||
const hexPath = (cx: number, cy: number, r = 14) => {
|
||||
const p = (a: number) => ({
|
||||
x: cx + r * Math.cos((Math.PI / 180) * a),
|
||||
y: cy + r * Math.sin((Math.PI / 180) * a),
|
||||
});
|
||||
const pts = [30, 90, 150, 210, 270, 330].map((a) => p(a));
|
||||
return `M ${pts[0].x} ${pts[0].y} L ${pts[1].x} ${pts[1].y} L ${pts[2].x} ${pts[2].y}
|
||||
L ${pts[3].x} ${pts[3].y} L ${pts[4].x} ${pts[4].y} L ${pts[5].x} ${pts[5].y} Z`;
|
||||
};
|
||||
|
||||
return (
|
||||
<div
|
||||
className={clsx(
|
||||
"w-full h-24 flex items-center justify-center bg-[#0a0a0a]",
|
||||
className
|
||||
)}
|
||||
aria-hidden="true"
|
||||
role="img"
|
||||
>
|
||||
<svg viewBox="0 0 200 140" className="w-full h-full" fill="none">
|
||||
{/* Hex outlines */}
|
||||
{hexes.map((h, i) => (
|
||||
<motion.path
|
||||
key={i}
|
||||
d={hexPath(h.x, h.y)}
|
||||
stroke="#4B5563" // gray-600
|
||||
strokeWidth={1.6}
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
transition={{ duration: 0.6, delay: 0.03 * i }}
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* Deterministic sequence highlight — hexes fill in predictable order */}
|
||||
{hexes.map((h, i) => (
|
||||
<motion.path
|
||||
key={`fill-${i}`}
|
||||
d={hexPath(h.x, h.y)}
|
||||
fill="#00b8db"
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{
|
||||
opacity:
|
||||
prefersReducedMotion
|
||||
? 1
|
||||
: [0, 1, 1, 0], // flash on, stay, fade
|
||||
}}
|
||||
transition={{
|
||||
duration: 1.2,
|
||||
delay: i * 0.12,
|
||||
repeat: prefersReducedMotion ? 0 : Infinity,
|
||||
repeatDelay: 0.6,
|
||||
ease: "easeInOut",
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* Optional center stability indicator */}
|
||||
<motion.circle
|
||||
cx={100}
|
||||
cy={65}
|
||||
r={5}
|
||||
fill="#00b8db"
|
||||
initial={{ scale: 0.8, opacity: 0 }}
|
||||
animate={{
|
||||
opacity: 1,
|
||||
scale: prefersReducedMotion ? 1 : [1, 1.15, 1],
|
||||
}}
|
||||
transition={{
|
||||
duration: 1.6,
|
||||
repeat: prefersReducedMotion ? 0 : Infinity,
|
||||
repeatType: "mirror",
|
||||
ease: [0.22, 1, 0.36, 1],
|
||||
}}
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
112
src/pages/cloud/animations/MeshNetworkIcon.tsx
Normal file
@@ -0,0 +1,112 @@
|
||||
"use client";
|
||||
|
||||
import { motion, useReducedMotion } from "framer-motion";
|
||||
import clsx from "clsx";
|
||||
|
||||
export function MeshNetworkIcon({ className }: { className?: string }) {
|
||||
const prefersReducedMotion = useReducedMotion();
|
||||
|
||||
const nodes = [
|
||||
{ x: 50, y: 25 },
|
||||
{ x: 120, y: 25 },
|
||||
{ x: 150, y: 65 },
|
||||
{ x: 120, y: 100 },
|
||||
{ x: 60, y: 100 },
|
||||
{ x: 30, y: 65 },
|
||||
{ x: 90, y: 55 }, // center-ish node
|
||||
];
|
||||
|
||||
// Lines between nodes (pairs of indices)
|
||||
const links: [number, number][] = [
|
||||
[0, 6], [6, 1],
|
||||
[1, 2], [2, 3],
|
||||
[3, 6], [6, 4],
|
||||
[4, 5], [5, 0],
|
||||
];
|
||||
|
||||
return (
|
||||
<div
|
||||
className={clsx(
|
||||
"w-full h-24 flex items-center justify-center bg-[#0a0a0a]",
|
||||
className
|
||||
)}
|
||||
aria-hidden="true"
|
||||
role="img"
|
||||
>
|
||||
<svg
|
||||
viewBox="0 0 180 120"
|
||||
className="w-full h-full"
|
||||
fill="none"
|
||||
>
|
||||
{/* Lines */}
|
||||
{links.map(([a, b], i) => (
|
||||
<motion.line
|
||||
key={i}
|
||||
x1={nodes[a].x}
|
||||
y1={nodes[a].y}
|
||||
x2={nodes[b].x}
|
||||
y2={nodes[b].y}
|
||||
stroke="#4B5563" /* gray-600 */
|
||||
strokeWidth={1.5}
|
||||
initial={{ pathLength: 0, opacity: 0 }}
|
||||
animate={{ pathLength: 1, opacity: 1 }}
|
||||
transition={{
|
||||
delay: 0.1 * i,
|
||||
duration: 0.5,
|
||||
ease: [0.22, 1, 0.36, 1],
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* Nodes */}
|
||||
{nodes.map((n, i) => (
|
||||
<motion.circle
|
||||
key={i}
|
||||
cx={n.x}
|
||||
cy={n.y}
|
||||
r={6}
|
||||
fill="#00b8db" // cyan nodes
|
||||
initial={{ scale: 0.8, opacity: 0 }}
|
||||
animate={{
|
||||
opacity: 1,
|
||||
scale:
|
||||
!prefersReducedMotion && i !== 6 // central node pulses more
|
||||
? [1, 1.12, 1]
|
||||
: 1,
|
||||
}}
|
||||
transition={{
|
||||
duration: 1.4,
|
||||
repeat: i !== 6 && !prefersReducedMotion ? Infinity : 0,
|
||||
repeatType: "mirror",
|
||||
ease: [0.22, 1, 0.36, 1],
|
||||
delay: 0.05 * i,
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* Center node extra pulse */}
|
||||
<motion.circle
|
||||
cx={nodes[6].x}
|
||||
cy={nodes[6].y}
|
||||
r={10}
|
||||
stroke="#00b8db"
|
||||
strokeWidth={1}
|
||||
fill="none"
|
||||
initial={{ scale: 0 }}
|
||||
animate={{
|
||||
scale:
|
||||
prefersReducedMotion
|
||||
? 0
|
||||
: [0.6, 1.3, 0.6],
|
||||
opacity: [0.3, 0.8, 0.3],
|
||||
}}
|
||||
transition={{
|
||||
duration: 1.8,
|
||||
repeat: prefersReducedMotion ? 0 : Infinity,
|
||||
repeatType: "mirror",
|
||||
}}
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
113
src/pages/cloud/animations/SovereignComputer.tsx
Normal file
@@ -0,0 +1,113 @@
|
||||
"use client";
|
||||
|
||||
import { motion, useReducedMotion } from "framer-motion";
|
||||
import clsx from "clsx";
|
||||
|
||||
export function SovereignComputer({ className }: { className?: string }) {
|
||||
const prefersReducedMotion = useReducedMotion();
|
||||
|
||||
return (
|
||||
<div
|
||||
className={clsx(
|
||||
"w-full h-24 flex items-center justify-center bg-[#0a0a0a]",
|
||||
className
|
||||
)}
|
||||
aria-hidden="true"
|
||||
role="img"
|
||||
>
|
||||
<svg viewBox="0 0 180 120" className="w-full h-full" fill="none">
|
||||
{/* Outer secure boundary (shield / isolation) */}
|
||||
<motion.rect
|
||||
x={40}
|
||||
y={20}
|
||||
width={100}
|
||||
height={80}
|
||||
rx={14}
|
||||
stroke="#4B5563"
|
||||
strokeWidth={2}
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1 }}
|
||||
transition={{ duration: 0.6 }}
|
||||
/>
|
||||
|
||||
{/* Inner compute chip */}
|
||||
<motion.rect
|
||||
x={70}
|
||||
y={45}
|
||||
width={40}
|
||||
height={30}
|
||||
rx={4}
|
||||
fill="#00b8db"
|
||||
initial={{ scale: 0.8, opacity: 0 }}
|
||||
animate={{
|
||||
opacity: 1,
|
||||
scale:
|
||||
!prefersReducedMotion
|
||||
? [1, 1.12, 1]
|
||||
: 1,
|
||||
}}
|
||||
transition={{
|
||||
duration: 1.6,
|
||||
repeat: prefersReducedMotion ? 0 : Infinity,
|
||||
repeatType: "mirror",
|
||||
ease: [0.22, 1, 0.36, 1],
|
||||
}}
|
||||
/>
|
||||
|
||||
{/* Compute lines out → show isolation of data paths */}
|
||||
{[
|
||||
[90, 45, 90, 20],
|
||||
[90, 75, 90, 100],
|
||||
[70, 60, 40, 60],
|
||||
[110, 60, 140, 60],
|
||||
].map(([x1, y1, x2, y2], i) => (
|
||||
<motion.line
|
||||
key={i}
|
||||
x1={x1}
|
||||
y1={y1}
|
||||
x2={x2}
|
||||
y2={y2}
|
||||
stroke="#4B5563"
|
||||
strokeWidth={2}
|
||||
initial={{ pathLength: 0, opacity: 0 }}
|
||||
animate={{ pathLength: 1, opacity: 1 }}
|
||||
transition={{
|
||||
delay: 0.1 * i,
|
||||
duration: 0.6,
|
||||
ease: [0.22, 1, 0.36, 1],
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
||||
{/* Cyan data pulses traveling outward */}
|
||||
{[
|
||||
[90, 45, 90, 20],
|
||||
[90, 75, 90, 100],
|
||||
[70, 60, 40, 60],
|
||||
[110, 60, 140, 60],
|
||||
].map(([x1, y1, x2, y2], i) => (
|
||||
<motion.circle
|
||||
key={`pulse-${i}`}
|
||||
cx={x1}
|
||||
cy={y1}
|
||||
r={3}
|
||||
fill="#00b8db"
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{
|
||||
opacity: [0, 1, 0],
|
||||
cx: [x1, x2],
|
||||
cy: [y1, y2],
|
||||
}}
|
||||
transition={{
|
||||
delay: 0.15 * i,
|
||||
duration: 1.4,
|
||||
repeat: prefersReducedMotion ? 0 : Infinity,
|
||||
repeatType: "loop",
|
||||
ease: "linear",
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
</svg>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Button } from '../../components/Button'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Button } from '@/components/Button'
|
||||
|
||||
export function CloudCTA() {
|
||||
return (
|
||||
0
src/pages/cloud/archive/CloudDesign.tsx
Normal file
@@ -1,5 +1,5 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P, Small } from '../../components/Texts'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P, Small } from '@/components/Texts'
|
||||
|
||||
type Step = {
|
||||
number: string
|
||||
@@ -1,8 +1,8 @@
|
||||
import { useId } from 'react'
|
||||
|
||||
import { Button } from '../../components/Button'
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, H2, P, H5 } from '../../components/Texts'
|
||||
import { Button } from '@/components/Button'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, H2, P, H5 } from '@/components/Texts'
|
||||
|
||||
function BackgroundIllustration(props: React.ComponentPropsWithoutRef<'div'>) {
|
||||
const id = useId()
|
||||
@@ -1,6 +1,6 @@
|
||||
'use client'
|
||||
|
||||
import { Button } from '../../components/Button'
|
||||
import { Button } from '@/components/Button'
|
||||
|
||||
export function CloudHeroAlt() {
|
||||
return (
|
||||
@@ -1,6 +1,6 @@
|
||||
import { CircleBackground } from '../../components/CircleBackground'
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P, Small } from '../../components/Texts'
|
||||
import { CircleBackground } from '@/components/CircleBackground'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P, Small } from '@/components/Texts'
|
||||
|
||||
const focusAreas = [
|
||||
{
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Container } from '@/components/Container'
|
||||
|
||||
const computeFeatures = [
|
||||
{
|
||||
@@ -1,6 +1,6 @@
|
||||
import { CircleBackground } from '../../components/CircleBackground'
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P, Small } from '../../components/Texts'
|
||||
import { CircleBackground } from '@/components/CircleBackground'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P, Small } from '@/components/Texts'
|
||||
|
||||
const differentiators = [
|
||||
{
|
||||
@@ -1,40 +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
|
||||
<section className="relative overflow-hidden bg-gray-900">
|
||||
{/* ✅ 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" />
|
||||
|
||||
{/* ✅ Main boxed area */}
|
||||
<div
|
||||
id="get-started"
|
||||
className="relative overflow-hidden bg-gray-900 py-20 sm:py-28"
|
||||
className="relative py-18 max-w-7xl mx-auto bg-[#090909] border border-t-0 border-b-0 border-gray-700"
|
||||
>
|
||||
<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">
|
||||
<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">
|
||||
Get Started Today
|
||||
Choose How You Want to Start
|
||||
</h2>
|
||||
|
||||
<p className="mt-6 text-lg text-gray-300">
|
||||
Download the Mycelium app and step into the future of secure, peer-to-peer networking; fast, private, and decentralized.
|
||||
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>
|
||||
<div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
|
||||
<Button to="/download" variant="solid" color="white">
|
||||
Get Mycelium Connector
|
||||
|
||||
{/* ✅ 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>
|
||||
<Button
|
||||
to="https://threefold.info/mycelium_network/docs/"
|
||||
as="a"
|
||||
target="_blank"
|
||||
variant="outline"
|
||||
color="white"
|
||||
>
|
||||
Read Docs
|
||||
</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>
|
||||
</Container>
|
||||
</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" />
|
||||
</section>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,92 +1,125 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '../../components/Texts'
|
||||
"use client";
|
||||
|
||||
const architectureSections = [
|
||||
import { Eyebrow, H3, P } from "@/components/Texts";
|
||||
import MeshNetworking from "./animations/Meshnetworking";
|
||||
import Deterministic from "./animations/Deterministic";
|
||||
import SovereignCompute from "./animations/SovereignCompute";
|
||||
|
||||
const deterministicCards = [
|
||||
{
|
||||
title: 'Deterministic Computing',
|
||||
id: "core",
|
||||
eyebrow: "ARCHITECTURE",
|
||||
title: "Deterministic by Design",
|
||||
description:
|
||||
'Every computational step is predictable and provable before it ever executes.',
|
||||
bullets: [
|
||||
'Cryptographic verification precedes every operation.',
|
||||
'State determinism ensures identical results from identical inputs.',
|
||||
'Tamper resistance surfaces any modification instantly.',
|
||||
'Comprehensive audit trails verify the full execution history.',
|
||||
],
|
||||
"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,
|
||||
},
|
||||
{
|
||||
title: 'Stateless Infrastructure',
|
||||
id: "crypto",
|
||||
title: "Mesh Networking",
|
||||
description:
|
||||
'A global substrate that scales and recovers without hardware-bound state.',
|
||||
bullets: [
|
||||
'No persistent state coupled to specific hardware or regions.',
|
||||
'Global distribution makes compute available wherever it is needed.',
|
||||
'Auto-scaling allocates the right resources at the right time.',
|
||||
'Fault-tolerant orchestration provides automatic failover.',
|
||||
],
|
||||
"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)]",
|
||||
},
|
||||
{
|
||||
title: 'Zero-Image System',
|
||||
id: "stateless",
|
||||
title: "Deterministic Orchestration",
|
||||
description:
|
||||
'Metadata-first delivery keeps deployments lightweight and instantly repeatable.',
|
||||
bullets: [
|
||||
'Images represented as metadata instead of heavyweight artifacts.',
|
||||
'Instant deployment for rapid workload startup.',
|
||||
'Efficient storage with minimal footprint for artifacts.',
|
||||
'Bandwidth-optimized transfers shrink delivery times.',
|
||||
],
|
||||
"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-gray-50 py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.28em] uppercase text-cyan-500">
|
||||
Technical Architecture
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
Infrastructure engineered for provable outcomes.
|
||||
</SectionHeader>
|
||||
<P className="mt-6 text-gray-600">
|
||||
Deterministic computing, stateless orchestration, and metadata-first
|
||||
delivery combine to create a compute fabric you can trust with your
|
||||
most sensitive workloads.
|
||||
</P>
|
||||
</div>
|
||||
<div className="mt-16 grid gap-8 lg:grid-cols-3">
|
||||
{architectureSections.map((section) => (
|
||||
<div
|
||||
key={section.title}
|
||||
className="flex h-full flex-col rounded-3xl border border-cyan-100 bg-white p-8 shadow-sm transition hover:-translate-y-1 hover:border-cyan-300 hover:shadow-lg"
|
||||
>
|
||||
<div className="flex items-center gap-3">
|
||||
<span className="inline-flex size-10 items-center justify-center rounded-full bg-cyan-500/10 text-sm font-semibold uppercase tracking-[0.25em] text-cyan-600">
|
||||
•
|
||||
</span>
|
||||
<h3 className="text-xl font-semibold text-gray-900">
|
||||
{section.title}
|
||||
</h3>
|
||||
</div>
|
||||
<p className="mt-4 text-sm leading-relaxed text-gray-600">
|
||||
{section.description}
|
||||
</p>
|
||||
<ul className="mt-6 space-y-3 text-sm text-gray-600">
|
||||
{section.bullets.map((bullet) => (
|
||||
<li
|
||||
key={bullet}
|
||||
className="flex items-start gap-3 rounded-2xl border border-slate-200 bg-slate-50 p-3 leading-relaxed"
|
||||
>
|
||||
<span className="mt-1 inline-block size-2 rounded-full bg-cyan-500" />
|
||||
<span>{bullet}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</Container>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
<section className="relative w-full bg-[#171717] overflow-hidden">
|
||||
{/* ✅ Top horizontal line */}
|
||||
<div className="max-w-7xl bg-[#171717] 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-2 pb-6">
|
||||
{deterministicCards.map((card) => (
|
||||
<div
|
||||
key={card.id}
|
||||
className={`relative ${card.colSpan} ${card.rowSpan} transition-transform duration-300 hover:scale-102`}
|
||||
>
|
||||
{/* ✅ Disable wrapper on first card */}
|
||||
{!card.noBorder && (
|
||||
<div
|
||||
className={`absolute inset-0 rounded-md border border-gray-800 bg-[#111212] ${card.rounded}`}
|
||||
/>
|
||||
)}
|
||||
|
||||
<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>
|
||||
|
||||
{!card.noBorder && (
|
||||
<div
|
||||
className={`pointer-events-none absolute inset-0 rounded-lg shadow-sm outline outline-black/5 ${card.rounded}`}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</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>
|
||||
);
|
||||
}
|
||||
|
||||
95
src/pages/compute/ComputeCapabilities.tsx
Normal file
@@ -0,0 +1,95 @@
|
||||
'use client';
|
||||
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, H3, P } from '@/components/Texts'
|
||||
import { Button } from '@/components/Button'
|
||||
|
||||
const capabilities = [
|
||||
{
|
||||
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" />
|
||||
</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" />
|
||||
</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" />
|
||||
</div>
|
||||
),
|
||||
},
|
||||
]
|
||||
|
||||
export function ComputeCapabilities() {
|
||||
return (
|
||||
<section className="bg-[#121212] w-full max-w-8xl mx-auto">
|
||||
{/* Top horizontal 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-4xl sm:text-center">
|
||||
<Eyebrow className="text-cyan-400">CAPABILITIES</Eyebrow>
|
||||
<H3 className="text-3xl lg:text-4xl font-medium tracking-tight text-white">
|
||||
What You Can Run
|
||||
</H3>
|
||||
<P className="mt-6 text-lg text-gray-300">
|
||||
Mycelium Compute supports multiple workload types on a single execution
|
||||
fabric, from legacy VMs to modern Kubernetes clusters.
|
||||
</P>
|
||||
</div>
|
||||
|
||||
{/* 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"
|
||||
>
|
||||
{capabilities.map((capability) => (
|
||||
<li
|
||||
key={capability.title}
|
||||
className="rounded-xl border border-gray-800 bg-[#111]/60 p-6 text-center lg:text-left"
|
||||
>
|
||||
{capability.icon}
|
||||
<h3 className="text-lg font-semibold text-white">{capability.title}</h3>
|
||||
<p className="mt-2 text-gray-400 leading-snug">{capability.description}</p>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
{/* Button section */}
|
||||
<div className="mx-auto mt-12 flex justify-center gap-6">
|
||||
<Button variant="solid" color="cyan" href="#">
|
||||
Get Started
|
||||
</Button>
|
||||
<Button variant="outline" color="white" href="#">
|
||||
Explore Docs
|
||||
</Button>
|
||||
</div>
|
||||
</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>
|
||||
)
|
||||
}
|
||||
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-700 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-700 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-3xl 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-gray-900 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>
|
||||
);
|
||||
}
|
||||
54
src/pages/compute/ComputeDesign.tsx
Normal file
@@ -0,0 +1,54 @@
|
||||
import { CP, CT } from '@/components/Texts'
|
||||
import {
|
||||
ArrowPathIcon,
|
||||
GlobeAltIcon,
|
||||
ShieldCheckIcon,
|
||||
} from '@heroicons/react/24/solid'
|
||||
|
||||
const stats = [
|
||||
{
|
||||
id: 1,
|
||||
name: 'Cryptographically verified deployments',
|
||||
value: 'Signed & Checksummed',
|
||||
icon: ShieldCheckIcon,
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: 'Stateless execution that scales anywhere',
|
||||
value: 'Global Scaling',
|
||||
icon: GlobeAltIcon,
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: 'Automatic healing and recovery',
|
||||
value: 'Self-Repairing',
|
||||
icon: ArrowPathIcon,
|
||||
},
|
||||
]
|
||||
|
||||
export function ComputeDesign() {
|
||||
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-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-400/5 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>
|
||||
{/* ✅ 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,106 +1,101 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P, Small } from '../../components/Texts'
|
||||
|
||||
const featureGroups = [
|
||||
{
|
||||
title: 'Deterministic Deployments',
|
||||
description:
|
||||
'Cryptographic verification ensures every workload deploys exactly as specified—no tampering, no drift.',
|
||||
listTitle: 'Benefits',
|
||||
bullets: [
|
||||
'Cryptographic verification of every workload component',
|
||||
'Zero configuration drift across environments',
|
||||
'Immediate detection of unauthorized changes',
|
||||
'Complete reproducibility for every deployment',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Self-Managing & Stateless Infrastructure',
|
||||
description:
|
||||
'Infrastructure that scales and heals autonomously across the ThreeFold Grid with no manual intervention.',
|
||||
listTitle: 'Capabilities',
|
||||
bullets: [
|
||||
'Autonomous operations that self-orchestrate workloads',
|
||||
'Global scaling sewn into the fabric of the platform',
|
||||
'Stateless design removes hardware dependencies',
|
||||
'Self-healing recovery from failures and anomalies',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Smart Contract-Based Deployment',
|
||||
description:
|
||||
'Cryptographically signed contracts orchestrate every workload lifecycle with transparent, tamper-proof execution.',
|
||||
listTitle: 'Benefits',
|
||||
bullets: [
|
||||
'Every deployment contract cryptographically signed',
|
||||
'Fully auditable, transparent execution of operations',
|
||||
'Tamper-proof orchestration that cannot be rewritten',
|
||||
'Smart contracts automate the entire workload lifecycle',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Multi-Workload Compatibility with Secure Boot',
|
||||
description:
|
||||
'Run containers, VMs, and native Linux workloads anywhere with stateless secure boot and continuous verification.',
|
||||
listTitle: 'Capabilities',
|
||||
bullets: [
|
||||
'Full compatibility with Kubernetes and Docker workloads',
|
||||
'Securely run virtual machines with attested boot paths',
|
||||
'Native Linux applications verified end-to-end',
|
||||
'Continuous verification maintains trusted execution',
|
||||
],
|
||||
},
|
||||
]
|
||||
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"
|
||||
>
|
||||
|
||||
{/* ✅ RIGHT SIDE — 4 items stacked with dividers */}
|
||||
<div className="space-y-8">
|
||||
|
||||
{/* 1 — Routing */}
|
||||
<div>
|
||||
<Small className="text-xs uppercase tracking-[0.3em] text-cyan-500">
|
||||
{feature.listTitle}
|
||||
</Small>
|
||||
<h3 className="mt-4 text-2xl font-semibold text-gray-900">
|
||||
{feature.title}
|
||||
<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-4 text-sm leading-relaxed text-gray-600">
|
||||
{feature.description}
|
||||
<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>
|
||||
<ul className="mt-6 space-y-3 text-sm text-gray-600">
|
||||
{feature.bullets.map((bullet) => (
|
||||
<li
|
||||
key={bullet}
|
||||
className="flex items-start gap-3 rounded-2xl border border-cyan-100/40 bg-cyan-50/40 p-3 text-left leading-relaxed"
|
||||
>
|
||||
<span className="mt-1 inline-block size-2 rounded-full bg-cyan-500" />
|
||||
<span>{bullet}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
))}
|
||||
</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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,38 +1,51 @@
|
||||
'use client'
|
||||
import { H3, Eyebrow } from "@/components/Texts"
|
||||
import { Button } from "@/components/Button"
|
||||
|
||||
import { Button } from '../../components/Button'
|
||||
import { Eyebrow, SectionHeader, P, H3 } from '../../components/Texts'
|
||||
|
||||
export function ComputeHero() {
|
||||
export function ComputeHero({ onGetStartedClick = () => {} }: { onGetStartedClick?: () => void }) {
|
||||
return (
|
||||
<div className="relative bg-white">
|
||||
<div className="relative h-80 overflow-hidden bg-transparent md:absolute md:right-0 md:h-full md:w-1/3 lg:w-1/2">
|
||||
<img
|
||||
alt=""
|
||||
src="/images/computehero.webp"
|
||||
className="size-full object-contain"
|
||||
/>
|
||||
|
||||
</div>
|
||||
<div className="relative mx-auto max-w-7xl py-12 lg:py-24 lg:px-8">
|
||||
<div className="max-w-2xl pr-6 pl-6 md:mr-auto md:w-2/3 md:pr-16 lg:w-1/2 lg:pl-0 lg:pr-24">
|
||||
<Eyebrow className="text-base/7 font-semibold text-cyan-500">COMPUTE</Eyebrow>
|
||||
<H3 className="mt-2 text-gray-900">The pulse of Intelligence Runs Here.</H3>
|
||||
<P className="mt-6 text-gray-600">
|
||||
Mycelium Compute brings predictable, sovereign performance — free from lock-in, free from drift.
|
||||
Deploy any workload, anywhere, with cryptographic precision and zero compromise.
|
||||
</P>
|
||||
<P className="mt-6 text-gray-600">
|
||||
From micro-VMs to full clusters, every operation is deterministic, self-managing, and stateless by design.
|
||||
Compute that verifies itself. Expands itself. Heals itself.
|
||||
</P>
|
||||
<div className="mt-12">
|
||||
<Button href="#" variant="solid" color="cyan">
|
||||
Experience Deterministic Compute
|
||||
<div className="">
|
||||
{/* Boxed container */}
|
||||
<div
|
||||
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 */}
|
||||
<div className="px-6 py-16 lg:py-16">
|
||||
<div className="max-w-xl lg:pl-6">
|
||||
<Eyebrow>
|
||||
Mycelium Compute
|
||||
</Eyebrow>
|
||||
<H3 className="mt-4">
|
||||
Deterministic Compute You Control
|
||||
</H3>
|
||||
<p className="mt-6 text-lg">
|
||||
Run workloads on sovereign, self-verifying infrastructure.
|
||||
Mycelium Compute delivers predictable execution, zero drift, and automatic healing, whether you’re running containers, VMs, agents, or full Kubernetes clusters.
|
||||
</p>
|
||||
<p className="mt-4 lg:text-base italic text-gray-600 text-sm">
|
||||
Works Alone. Works Together.
|
||||
Mycelium Compute can run on any network fabric, or pair with Mycelium Network
|
||||
for sovereign connectivity.
|
||||
</p>
|
||||
<div className="mt-10 flex items-center gap-x-6">
|
||||
<Button
|
||||
onClick={onGetStartedClick}
|
||||
variant="solid"
|
||||
color="cyan"
|
||||
>
|
||||
Get started
|
||||
</Button>
|
||||
<Button to="#" variant="outline">
|
||||
Documentation <span aria-hidden="true">→</span>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</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>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { CircleBackground } from '../../components/CircleBackground'
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '../../components/Texts'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '@/components/Texts'
|
||||
|
||||
const overviewCards = [
|
||||
{
|
||||
@@ -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-[-18rem] 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-6 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>
|
||||
|
||||
{/* ✅ Light Mode Cards */}
|
||||
<div className="mt-16 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-gradient-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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { AnimatedSection } from '../../components/AnimatedSection'
|
||||
import { ComputeHero } from './ComputeHero'
|
||||
import { ComputeOverview } from './ComputeOverview'
|
||||
import { ComputeFeatures } from './ComputeFeatures'
|
||||
import { ComputeZeroImage } from './ComputeZeroImage'
|
||||
import { ComputeArchitecture } from './ComputeArchitecture'
|
||||
import { ComputeDeveloperExperience } from './ComputeDeveloperExperience'
|
||||
import { ComputeUseCases } from './ComputeUseCases'
|
||||
import { ComputeDifferentiators } from './ComputeDifferentiators'
|
||||
import { CallToAction } from './CallToAction'
|
||||
import { ComputeDesign } from './ComputeDesign'
|
||||
import { ComputeOverview } from './ComputeOverview'
|
||||
import { ComputeCapabilitiesNew } from './ComputeCapabilitiesNew'
|
||||
|
||||
|
||||
export default function ComputePage() {
|
||||
return (
|
||||
@@ -15,27 +15,31 @@ export default function ComputePage() {
|
||||
<AnimatedSection>
|
||||
<ComputeHero />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<ComputeOverview />
|
||||
<ComputeCapabilitiesNew />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<ComputeFeatures />
|
||||
</AnimatedSection>
|
||||
<AnimatedSection>
|
||||
<ComputeZeroImage />
|
||||
<ComputeDesign />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<ComputeArchitecture />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<ComputeDeveloperExperience />
|
||||
<ComputeFeatures />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<ComputeUseCases />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<ComputeDifferentiators />
|
||||
<ComputeOverview />
|
||||
</AnimatedSection>
|
||||
|
||||
<AnimatedSection>
|
||||
<CallToAction />
|
||||
</AnimatedSection>
|
||||
|
||||
@@ -1,135 +1,137 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '../../components/Texts'
|
||||
"use client";
|
||||
|
||||
const primaryUseCases = [
|
||||
{
|
||||
title: 'AI / ML Training',
|
||||
bullets: [
|
||||
'Deterministic training pipelines for reproducible experiments.',
|
||||
'Cryptographically verified model artifacts end-to-end.',
|
||||
'Autonomous scaling for distributed training runs.',
|
||||
'Zero-drift environments that remain consistent over time.',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Application Hosting',
|
||||
bullets: [
|
||||
'Transparent deployments with verifiable execution.',
|
||||
'Auto-scaling that allocates resources on demand.',
|
||||
'Instant global distribution across the ThreeFold Grid.',
|
||||
'Cryptographically secured runtime environments.',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Data Processing',
|
||||
bullets: [
|
||||
'Deterministic pipelines that document every transformation.',
|
||||
'Secure computation with cryptographic verification.',
|
||||
'Auto-scaling resources for fluctuating workloads.',
|
||||
'Global processing placement to minimize latency.',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Scientific Computing',
|
||||
bullets: [
|
||||
'Reproducible research environments for shared experiments.',
|
||||
'Secure workloads with verifiable execution paths.',
|
||||
'Dynamic scaling for compute-intensive tasks.',
|
||||
'Global collaboration with sovereign resource control.',
|
||||
],
|
||||
},
|
||||
]
|
||||
import { useState } from "react";
|
||||
import { ComputeCodeTabs } from "./ComputeCodeTabs"; // ✅ Make sure path is correct
|
||||
import { Eyebrow, H3, P } from "@/components/Texts";
|
||||
|
||||
const computeSpecific = [
|
||||
const tabs = [
|
||||
{
|
||||
title: 'Deterministic Training Environments',
|
||||
bullets: [
|
||||
'Reproducible ML experiments with identical conditions every run.',
|
||||
'Verifiable computational research for scientific collaboration.',
|
||||
'Auditable financial modelling workflows with traceable outputs.',
|
||||
'Consistent IoT edge processing with predictable performance.',
|
||||
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: 'Multi-Platform Application Hosting',
|
||||
bullets: [
|
||||
'Kubernetes orchestration with deterministic deployment pipelines.',
|
||||
'Virtual machines launched with hardware-attested secure boot.',
|
||||
'Native Linux workloads with cryptographic assurance.',
|
||||
'Hybrid topologies mixing containers, VMs, and bare metal.',
|
||||
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: 'Auto-Scaling Workloads',
|
||||
bullets: [
|
||||
'Demand-based scaling that reacts instantly to load.',
|
||||
'Global distribution across the ThreeFold Grid.',
|
||||
'Automated failover that restores services without intervention.',
|
||||
'Cost optimization through intelligent resource allocation.',
|
||||
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-[#171717] 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-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">
|
||||
Purpose-built for reproducibility, security, and scale.
|
||||
</SectionHeader>
|
||||
<P color="lightSecondary" className="mt-6">
|
||||
From sovereign AI training loops to globally distributed
|
||||
applications, Mycelium Compute keeps environments verifiable and
|
||||
self-orchestrating so teams can focus on building.
|
||||
<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="mt-16 grid gap-8 lg:grid-cols-2">
|
||||
<div className="space-y-6">
|
||||
{primaryUseCases.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"
|
||||
|
||||
{/* ✅ 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"
|
||||
}`}
|
||||
>
|
||||
<h3 className="text-xl font-semibold text-white">
|
||||
{useCase.title}
|
||||
</h3>
|
||||
<ul className="mt-4 space-y-3 text-sm text-gray-200">
|
||||
{useCase.bullets.map((bullet) => (
|
||||
<li key={bullet} className="flex items-start gap-3 leading-relaxed">
|
||||
<span className="mt-1 inline-block size-2 rounded-full bg-cyan-400" />
|
||||
<span>{bullet}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
{tab.label}
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
<div className="space-y-6">
|
||||
{computeSpecific.map((useCase) => (
|
||||
<div
|
||||
key={useCase.title}
|
||||
className="rounded-3xl border border-cyan-400/20 bg-gradient-to-br from-cyan-500/10 via-cyan-500/5 to-transparent p-8 backdrop-blur-sm transition hover:-translate-y-1 hover:border-cyan-200/40 hover:from-cyan-400/20 hover:via-cyan-400/10"
|
||||
>
|
||||
<h3 className="text-xl font-semibold text-white">
|
||||
{useCase.title}
|
||||
</h3>
|
||||
<ul className="mt-4 space-y-3 text-sm text-cyan-100">
|
||||
{useCase.bullets.map((bullet) => (
|
||||
<li key={bullet} className="flex items-start gap-3 leading-relaxed">
|
||||
<span className="mt-1 inline-block size-2 rounded-full bg-white/80" />
|
||||
<span>{bullet}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
||||
{/* 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>
|
||||
</Container>
|
||||
</div>
|
||||
</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>
|
||||
);
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '../../components/Texts'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '@/components/Texts'
|
||||
|
||||
const codeSamples = [
|
||||
{
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '../../components/Texts'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '@/components/Texts'
|
||||
|
||||
const differentiators = [
|
||||
{
|
||||
135
src/pages/compute/archive/ComputeUseCasesArchived.tsx
Normal file
@@ -0,0 +1,135 @@
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '@/components/Texts'
|
||||
|
||||
const primaryUseCases = [
|
||||
{
|
||||
title: 'AI / ML Training',
|
||||
bullets: [
|
||||
'Deterministic training pipelines for reproducible experiments.',
|
||||
'Cryptographically verified model artifacts end-to-end.',
|
||||
'Autonomous scaling for distributed training runs.',
|
||||
'Zero-drift environments that remain consistent over time.',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Application Hosting',
|
||||
bullets: [
|
||||
'Transparent deployments with verifiable execution.',
|
||||
'Auto-scaling that allocates resources on demand.',
|
||||
'Instant global distribution across the ThreeFold Grid.',
|
||||
'Cryptographically secured runtime environments.',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Data Processing',
|
||||
bullets: [
|
||||
'Deterministic pipelines that document every transformation.',
|
||||
'Secure computation with cryptographic verification.',
|
||||
'Auto-scaling resources for fluctuating workloads.',
|
||||
'Global processing placement to minimize latency.',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Scientific Computing',
|
||||
bullets: [
|
||||
'Reproducible research environments for shared experiments.',
|
||||
'Secure workloads with verifiable execution paths.',
|
||||
'Dynamic scaling for compute-intensive tasks.',
|
||||
'Global collaboration with sovereign resource control.',
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
const computeSpecific = [
|
||||
{
|
||||
title: 'Deterministic Training Environments',
|
||||
bullets: [
|
||||
'Reproducible ML experiments with identical conditions every run.',
|
||||
'Verifiable computational research for scientific collaboration.',
|
||||
'Auditable financial modelling workflows with traceable outputs.',
|
||||
'Consistent IoT edge processing with predictable performance.',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Multi-Platform Application Hosting',
|
||||
bullets: [
|
||||
'Kubernetes orchestration with deterministic deployment pipelines.',
|
||||
'Virtual machines launched with hardware-attested secure boot.',
|
||||
'Native Linux workloads with cryptographic assurance.',
|
||||
'Hybrid topologies mixing containers, VMs, and bare metal.',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Auto-Scaling Workloads',
|
||||
bullets: [
|
||||
'Demand-based scaling that reacts instantly to load.',
|
||||
'Global distribution across the ThreeFold Grid.',
|
||||
'Automated failover that restores services without intervention.',
|
||||
'Cost optimization through intelligent resource allocation.',
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
export function ComputeUseCases() {
|
||||
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">
|
||||
Use Cases
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" color="light" className="mt-6">
|
||||
Purpose-built for reproducibility, security, and scale.
|
||||
</SectionHeader>
|
||||
<P color="lightSecondary" className="mt-6">
|
||||
From sovereign AI training loops to globally distributed
|
||||
applications, Mycelium Compute keeps environments verifiable and
|
||||
self-orchestrating so teams can focus on building.
|
||||
</P>
|
||||
</div>
|
||||
<div className="mt-16 grid gap-8 lg:grid-cols-2">
|
||||
<div className="space-y-6">
|
||||
{primaryUseCases.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>
|
||||
<ul className="mt-4 space-y-3 text-sm text-gray-200">
|
||||
{useCase.bullets.map((bullet) => (
|
||||
<li key={bullet} className="flex items-start gap-3 leading-relaxed">
|
||||
<span className="mt-1 inline-block size-2 rounded-full bg-cyan-400" />
|
||||
<span>{bullet}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<div className="space-y-6">
|
||||
{computeSpecific.map((useCase) => (
|
||||
<div
|
||||
key={useCase.title}
|
||||
className="rounded-3xl border border-cyan-400/20 bg-linear-to-br from-cyan-500/10 via-cyan-500/5 to-transparent p-8 backdrop-blur-sm transition hover:-translate-y-1 hover:border-cyan-200/40 hover:from-cyan-400/20 hover:via-cyan-400/10"
|
||||
>
|
||||
<h3 className="text-xl font-semibold text-white">
|
||||
{useCase.title}
|
||||
</h3>
|
||||
<ul className="mt-4 space-y-3 text-sm text-cyan-100">
|
||||
{useCase.bullets.map((bullet) => (
|
||||
<li key={bullet} className="flex items-start gap-3 leading-relaxed">
|
||||
<span className="mt-1 inline-block size-2 rounded-full bg-white/80" />
|
||||
<span>{bullet}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '../../components/Texts'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '@/components/Texts'
|
||||
|
||||
const zeroImageBenefits = [
|
||||
'Metadata-only artifacts replace heavy images for ultra-fast delivery.',
|
||||
@@ -10,11 +10,11 @@ const zeroImageBenefits = [
|
||||
|
||||
export function ComputeZeroImage() {
|
||||
return (
|
||||
<section className="relative overflow-hidden bg-gradient-to-b from-cyan-950 via-gray-950 to-gray-950 py-24 sm:py-32">
|
||||
<section className="relative overflow-hidden bg-linear-to-b from-cyan-950 via-gray-950 to-gray-950 py-24 sm:py-32">
|
||||
<div className="pointer-events-none absolute inset-0">
|
||||
<div className="absolute -top-32 right-1/4 h-72 w-72 rounded-full bg-cyan-500/30 blur-[120px]" />
|
||||
<div className="absolute bottom-0 left-1/3 h-96 w-96 rounded-full bg-cyan-400/10 blur-[140px]" />
|
||||
<div className="absolute inset-0 bg-[radial-gradient(circle_at_left,_rgba(8,145,178,0.18),_transparent_55%)]" />
|
||||
<div className="absolute inset-0 bg-[radial-gradient(circle_at_left,rgba(8,145,178,0.18),transparent_55%)]" />
|
||||
</div>
|
||||
<Container className="relative">
|
||||
<div className="grid items-center gap-12 lg:grid-cols-[0.85fr_1.15fr]">
|
||||
@@ -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,6 +1,6 @@
|
||||
import { CircleBackground } from '../../components/CircleBackground'
|
||||
import { Container } from '../../components/Container'
|
||||
import { Button } from '../../components/Button'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Button } from '@/components/Button'
|
||||
|
||||
export function CallToAction() {
|
||||
return (
|
||||
@@ -14,11 +14,12 @@ export function CallToAction() {
|
||||
<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">
|
||||
Bring sovereign GPU acceleration to production.
|
||||
Choose How You Want to Start
|
||||
</h2>
|
||||
<p className="mt-6 text-lg text-gray-300">
|
||||
Work with the Mycelium team to deploy GPU workloads that remain
|
||||
verifiable, performant, and cost-transparent from edge to core.
|
||||
Use GPUs through Mycelium Cloud,
|
||||
or contribute GPU nodes to the mesh and run your own workloads.
|
||||
|
||||
</p>
|
||||
<div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
|
||||
<Button
|
||||
@@ -29,7 +30,7 @@ export function CallToAction() {
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
Talk to our team
|
||||
Deploy GPU Workloads
|
||||
</Button>
|
||||
<Button
|
||||
to="#gpu-architecture"
|
||||
@@ -37,7 +38,7 @@ export function CallToAction() {
|
||||
variant="outline"
|
||||
color="white"
|
||||
>
|
||||
Review architecture
|
||||
Host A GPU Node
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,28 +1,18 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '../../components/Texts'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader } from '@/components/Texts'
|
||||
|
||||
const architectureSections = [
|
||||
const architecture = [
|
||||
{
|
||||
title: 'Distributed GPU Mesh',
|
||||
description:
|
||||
'A peer-to-peer fabric connects GPU nodes across the ThreeFold Grid, exposing them through the Mycelium network.',
|
||||
bullets: [
|
||||
'GPU nodes distributed globally for on-demand acceleration.',
|
||||
'Mycelium network provides encrypted peer-to-peer connectivity.',
|
||||
'Smart contract orchestration allocates and governs resources.',
|
||||
'Real-time monitoring tracks utilization and health.',
|
||||
],
|
||||
title: 'Sovereign Compute Nodes',
|
||||
description: 'GPUs hosted on hardware you trust.',
|
||||
},
|
||||
{
|
||||
title: 'Performance Characteristics',
|
||||
description:
|
||||
'Consistency and transparency are built into the fabric so workloads behave predictably anywhere on the planet.',
|
||||
bullets: [
|
||||
'Edge-to-core deployment flexibility for every workload profile.',
|
||||
'Adaptive intelligence optimizes allocation automatically.',
|
||||
'Deterministic performance guarantees availability when booked.',
|
||||
'Transparent cost tracking for every GPU cycle consumed.',
|
||||
],
|
||||
title: 'Encrypted Mesh Networking',
|
||||
description: 'Secure, private connectivity to workloads.',
|
||||
},
|
||||
{
|
||||
title: 'Reservation & Verification Layer',
|
||||
description: 'Guarantees GPU access and consistency.',
|
||||
},
|
||||
]
|
||||
|
||||
@@ -31,41 +21,24 @@ export function GpuArchitecture() {
|
||||
<section id="gpu-architecture" className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow>
|
||||
Technical Architecture
|
||||
</Eyebrow>
|
||||
<Eyebrow>ARCHITECTURE</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
A peer-to-peer mesh purpose-built for acceleration.
|
||||
HOW IT WORKS
|
||||
</SectionHeader>
|
||||
<P className="mt-6 text-gray-600">
|
||||
Mycelium GPU treats every node as part of a sovereign mesh. Encrypted
|
||||
networking, smart contract orchestration, and transparent monitoring
|
||||
ensure your workloads receive precisely the power they request.
|
||||
</P>
|
||||
</div>
|
||||
<div className="mt-16 grid gap-8 lg:grid-cols-2">
|
||||
{architectureSections.map((section) => (
|
||||
|
||||
<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={section.title}
|
||||
className="flex h-full flex-col rounded-3xl border border-slate-200 bg-white p-8 shadow-sm transition hover:-translate-y-1 hover:border-cyan-300 hover:shadow-lg"
|
||||
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">
|
||||
{section.title}
|
||||
{item.title}
|
||||
</h3>
|
||||
<p className="mt-4 text-sm leading-relaxed text-gray-600">
|
||||
{section.description}
|
||||
<p className="mt-3 text-sm leading-relaxed text-gray-600">
|
||||
{item.description}
|
||||
</p>
|
||||
<ul className="mt-6 space-y-3 text-sm text-gray-600">
|
||||
{section.bullets.map((bullet) => (
|
||||
<li
|
||||
key={bullet}
|
||||
className="flex items-start gap-3 rounded-2xl border border-cyan-100 bg-cyan-50/60 p-3 leading-relaxed"
|
||||
>
|
||||
<span className="mt-1 inline-block size-2 rounded-full bg-cyan-500" />
|
||||
<span>{bullet}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
58
src/pages/gpu/GpuCapabilities.tsx
Normal file
@@ -0,0 +1,58 @@
|
||||
import {
|
||||
SparklesIcon,
|
||||
Cog6ToothIcon,
|
||||
CubeTransparentIcon,
|
||||
CpuChipIcon,
|
||||
} from '@heroicons/react/24/solid'
|
||||
import { Eyebrow, H3, CT, CP } from '@/components/Texts'
|
||||
import { Container } from '@/components/Container'
|
||||
|
||||
const capabilities = [
|
||||
{
|
||||
name: 'AI / ML Inference & Training',
|
||||
description: 'LLMs, embeddings, transformers, fine-tuning',
|
||||
icon: SparklesIcon,
|
||||
},
|
||||
{
|
||||
name: 'Acceleration in Kubernetes Workloads',
|
||||
description: 'GPU-backed deployments on Mycelium Cloud',
|
||||
icon: Cog6ToothIcon,
|
||||
},
|
||||
{
|
||||
name: 'Rendering & Simulation',
|
||||
description: 'Scientific visualization, VFX, real-time 3D',
|
||||
icon: CubeTransparentIcon,
|
||||
},
|
||||
{
|
||||
name: 'Agent Compute & RAG Pipelines',
|
||||
description: 'Vector memory + model execution on sovereign hardware',
|
||||
icon: CpuChipIcon,
|
||||
},
|
||||
]
|
||||
|
||||
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>
|
||||
|
||||
<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" />
|
||||
</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>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
59
src/pages/gpu/GpuDesign.tsx
Normal file
@@ -0,0 +1,59 @@
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, H3, CT } from '@/components/Texts'
|
||||
import {
|
||||
BoltIcon,
|
||||
BanknotesIcon,
|
||||
GlobeAltIcon,
|
||||
ShieldCheckIcon,
|
||||
} from '@heroicons/react/24/solid'
|
||||
|
||||
const benefits = [
|
||||
{
|
||||
name: 'Consistent, reserved GPU performance (no noisy neighbor effects)',
|
||||
icon: BoltIcon,
|
||||
},
|
||||
{
|
||||
name: 'Transparent cost (no markup, no surprise billing)',
|
||||
icon: BanknotesIcon,
|
||||
},
|
||||
{
|
||||
name: 'Run anywhere – cloud, on-prem, edge, home lab',
|
||||
icon: GlobeAltIcon,
|
||||
},
|
||||
{
|
||||
name: '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>
|
||||
|
||||
</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>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
@@ -1,46 +1,40 @@
|
||||
'use client'
|
||||
|
||||
import { Button } from '../../components/Button'
|
||||
import { Eyebrow, SectionHeader, P } from '../../components/Texts'
|
||||
import { Button } from '@/components/Button'
|
||||
import { Eyebrow, H3 } from '@/components/Texts'
|
||||
|
||||
export function GpuHero() {
|
||||
return (
|
||||
<div className="relative bg-white">
|
||||
<div className="relative h-80 overflow-hidden bg-transparent md:absolute md:right-0 md:h-full md:w-1/3 lg:w-1/2">
|
||||
<img
|
||||
alt="Mycelium GPU nebula illustration"
|
||||
src="/images/gpuhero2.png"
|
||||
className="size-full object-contain"
|
||||
/>
|
||||
</div>
|
||||
<div className="relative mx-auto max-w-7xl py-24 lg:py-32 lg:px-8">
|
||||
<div className="pr-6 pl-6 md:mr-auto md:w-2/3 md:pr-16 lg:w-1/2 lg:pl-0 lg:pr-24 ">
|
||||
<Eyebrow className="tracking-[0.35em] uppercase text-cyan-500">
|
||||
Mycelium GPU
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h1" className="mt-4 text-gray-900">
|
||||
Unify distributed GPU power into a sovereign acceleration fabric.
|
||||
</SectionHeader>
|
||||
<P className="mt-6 text-gray-600">
|
||||
Mycelium GPU transforms fragmented hardware across the ThreeFold
|
||||
Grid into one adaptive intelligence layer. Run AI, ML, rendering,
|
||||
and high-performance workloads anywhere—from edge devices to
|
||||
planetary clusters—with deterministic performance and transparent
|
||||
cost.
|
||||
</P>
|
||||
<P className="mt-4 text-gray-500">
|
||||
The energy behind intelligence, orchestrated entirely through code.
|
||||
</P>
|
||||
<div className="mt-10 flex flex-wrap gap-4">
|
||||
<div className="">
|
||||
{/* Boxed container */}
|
||||
<div
|
||||
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 */}
|
||||
<div className="px-6 py-16 lg:py-16">
|
||||
<div className="max-w-2xl lg:pl-6">
|
||||
<Eyebrow>Mycelium GPU</Eyebrow>
|
||||
<H3 as="h1" className="mt-4">
|
||||
Sovereign GPU Acceleration for AI and High-Performance Compute
|
||||
</H3>
|
||||
<p className="mt-6 text-lg">
|
||||
Access GPUs across the Mycelium mesh without waitlists, inflated pricing, or centralized control. Run inference, training, and compute workloads where they make sense: cloud, edge, or on your own hardware.
|
||||
</p>
|
||||
<div className="mt-10 flex items-center gap-x-6">
|
||||
<Button to="#gpu-getting-started" as="a" variant="solid" color="cyan">
|
||||
Start with GPU Access
|
||||
How it works
|
||||
</Button>
|
||||
<Button to="#gpu-architecture" as="a" variant="outline" color="cyan">
|
||||
Explore the Mesh
|
||||
<Button to="#gpu-architecture" as="a" variant="outline">
|
||||
Explore Docs <span aria-hidden="true">→</span>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</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>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,48 +1,30 @@
|
||||
import {
|
||||
CodeBracketSquareIcon,
|
||||
CubeTransparentIcon,
|
||||
LockClosedIcon,
|
||||
Squares2X2Icon,
|
||||
AdjustmentsHorizontalIcon,
|
||||
GlobeAltIcon,
|
||||
BanknotesIcon,
|
||||
} from '@heroicons/react/24/outline'
|
||||
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P, Small } from '../../components/Texts'
|
||||
import { Container } from '@/components/Container'
|
||||
import { Eyebrow, SectionHeader, P } from '@/components/Texts'
|
||||
|
||||
const overviewCards = [
|
||||
const coreFeatures = [
|
||||
{
|
||||
label: 'Overview',
|
||||
title: 'Unified GPU acceleration across the ThreeFold Grid',
|
||||
name: 'Deterministic GPU Allocation',
|
||||
description:
|
||||
'Mycelium GPU aggregates distributed hardware into a single fabric, delivering sovereign acceleration for AI, ML, and rendering workloads.',
|
||||
'Reserve the GPU type you need and get exactly that, every time.',
|
||||
icon: AdjustmentsHorizontalIcon,
|
||||
},
|
||||
{
|
||||
label: 'Core Concept',
|
||||
title: 'Sovereign intelligence layer',
|
||||
name: 'Multi-Topology Deployment',
|
||||
description:
|
||||
'No silos, no intermediaries—just raw, verifiable GPU power orchestrated through smart contracts and APIs you control.',
|
||||
},
|
||||
]
|
||||
|
||||
const principles = [
|
||||
{
|
||||
name: 'No Silos',
|
||||
description: 'Every GPU resource is accessible through a single interface.',
|
||||
icon: Squares2X2Icon,
|
||||
'Run workloads in data centers, at the edge, or on self-hosted nodes.',
|
||||
icon: GlobeAltIcon,
|
||||
},
|
||||
{
|
||||
name: 'No Intermediaries',
|
||||
description: 'Direct access to hardware without centralized brokers.',
|
||||
icon: CubeTransparentIcon,
|
||||
},
|
||||
{
|
||||
name: 'Verifiable Power',
|
||||
description: 'Every GPU cycle is attested and cryptographically verified.',
|
||||
icon: LockClosedIcon,
|
||||
},
|
||||
{
|
||||
name: 'Code-Orchestrated',
|
||||
description: 'Smart contracts and APIs automate allocation and policy.',
|
||||
icon: CodeBracketSquareIcon,
|
||||
name: 'Transparent Cost Structure',
|
||||
description:
|
||||
'No inflated pricing, no hidden fees, no marketplace brokerage.',
|
||||
icon: BanknotesIcon,
|
||||
},
|
||||
]
|
||||
|
||||
@@ -52,52 +34,31 @@ export function GpuOverview() {
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.32em] uppercase text-cyan-300">
|
||||
Platform Overview
|
||||
PLATFORM OVERVIEW
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" color="light" className="mt-6 font-medium">
|
||||
The sovereign acceleration layer for intelligent workloads.
|
||||
Core Features
|
||||
</SectionHeader>
|
||||
<P color="lightSecondary" className="mt-6">
|
||||
Mycelium GPU makes distributed acceleration feel like one machine.
|
||||
Harness global GPUs with deterministic performance, transparent
|
||||
costs, and end-to-end verification.
|
||||
The Mycelium GPU layer provides predictable, sovereign acceleration
|
||||
— without arbitrary limits or hidden economics.
|
||||
</P>
|
||||
</div>
|
||||
<div className="mt-16 grid gap-8 lg:grid-cols-2">
|
||||
{overviewCards.map((card) => (
|
||||
|
||||
<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={card.title}
|
||||
className="group relative overflow-hidden rounded-3xl border border-white/10 bg-white/[0.04] p-8 backdrop-blur-sm transition hover:-translate-y-1 hover:border-cyan-300/50 hover:bg-white/[0.08]"
|
||||
>
|
||||
<div className="absolute inset-0 bg-gradient-to-br from-cyan-500/0 via-white/[0.05] to-cyan-300/20 opacity-0 transition group-hover:opacity-100" />
|
||||
<div className="relative">
|
||||
<Small className="text-xs uppercase tracking-[0.35em] text-cyan-200">
|
||||
{card.label}
|
||||
</Small>
|
||||
<h3 className="mt-4 text-lg font-semibold text-white">
|
||||
{card.title}
|
||||
</h3>
|
||||
<p className="mt-4 text-sm leading-relaxed text-gray-300">
|
||||
{card.description}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<div className="mt-16 grid gap-8 sm:grid-cols-2 lg:grid-cols-4">
|
||||
{principles.map((principle) => (
|
||||
<div
|
||||
key={principle.name}
|
||||
className="rounded-3xl border border-white/10 bg-white/[0.04] p-6 text-left transition hover:-translate-y-1 hover:border-cyan-300/50 hover:bg-white/[0.08]"
|
||||
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]"
|
||||
>
|
||||
<div className="mb-6 flex size-12 items-center justify-center rounded-full bg-cyan-500/15">
|
||||
<principle.icon aria-hidden="true" className="size-6 text-cyan-300" />
|
||||
<feature.icon className="size-6 text-cyan-300" aria-hidden="true" />
|
||||
</div>
|
||||
<h3 className="text-base font-semibold text-white">
|
||||
{principle.name}
|
||||
<h3 className="text-lg font-semibold text-white">
|
||||
{feature.name}
|
||||
</h3>
|
||||
<p className="mt-3 text-sm leading-relaxed text-gray-300">
|
||||
{principle.description}
|
||||
{feature.description}
|
||||
</p>
|
||||
</div>
|
||||
))}
|
||||
|
||||