Compare commits
80 Commits
388654fcbd
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
| d16d4e02e0 | |||
| 2865b1e1fd | |||
| b723f889cb | |||
| 2752c690d6 | |||
| a7dd803da2 | |||
| 22e2e4b80c | |||
| 5ab909bd12 | |||
| 61cbaae7e0 | |||
| f46482e0f4 | |||
| ee6b5458de | |||
| 100cae988c | |||
| 716915b19e | |||
| f04a7eb3cf | |||
| de89539de1 | |||
| 1851c2d6fb | |||
| 451c1f5c56 | |||
| 0b6bcfedd0 | |||
| 9bccc89309 | |||
| 73abd593e3 | |||
| 1f267b057d | |||
| 2b5f20f1e9 | |||
| aca13e275b | |||
| e8c424539e | |||
| 912ea4436a | |||
| 53fd05e6b7 | |||
| 5a023651b5 | |||
| b9ba2bab06 | |||
| 852d9bfc3e | |||
| cd3ce54a40 | |||
| 6f4f451144 | |||
| 4b6c8d8327 | |||
| a61267944d | |||
| 46d02fca47 | |||
| 6779218da6 | |||
| 04b94367a9 | |||
| cdd6e3104b | |||
| 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 |
|
Before Width: | Height: | Size: 497 KiB |
|
Before Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.7 MiB |
BIN
public/images/agents.webp
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.9 MiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
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-storage.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 111 KiB |
BIN
public/images/cloud.png
Normal file
|
After Width: | Height: | Size: 723 KiB |
|
Before Width: | Height: | Size: 878 KiB |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 938 KiB |
BIN
public/images/cloudhosting.webp
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 316 KiB |
|
Before Width: | Height: | Size: 116 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 327 KiB |
|
Before Width: | Height: | Size: 140 KiB |
BIN
public/images/encrypted.png
Normal file
|
After Width: | Height: | Size: 888 KiB |
BIN
public/images/filesystem.png
Normal file
|
After Width: | Height: | Size: 910 KiB |
4
public/images/github.svg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" aria-label="GitHub" viewBox="0 0 512 512" id="github">
|
||||||
|
<rect width="512" height="512" fill="#1B1817" rx="15%"></rect>
|
||||||
|
<path fill="#fff" d="M335 499c14 0 12 17 12 17H165s-2-17 12-17c13 0 16-6 16-12l-1-50c-71 16-86-28-86-28-12-30-28-37-28-37-24-16 1-16 1-16 26 2 40 26 40 26 22 39 59 28 74 22 2-17 9-28 16-35-57-6-116-28-116-126 0-28 10-51 26-69-3-6-11-32 3-67 0 0 21-7 70 26 42-12 86-12 128 0 49-33 70-26 70-26 14 35 6 61 3 67 16 18 26 41 26 69 0 98-60 120-117 126 10 8 18 24 18 48l-1 70c0 6 3 12 16 12z"></path>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 563 B |
BIN
public/images/iot-gdb6f0c390_1280-1024x706.webp
Normal file
|
After Width: | Height: | Size: 103 KiB |
BIN
public/images/ipfs.png
Normal file
|
After Width: | Height: | Size: 834 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/pods.png
Normal file
|
After Width: | Height: | Size: 1.9 MiB |
BIN
public/images/s3.png
Normal file
|
After Width: | Height: | Size: 1007 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 { Layout } from './components/Layout';
|
||||||
import { lazy, Suspense } from 'react';
|
import { lazy, Suspense } from 'react';
|
||||||
|
|
||||||
@@ -13,7 +13,7 @@ const GpuPage = lazy(() => import('./pages/gpu/GpuPage'));
|
|||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
return (
|
return (
|
||||||
<BrowserRouter>
|
<HashRouter>
|
||||||
<Suspense fallback={<div>Loading...</div>}>
|
<Suspense fallback={<div>Loading...</div>}>
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route path="/" element={<Layout />}>
|
<Route path="/" element={<Layout />}>
|
||||||
@@ -28,7 +28,7 @@ function App() {
|
|||||||
</Route>
|
</Route>
|
||||||
</Routes>
|
</Routes>
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</BrowserRouter>
|
</HashRouter>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ import clsx from 'clsx'
|
|||||||
|
|
||||||
const baseStyles = {
|
const baseStyles = {
|
||||||
solid:
|
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:
|
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 = {
|
const variantStyles = {
|
||||||
@@ -17,7 +17,7 @@ const variantStyles = {
|
|||||||
green: 'bg-green-500 text-white hover:bg-green-600',
|
green: 'bg-green-500 text-white hover:bg-green-600',
|
||||||
},
|
},
|
||||||
outline: {
|
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',
|
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',
|
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() {
|
export function Footer() {
|
||||||
return (
|
return (
|
||||||
<footer className="border-t border-gray-200">
|
<footer className="">
|
||||||
<Container>
|
<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 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>
|
||||||
<div className="flex items-center text-gray-900">
|
<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">
|
<div className="ml-4">
|
||||||
<p className="text-base font-semibold">Project Mycelium</p>
|
<p className="text-base font-semibold">Project Mycelium</p>
|
||||||
<p className="mt-1 text-sm">Unleash the Power of Decentralization</p>
|
<p className="mt-1 text-sm">Unleash the Power of Decentralization</p>
|
||||||
@@ -31,7 +31,7 @@ export function Footer() {
|
|||||||
</div>
|
</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="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">
|
<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>
|
||||||
<div className="ml-4 lg:w-72">
|
<div className="ml-4 lg:w-72">
|
||||||
<p className="text-base font-semibold text-gray-900">
|
<p className="text-base font-semibold text-gray-900">
|
||||||
@@ -46,7 +46,7 @@ export function Footer() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</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">
|
<p className="mt-6 text-sm text-gray-500 md:mt-0">
|
||||||
© Copyright{' '}
|
© Copyright{' '}
|
||||||
<a href="https://www.threefold.io" target="_blank" rel="noopener noreferrer" className="hover:text-cyan-500 transition-colors">
|
<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 { Link, useLocation } from 'react-router-dom'
|
||||||
import { Dropdown } from './ui/Dropdown'
|
import { Dropdown } from './ui/Dropdown'
|
||||||
import { ChevronDownIcon } from '@heroicons/react/20/solid'
|
import { ChevronDownIcon } from '@heroicons/react/20/solid'
|
||||||
import { Container } from './Container'
|
import { Container } from './Container'
|
||||||
import { Button } from './Button'
|
import { Button } from './Button'
|
||||||
import pmyceliumLogo from '../images/logos/logo_1.png'
|
import pmyceliumLogo from '../images/logos/logo_1.png'
|
||||||
|
import { Dialog } from '@headlessui/react'
|
||||||
|
import { Bars3Icon, XMarkIcon } from '@heroicons/react/24/outline'
|
||||||
|
|
||||||
const cloudNavItems = [
|
const cloudNavItems = [
|
||||||
{ name: 'Cloud', href: '/cloud' },
|
{ name: 'Cloud', href: '/cloud' },
|
||||||
@@ -15,20 +17,20 @@ const cloudNavItems = [
|
|||||||
|
|
||||||
export function Header() {
|
export function Header() {
|
||||||
const location = useLocation()
|
const location = useLocation()
|
||||||
|
const [mobileMenuOpen, setMobileMenuOpen] = useState(false)
|
||||||
|
|
||||||
const getCurrentPageName = () => {
|
const getCurrentPageName = () => {
|
||||||
const currentPath = location.pathname;
|
const currentPath = location.pathname;
|
||||||
if (currentPath.startsWith('/compute')) return 'Compute';
|
if (currentPath.startsWith('/compute')) return 'Compute';
|
||||||
if (currentPath.startsWith('/storage')) return 'Storage';
|
if (currentPath.startsWith('/storage')) return 'Storage';
|
||||||
if (currentPath.startsWith('/gpu')) return 'GPU';
|
if (currentPath.startsWith('/gpu')) return 'GPU';
|
||||||
if (currentPath.startsWith('/cloud')) return 'Cloud';
|
|
||||||
return 'Cloud';
|
return 'Cloud';
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<header>
|
<header className="bg-white">
|
||||||
<nav>
|
<nav className="border-b border-gray-100">
|
||||||
<Container className="relative z-50 flex justify-between py-4">
|
<Container className="flex bg-transparent justify-between py-4">
|
||||||
<div className="relative z-10 flex items-center gap-16">
|
<div className="relative z-10 flex items-center gap-16">
|
||||||
<Link to="/" aria-label="Home">
|
<Link to="/" aria-label="Home">
|
||||||
<img src={pmyceliumLogo} alt="Mycelium" className="h-8 w-auto" />
|
<img src={pmyceliumLogo} alt="Mycelium" className="h-8 w-auto" />
|
||||||
@@ -37,7 +39,14 @@ export function Header() {
|
|||||||
<Dropdown
|
<Dropdown
|
||||||
buttonContent={
|
buttonContent={
|
||||||
<>
|
<>
|
||||||
{getCurrentPageName()}
|
{['Compute', 'Storage', 'GPU'].includes(getCurrentPageName()) ? (
|
||||||
|
<>
|
||||||
|
<span className="text-gray-500">Cloud {' >'} </span>
|
||||||
|
<span>{getCurrentPageName()}</span>
|
||||||
|
</>
|
||||||
|
) : (
|
||||||
|
'Cloud'
|
||||||
|
)}
|
||||||
<ChevronDownIcon className="h-5 w-5" aria-hidden="true" />
|
<ChevronDownIcon className="h-5 w-5" aria-hidden="true" />
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
@@ -66,15 +75,94 @@ export function Header() {
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
Start Deployment
|
Deploy Now
|
||||||
</Button>
|
</Button>
|
||||||
<Button to="/download" variant="solid" color="cyan">
|
<Button to="/download" variant="solid" color="cyan">
|
||||||
Get Mycelium Connector
|
Get Mycelium Connector
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
</Container>
|
</Container>
|
||||||
</nav>
|
</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 lg:bg-transparent lg:bg-transparent bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10">
|
||||||
|
<div className="flex items-center justify-between">
|
||||||
|
<Link to="#" className="-m-1.5 p-1.5">
|
||||||
|
<span className="sr-only">Mycelium</span>
|
||||||
|
<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>
|
</header>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,12 +5,14 @@ import { Header } from './Header'
|
|||||||
export function Layout() {
|
export function Layout() {
|
||||||
|
|
||||||
return (
|
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 />
|
<Header />
|
||||||
<main className="">
|
<main>
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</main>
|
</main>
|
||||||
<Footer />
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ export const H5 = createTextComponent(
|
|||||||
)
|
)
|
||||||
export const Eyebrow = createTextComponent(
|
export const Eyebrow = createTextComponent(
|
||||||
'h2',
|
'h2',
|
||||||
'text-base/7 font-semibold tracking-[0.18em] uppercase',
|
'text-base/7 font-semibold uppercase tracking-[0.16em]',
|
||||||
{ color: 'accent' }
|
{ color: 'accent' }
|
||||||
)
|
)
|
||||||
export const SectionHeader = createTextComponent(
|
export const SectionHeader = createTextComponent(
|
||||||
@@ -162,5 +162,5 @@ export const DownloadCardDescription = createTextComponent(
|
|||||||
'text-base/7 leading-normal tracking-normal'
|
'text-base/7 leading-normal tracking-normal'
|
||||||
)
|
)
|
||||||
|
|
||||||
export const CT = createTextComponent('span', 'text-lg lg:text-xl font-semibold')
|
export const CT = createTextComponent('span', 'text-base lg:text-lg font-medium')
|
||||||
export const CP = createTextComponent('p', 'text-sm lg:text-base tracking-wide leading-tight font-light')
|
export const CP = createTextComponent('p', 'text-sm lg:text-base tracking-wide leading-tight font-light')
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export default function FeaturesSectionDemo() {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
return (
|
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) => (
|
{features.map((feature, index) => (
|
||||||
<Feature key={feature.title} {...feature} index={index} />
|
<Feature key={feature.title} {...feature} index={index} />
|
||||||
))}
|
))}
|
||||||
@@ -81,7 +81,7 @@ const Feature = ({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn(
|
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 === 0 || index === 4) && "lg:border-l dark:border-neutral-800",
|
||||||
index < 4 && "lg:border-b dark:border-neutral-800"
|
index < 4 && "lg:border-b dark:border-neutral-800"
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ export default function FeaturesSectionDemo() {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
return (
|
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">
|
<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">
|
<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
|
Packed with thousands of features
|
||||||
|
|||||||
@@ -20,15 +20,6 @@ export const InfiniteMovingCards = ({
|
|||||||
const scrollerRef = React.useRef<HTMLUListElement>(null);
|
const scrollerRef = React.useRef<HTMLUListElement>(null);
|
||||||
const [start, setStart] = useState(false);
|
const [start, setStart] = useState(false);
|
||||||
|
|
||||||
const getDirection = useCallback(() => {
|
|
||||||
if (containerRef.current) {
|
|
||||||
if (direction === "left") {
|
|
||||||
containerRef.current.style.setProperty("--animation-direction", "forwards");
|
|
||||||
} else {
|
|
||||||
containerRef.current.style.setProperty("--animation-direction", "reverse");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}, [direction]);
|
|
||||||
|
|
||||||
const getSpeed = useCallback(() => {
|
const getSpeed = useCallback(() => {
|
||||||
if (containerRef.current) {
|
if (containerRef.current) {
|
||||||
@@ -53,11 +44,10 @@ export const InfiniteMovingCards = ({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
getDirection();
|
|
||||||
getSpeed();
|
getSpeed();
|
||||||
setStart(true);
|
setStart(true);
|
||||||
}
|
}
|
||||||
}, [getDirection, getSpeed]);
|
}, [getSpeed]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
addAnimation();
|
addAnimation();
|
||||||
@@ -75,6 +65,9 @@ export const InfiniteMovingCards = ({
|
|||||||
start && "animate-scroll",
|
start && "animate-scroll",
|
||||||
pauseOnHover && "hover:[animation-play-state:paused]",
|
pauseOnHover && "hover:[animation-play-state:paused]",
|
||||||
)}
|
)}
|
||||||
|
style={{
|
||||||
|
"--animation-direction": direction === "left" ? "forwards" : "reverse",
|
||||||
|
} as React.CSSProperties}
|
||||||
>
|
>
|
||||||
{items.map((item, idx) => (
|
{items.map((item, idx) => (
|
||||||
<li className="relative flex-shrink-0" key={idx}>
|
<li className="relative flex-shrink-0" key={idx}>
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ export const Carousel = ({ items, initialScroll = 0 }: CarouselProps) => {
|
|||||||
return (
|
return (
|
||||||
<div className="relative w-full">
|
<div className="relative w-full">
|
||||||
<div
|
<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}
|
ref={carouselRef}
|
||||||
onScroll={checkScrollability}
|
onScroll={checkScrollability}
|
||||||
>
|
>
|
||||||
@@ -135,7 +135,7 @@ export const Card = ({
|
|||||||
layoutId={layout ? `card-${card.title}` : undefined}
|
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"
|
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
|
<motion.p
|
||||||
layoutId={layout ? `category-${card.category}` : undefined}
|
layoutId={layout ? `category-${card.category}` : undefined}
|
||||||
className="text-left font-sans font-semibold text-cyan-500 uppercase tracking-wider text-xs md:text-sm"
|
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
|
<div
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={cn(
|
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
|
className
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...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;
|
line-height: 1.5;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
|
||||||
color-scheme: light dark;
|
|
||||||
color: rgba(255, 255, 255, 0.87);
|
color: rgba(255, 255, 255, 0.87);
|
||||||
background-color: #242424;
|
|
||||||
|
|
||||||
font-synthesis: none;
|
font-synthesis: none;
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
@@ -60,7 +58,6 @@ button:focus-visible {
|
|||||||
@media (prefers-color-scheme: light) {
|
@media (prefers-color-scheme: light) {
|
||||||
:root {
|
:root {
|
||||||
color: #213547;
|
color: #213547;
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
}
|
||||||
a:hover {
|
a:hover {
|
||||||
color: #747bff;
|
color: #747bff;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { StrictMode } from 'react'
|
import { StrictMode } from 'react'
|
||||||
import { createRoot } from 'react-dom/client'
|
import { createRoot } from 'react-dom/client'
|
||||||
import './styles/tailwind.css'
|
import './styles/tailwind.css'
|
||||||
import App from './App.tsx'
|
import App from './App'
|
||||||
|
|
||||||
createRoot(document.getElementById('root')!).render(
|
createRoot(document.getElementById('root')!).render(
|
||||||
<StrictMode>
|
<StrictMode>
|
||||||
|
|||||||
157
src/pages/agents/AgentBento.tsx
Normal file
@@ -0,0 +1,157 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import { Eyebrow, H3, P } from "@/components/Texts";
|
||||||
|
|
||||||
|
const bentos = [
|
||||||
|
{
|
||||||
|
id: "core",
|
||||||
|
eyebrow: "ARCHITECTURE",
|
||||||
|
title: "Deterministic by Design",
|
||||||
|
description:
|
||||||
|
"Every workload runs exactly as declared: no drift, no hidden state, no surprises.",
|
||||||
|
video: null,
|
||||||
|
colSpan: "lg:col-span-3",
|
||||||
|
rowSpan: "lg:row-span-1",
|
||||||
|
custom: true,
|
||||||
|
noBorder: true,
|
||||||
|
},
|
||||||
|
|
||||||
|
// ✅ Updated Bento Cards
|
||||||
|
{
|
||||||
|
id: "fungistor",
|
||||||
|
title: "FungiStor",
|
||||||
|
subtitle: "Long-Term AI Memory",
|
||||||
|
description:
|
||||||
|
"Erasure coding + compression slash storage bloat by up to 10× vs basic replication. Source-encrypted shards are geo-dispersed—lose pieces, rebuild perfectly from a quorum.",
|
||||||
|
video: "/videos/fungistor.mp4",
|
||||||
|
colSpan: "lg:col-span-3",
|
||||||
|
rowSpan: "lg:row-span-1",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "herodb",
|
||||||
|
title: "HeroDB",
|
||||||
|
subtitle: "Active AI Memory",
|
||||||
|
description:
|
||||||
|
"Multimodal vector+keyword retrieval makes RAG feel instant across text, image, audio. Time-aware, policy-guarded context keeps results fresh while access stays governed.",
|
||||||
|
video: "/videos/herodb.mp4",
|
||||||
|
colSpan: "lg:col-span-3",
|
||||||
|
rowSpan: "lg:row-span-1",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "mos",
|
||||||
|
title: "MOS Sandboxes",
|
||||||
|
subtitle: "Secure Agent Workspaces",
|
||||||
|
description:
|
||||||
|
"Attested, signed workspaces spin up ≈5s worldwide—ready to execute. Hardware isolation and scoped egress: run hard, tear down clean, zero residue.",
|
||||||
|
video: "/videos/herodb.mp4",
|
||||||
|
colSpan: "lg:col-span-3",
|
||||||
|
rowSpan: "lg:row-span-1",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "mesh",
|
||||||
|
title: "Mycelium Mesh",
|
||||||
|
subtitle: "Secure Communication Network",
|
||||||
|
description:
|
||||||
|
"A private, public-key fabric with self-healing multi-path routing. Glides through NATs and firewalls—direct, low-latency, no middlemen.",
|
||||||
|
video: "/videos/mesh.mp4",
|
||||||
|
colSpan: "lg:col-span-2",
|
||||||
|
rowSpan: "lg:row-span-1",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "deterministic",
|
||||||
|
title: "Deterministic Deployment",
|
||||||
|
subtitle: "Verifiable Code Execution",
|
||||||
|
description:
|
||||||
|
"Declare intent, get a hash; remote attestation proves that is what runs. Reproducible builds, signed artifacts, immutable logs—supply chain, sealed.",
|
||||||
|
video: "/videos/deterministic.mp4",
|
||||||
|
colSpan: "lg:col-span-2",
|
||||||
|
rowSpan: "lg:row-span-1",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "agent-coordination",
|
||||||
|
title: "Agent Coordination",
|
||||||
|
subtitle: "Sovereign Workflow Management",
|
||||||
|
description:
|
||||||
|
"Your private agent conducts swarms of specialists in parallel. Policies fan out work; human checkpoints keep you in command.",
|
||||||
|
video: "/videos/agent.mp4",
|
||||||
|
colSpan: "lg:col-span-2",
|
||||||
|
rowSpan: "lg:row-span-1",
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
export function AgentBento() {
|
||||||
|
return (
|
||||||
|
<section className="relative w-full bg-[#121212] overflow-hidden">
|
||||||
|
<div className="max-w-7xl bg-[#121212] mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
|
||||||
|
<div className="w-full border-t border-l border-r border-gray-800" />
|
||||||
|
|
||||||
|
<div className="mx-auto bg-[#111111] max-w-2xl px-6 lg:max-w-7xl lg:px-10 border border-t-0 border-b-0 border-gray-800">
|
||||||
|
<div className="grid grid-cols-1 gap-6 pt-6 lg:grid-cols-6 lg:grid-rows-3 pb-6">
|
||||||
|
{bentos.map((card) => (
|
||||||
|
<div
|
||||||
|
key={card.id}
|
||||||
|
className={`relative ${card.colSpan} ${card.rowSpan} transition-transform duration-300 hover:scale-102 group`}
|
||||||
|
>
|
||||||
|
{!card.noBorder && (
|
||||||
|
<div
|
||||||
|
className={`absolute inset-0 rounded-md border border-gray-800 bg-[#111212] `}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
|
||||||
|
<div
|
||||||
|
className={`relative flex lg:h-90 flex-col overflow-hidden rounded-[calc(var(--radius-lg)+1px)] `}
|
||||||
|
>
|
||||||
|
{/* ✅ VIDEO instead of animation */}
|
||||||
|
{card.video ? (
|
||||||
|
<div className="lg:h-64 h-48 w-full overflow-hidden bg-transparent flex items-center">
|
||||||
|
<video
|
||||||
|
src={card.video}
|
||||||
|
autoPlay
|
||||||
|
loop
|
||||||
|
muted
|
||||||
|
playsInline
|
||||||
|
className="w-full h-full object-cover"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
) : (
|
||||||
|
<div className="h-48 w-full flex items-center justify-center bg-transparent" />
|
||||||
|
)}
|
||||||
|
|
||||||
|
<div className="px-8 pt-4 pb-6">
|
||||||
|
{card.custom ? (
|
||||||
|
<>
|
||||||
|
{card.eyebrow && <Eyebrow>{card.eyebrow}</Eyebrow>}
|
||||||
|
<H3 className="mt-2 text-white">{card.title}</H3>
|
||||||
|
<P className="mt-4 max-w-lg text-gray-200">{card.description}</P>
|
||||||
|
</>
|
||||||
|
) : (
|
||||||
|
<>
|
||||||
|
{/* ✅ NEW SUBTITLE */}
|
||||||
|
<p className="text-sm text-cyan-400">{card.subtitle}</p>
|
||||||
|
|
||||||
|
<p className="mt-1 text-lg font-medium lg:text-xl tracking-tight text-white">
|
||||||
|
{card.title}
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<p className="mt-1 max-w-lg text-sm/6 text-gray-200">
|
||||||
|
{card.description}
|
||||||
|
</p>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{!card.noBorder && (
|
||||||
|
<div
|
||||||
|
className={`pointer-events-none absolute inset-0 rounded-lg shadow-sm outline outline-black/5 `}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
}
|
||||||
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'
|
'use client'
|
||||||
|
|
||||||
import { Button } from '../../components/Button'
|
import { Button } from '@/components/Button'
|
||||||
import { Eyebrow, SectionHeader, P, H3 } from '../../components/Texts'
|
import { Eyebrow, H3 } from '@/components/Texts'
|
||||||
|
|
||||||
export function AgentHeroAlt() {
|
export function AgentHeroAlt() {
|
||||||
return (
|
return (
|
||||||
<div className="relative bg-white lg:mt-10 mt-0">
|
<div className="">
|
||||||
<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">
|
{/* Boxed container */}
|
||||||
<img
|
<div
|
||||||
alt=""
|
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"
|
||||||
src="/images/agents.png"
|
style={{ backgroundImage: "url('/images/agents.webp')", backgroundSize: "contain" }}
|
||||||
className="size-full object-cover"
|
>
|
||||||
/>
|
{/* Inner padding */}
|
||||||
|
<div className="px-6 py-16 lg:py-16">
|
||||||
</div>
|
<div className="max-w-2xl lg:pl-6">
|
||||||
<div className="relative mx-auto max-w-7xl py-24 sm:py-32 lg:px-8">
|
<Eyebrow>MYCELIUM AGENTS</Eyebrow>
|
||||||
<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">
|
<H3 as="h1" className="mt-4">
|
||||||
<Eyebrow className="text-base/7 font-semibold text-cyan-500">AGENT</Eyebrow>
|
Sovereign AI Agents, Coming Soon.
|
||||||
<H3 as="h1" className="mt-2 text-gray-900">Sovereign AI Agents, Coming Soon.</H3>
|
</H3>
|
||||||
<P className="mt-6 text-gray-600">
|
<p className="mt-6 text-lg">
|
||||||
Hero is the autonomous agent layer for the Mycelium platform—trusted, policy-aware AI that runs on infrastructure you control and remembers what matters.
|
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>
|
||||||
<div className="mt-8">
|
<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">
|
<Button href="#" variant="solid" color="cyan">
|
||||||
Join the Waitlist
|
Follow Deployment
|
||||||
|
</Button>
|
||||||
|
<Button href="#" variant="outline">
|
||||||
|
Explore Docs <span aria-hidden="true">→</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,8 +2,9 @@ import { AnimatedSection } from '../../components/AnimatedSection'
|
|||||||
import { DeploySection } from './DeploySection'
|
import { DeploySection } from './DeploySection'
|
||||||
import { GallerySection } from './GallerySection'
|
import { GallerySection } from './GallerySection'
|
||||||
import { Companies } from './Companies'
|
import { Companies } from './Companies'
|
||||||
import { BentoSection } from './BentoSection'
|
import { AgentBento } from './AgentBento'
|
||||||
import { AgentHeroAlt } from './AgentHeroAlt'
|
import { AgentHeroAlt } from './AgentHeroAlt'
|
||||||
|
import { CallToAction } from './CallToAction'
|
||||||
|
|
||||||
export default function AgentsPage() {
|
export default function AgentsPage() {
|
||||||
return (
|
return (
|
||||||
@@ -25,7 +26,11 @@ export default function AgentsPage() {
|
|||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
|
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<BentoSection />
|
<AgentBento />
|
||||||
|
</AnimatedSection>
|
||||||
|
|
||||||
|
<AnimatedSection>
|
||||||
|
<CallToAction />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { motion } from 'framer-motion'
|
import { motion } from 'framer-motion'
|
||||||
import { Container } from '../../components/Container'
|
import { Container } from '@/components/Container'
|
||||||
import { Eyebrow, SectionHeader, P, CT, CP } from '../../components/Texts'
|
import { Eyebrow, SectionHeader, P, CT, CP } from '@/components/Texts'
|
||||||
|
|
||||||
const items = [
|
const items = [
|
||||||
{
|
{
|
||||||
@@ -19,7 +19,7 @@ const items = [
|
|||||||
title: 'MOS Sandboxes',
|
title: 'MOS Sandboxes',
|
||||||
subtitle: 'Secure Agent Workspaces',
|
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.',
|
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',
|
title: 'Mycelium Mesh',
|
||||||
@@ -69,7 +69,7 @@ export function BentoSection() {
|
|||||||
whileInView={{ opacity: 1, y: 0 }}
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
viewport={{ once: true, amount: 0.2 }}
|
viewport={{ once: true, amount: 0.2 }}
|
||||||
transition={{ duration: 0.45, delay: index * 0.1, ease: 'easeOut' }}
|
transition={{ duration: 0.45, delay: index * 0.1, ease: 'easeOut' }}
|
||||||
className="overflow-hidden rounded-2xl border border-gray-800 bg-gray-900 p-6 transition-all duration-300 hover:scale-105 hover:border-cyan-500 hover:shadow-lg"
|
className="overflow-hidden rounded-2xl border border-gray-800 bg-[#121212] p-6 transition-all duration-300 hover:scale-105 hover:border-cyan-500 hover:shadow-lg"
|
||||||
>
|
>
|
||||||
<video
|
<video
|
||||||
src={item.video}
|
src={item.video}
|
||||||
|
|||||||
57
src/pages/agents/CallToAction.tsx
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import { Container } from "@/components/Container";
|
||||||
|
import { Button } from "@/components/Button";
|
||||||
|
|
||||||
|
export function CallToAction() {
|
||||||
|
return (
|
||||||
|
<section className="relative overflow-hidden bg-[#121212]">
|
||||||
|
{/* ✅ Top horizontal line with spacing */}
|
||||||
|
<div className="max-w-7xl bg-[#121212] mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
|
||||||
|
<div className="w-full border-t border-l border-r border-gray-800" />
|
||||||
|
|
||||||
|
{/* ✅ Main boxed area */}
|
||||||
|
<div
|
||||||
|
id="get-started"
|
||||||
|
className="relative py-18 max-w-7xl mx-auto bg-[#111111] border border-t-0 border-b-0 border-gray-800"
|
||||||
|
>
|
||||||
|
<Container className="relative">
|
||||||
|
<div className="mx-auto max-w-3xl text-center">
|
||||||
|
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
|
||||||
|
Start Building the Future of Sovereign AI
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<p className="mt-6 text-lg text-gray-300">
|
||||||
|
Use today’s components — models, storage, compute, mesh — and step into agents as they arrive.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{/* ✅ Two cards, stacked center with spacing */}
|
||||||
|
<div className="mt-10 flex flex-wrap justify-center gap-x-10 gap-y-8">
|
||||||
|
<div className="flex flex-col items-center text-center max-w-xs">
|
||||||
|
<Button to="/deploy" variant="solid" color="cyan" className="mt-4">
|
||||||
|
Deploy a Model
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="flex flex-col items-center text-center max-w-xs">
|
||||||
|
<Button to="/host" as="a" variant="outline" color="white" className="mt-4">
|
||||||
|
Host a Node
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="flex flex-col items-center text-center max-w-xs">
|
||||||
|
<Button to="https://threefold.info/mycelium_network/docs/" as="a" target="_blank" variant="outline" color="white" className="mt-4">
|
||||||
|
Follow Development
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Container>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* ✅ Bottom horizontal line with spacing */}
|
||||||
|
<div className="w-full border-b border-gray-800" />
|
||||||
|
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-800 bg-transparent" />
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,7 +1,5 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { motion } from "framer-motion";
|
|
||||||
import { P, Eyebrow } from "@/components/Texts";
|
|
||||||
import { InfiniteMovingCards } from "@/components/magicui/infinite-moving-cards";
|
import { InfiniteMovingCards } from "@/components/magicui/infinite-moving-cards";
|
||||||
|
|
||||||
|
|
||||||
@@ -39,25 +37,10 @@ const row2 = logos.slice(6);
|
|||||||
|
|
||||||
export function Companies() {
|
export function Companies() {
|
||||||
return (
|
return (
|
||||||
<div id="companies" className="relative bg-black flex flex-col items-center justify-center w-full overflow-hidden antialiased py-4 mb-12">
|
<div id="companies" className="relative bg-[#121212] flex flex-col items-center justify-center w-full overflow-hidden antialiased py-4 mb-12">
|
||||||
<div className="relative z-10 mx-auto w-full max-w-6xl p-4">
|
<div className="relative z-10 mx-auto w-full max-w-7xl p-4">
|
||||||
|
|
||||||
{/* Heading */}
|
|
||||||
<motion.div
|
|
||||||
className="flex flex-col justify-center max-w-4xl items-center mb-8 mx-auto"
|
|
||||||
initial={{ opacity: 0, y: 20 }}
|
|
||||||
whileInView={{ opacity: 1, y: 0 }}
|
|
||||||
viewport={{ once: true, amount: 0.3 }}
|
|
||||||
transition={{ duration: 0.6, ease: "easeOut" }}
|
|
||||||
>
|
|
||||||
<Eyebrow color="accent"></Eyebrow>
|
|
||||||
<P className="hidden min-xl:text-gray-100 text-center mb-6">
|
|
||||||
Mycelium Cloud allows you to deploy and scale AI agents from top global providers on a decentralized, privacy-first infrastructure.
|
|
||||||
</P>
|
|
||||||
</motion.div>
|
|
||||||
|
|
||||||
{/* Logos grid */}
|
{/* Logos grid */}
|
||||||
<div className="flex flex-col items-center gap-y-6 text-white">
|
<div className="flex flex-col items-center gap-y-6 text-white ">
|
||||||
<InfiniteMovingCards
|
<InfiniteMovingCards
|
||||||
items={row1}
|
items={row1}
|
||||||
direction="right"
|
direction="right"
|
||||||
|
|||||||
@@ -46,8 +46,12 @@ const features = [
|
|||||||
|
|
||||||
export function DeploySection() {
|
export function DeploySection() {
|
||||||
return (
|
return (
|
||||||
<section id="benefits" className="relative bg-black px-4 pb-4 pt-12 text-white lg:px-12 lg:pt-24">
|
<section className="bg-[#121212] w-full max-w-8xl mx-auto">
|
||||||
<div className="relative px-6 lg:px-12">
|
{/* ✅ Top horizontal line with spacing */}
|
||||||
|
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-800" />
|
||||||
|
<div className="w-full border-t border-l border-r border-gray-800" />
|
||||||
|
|
||||||
|
<div className="relative px-6 lg:px-12 py-12 bg-[#111111] border border-t-0 border-b-0 border-gray-800 max-w-7xl mx-auto">
|
||||||
<motion.div
|
<motion.div
|
||||||
initial={{ opacity: 0, y: 20 }}
|
initial={{ opacity: 0, y: 20 }}
|
||||||
whileInView={{ opacity: 1, y: 0 }}
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
@@ -55,12 +59,12 @@ export function DeploySection() {
|
|||||||
transition={{ duration: 0.6, ease: "easeOut", delay: 0.1 }}
|
transition={{ duration: 0.6, ease: "easeOut", delay: 0.1 }}
|
||||||
className="mx-auto max-w-5xl text-center"
|
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">
|
<SectionHeader className="text-3xl font-medium tracking-tight" color="light">
|
||||||
Deploy Scalable LLMs and AI Agents
|
Run LLMs and Agent Workloads privately, today.
|
||||||
</SectionHeader>
|
</SectionHeader>
|
||||||
<P className="mt-6" color="light">
|
<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>
|
</P>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
<motion.ul
|
<motion.ul
|
||||||
@@ -90,6 +94,8 @@ export function DeploySection() {
|
|||||||
))}
|
))}
|
||||||
</motion.ul>
|
</motion.ul>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="w-full border-b border-gray-800 bg-[#121212]" />
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,14 +53,13 @@ export function GallerySection() {
|
|||||||
<FadeIn transition={{ duration: 0.8, delay: 0.1 }}>
|
<FadeIn transition={{ duration: 0.8, delay: 0.1 }}>
|
||||||
<div className="mx-auto max-w-5xl lg:mt-12">
|
<div className="mx-auto max-w-5xl lg:mt-12">
|
||||||
<Eyebrow color="accent">Use Cases</Eyebrow>
|
<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>
|
</div>
|
||||||
</FadeIn>
|
</FadeIn>
|
||||||
<FadeIn transition={{ duration: 0.8, delay: 0.2 }}>
|
<FadeIn transition={{ duration: 0.8, delay: 0.2 }}>
|
||||||
<div className="mx-auto max-w-4xl mt-6 lg:px-0 px-4">
|
<div className="mx-auto max-w-4xl mt-6 lg:px-0 px-4">
|
||||||
<P className="text-center" color="dark">
|
<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.
|
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.
|
||||||
Many agents, one intelligence—yours.
|
|
||||||
</P>
|
</P>
|
||||||
</div>
|
</div>
|
||||||
</FadeIn>
|
</FadeIn>
|
||||||
@@ -137,7 +136,7 @@ export function GallerySection() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Foreground pill (Desktop) */}
|
{/* Foreground pill (Desktop) */}
|
||||||
<div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-[60] hidden md:block">
|
<div className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-60 hidden md:block">
|
||||||
<div className="flex items-center justify-between w-[1040px] gap-6 rounded-2xl bg-gray-100/80 shadow-[0_8px_40px_rgba(0,0,0,0.15)] px-12 backdrop-blur">
|
<div className="flex items-center justify-between w-[1040px] gap-6 rounded-2xl bg-gray-100/80 shadow-[0_8px_40px_rgba(0,0,0,0.15)] px-12 backdrop-blur">
|
||||||
<CP as="h4" className="max-w-[820px] h-[72px] flex items-center" color="dark">
|
<CP as="h4" className="max-w-[820px] h-[72px] flex items-center" color="dark">
|
||||||
<TypeAnimation
|
<TypeAnimation
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
import { useId, useState } from 'react'
|
import { useId, useState } from 'react'
|
||||||
|
|
||||||
import { Button } from '../../components/Button'
|
import { Button } from '@/components/Button'
|
||||||
import { Container } from '../../components/Container'
|
import { Container } from '@/components/Container'
|
||||||
import ContactForm from '../../components/ContactForm'
|
import ContactForm from '../../../components/ContactForm'
|
||||||
|
|
||||||
function BackgroundIllustration(props: React.ComponentPropsWithoutRef<'div'>) {
|
function BackgroundIllustration(props: React.ComponentPropsWithoutRef<'div'>) {
|
||||||
const id = useId()
|
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-[#121212]">
|
||||||
|
{/* ✅ Top horizontal line with spacing */}
|
||||||
|
<div className="max-w-7xl bg-[#121212] mx-auto py-6 border border-t-0 border-b-0 border-gray-800"></div>
|
||||||
|
<div className="w-full border-t border-l border-r border-gray-800" />
|
||||||
|
|
||||||
|
{/* ✅ Main boxed area */}
|
||||||
|
<div
|
||||||
|
id="get-started"
|
||||||
|
className="relative py-18 max-w-7xl mx-auto bg-[#111111] border border-t-0 border-b-0 border-gray-800"
|
||||||
|
>
|
||||||
|
|
||||||
|
|
||||||
|
<Container className="relative">
|
||||||
|
<div className="mx-auto max-w-3xl text-center">
|
||||||
|
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
|
||||||
|
Choose How You Want to Start
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<p className="mt-6 text-lg text-gray-300">
|
||||||
|
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-800" />
|
||||||
|
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-800 bg-transparent" />
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,92 +1,90 @@
|
|||||||
import { Container } from '../../components/Container'
|
'use client';
|
||||||
import { Eyebrow, H3, P } from '../../components/Texts'
|
|
||||||
|
|
||||||
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:
|
description:
|
||||||
'Clusters launch across the ThreeFold Grid with direct node access and encrypted connectivity.',
|
'Every node receives a cryptographic network identity and secure routing path.',
|
||||||
bullets: [
|
icon: <MeshNetworkIcon className="mb-4" />, // ✅ stored as const JSX
|
||||||
'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.',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Network Flow',
|
title: 'Sovereign Compute Layer',
|
||||||
description:
|
description:
|
||||||
'Traffic moves through the Mycelium mesh, maintaining sovereignty without sacrificing reach.',
|
'Workloads run on hardware you authorize, no shared control, no exposed surfaces.',
|
||||||
bullets: [
|
icon: <SovereignComputer className="mb-4" />,
|
||||||
'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.',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Kubernetes Management',
|
title: 'Deterministic Orchestration',
|
||||||
description:
|
description:
|
||||||
'Lightweight K3s orchestration delivers HA clusters with automated lifecycle management.',
|
'K3s clusters deploy predictably, verifiably, and remain drift-free.',
|
||||||
bullets: [
|
icon: <DeterministicOrchestration className="mb-4" />,
|
||||||
'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.',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
export function CloudArchitecture() {
|
export function CloudArchitecture() {
|
||||||
return (
|
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>
|
<Container>
|
||||||
<div className="mx-auto max-w-5xl text-center">
|
<div className="mx-auto max-w-4xl sm:text-center">
|
||||||
<Eyebrow>
|
<Eyebrow className="text-cyan-400">ARCHITECTURE</Eyebrow>
|
||||||
Technical Architecture
|
|
||||||
</Eyebrow>
|
<H3 className="text-3xl lg:text-4xl font-medium tracking-tight text-white">
|
||||||
<H3 className="mt-6 text-gray-900">
|
How Mycelium Cloud Works
|
||||||
Built on a Sovereign, Encrypted Delivery Mesh.
|
|
||||||
</H3>
|
</H3>
|
||||||
<P className="mt-6 text-gray-600">
|
|
||||||
Mycelium Cloud rides on the ThreeFold Grid, pairing encrypted mesh
|
<P className="mt-6 text-lg text-gray-300">
|
||||||
networking with deterministic K3s orchestration. Every layer is
|
Mycelium Cloud runs Kubernetes on a global encrypted mesh, with
|
||||||
designed to keep workloads sovereign, observable, and effortless to
|
identity, routing, and state verified at the protocol level.
|
||||||
operate.
|
|
||||||
</P>
|
</P>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-16 grid gap-8 lg:grid-cols-3">
|
|
||||||
{architectureSections.map((section) => (
|
{/* ✅ Card layout spacing & grid match HomeHosting */}
|
||||||
<div
|
<ul
|
||||||
key={section.title}
|
role="list"
|
||||||
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 "
|
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">
|
{architecture.map((layer) => (
|
||||||
<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) => (
|
|
||||||
<li
|
<li
|
||||||
key={bullet}
|
key={layer.title}
|
||||||
className="flex items-start gap-3 rounded-2xl border border-cyan-100 bg-cyan-50/60 p-3 leading-relaxed"
|
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" />
|
{layer.icon} {/* ✅ this now works */}
|
||||||
<span>{bullet}</span>
|
<h3 className="text-lg font-semibold text-white">{layer.title}</h3>
|
||||||
|
<p className="mt-2 text-gray-400 leading-snug">{layer.description}</p>
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</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>
|
</div>
|
||||||
</Container>
|
</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>
|
</section>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,52 +1,61 @@
|
|||||||
import { H3, P, Eyebrow } from '../../components/Texts'
|
"use client";
|
||||||
|
|
||||||
|
import { Container } from "@/components/Container";
|
||||||
|
import { H3, P, Eyebrow } from "@/components/Texts";
|
||||||
|
|
||||||
export function CloudBluePrint() {
|
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 (
|
return (
|
||||||
<div className="bg-white py-24 sm:py-32">
|
<section className="w-full max-w-8xl mx-auto bg-transparent">
|
||||||
<div className="mx-auto max-w-7xl px-6 lg:px-8">
|
|
||||||
<Eyebrow color="accent">Cloud Blueprint</Eyebrow>
|
{/* ✅ Boxed container */}
|
||||||
<H3 color="primary">Your Personal Sovereign Cloud Workspace</H3>
|
<div className="max-w-7xl bg-white mx-auto py-12 border border-t-0 border-b-0 border-gray-100">
|
||||||
<P color="primary">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.
|
<Container>
|
||||||
Your files, communication, apps, and optional AI agent, all running privately on infrastructure you choose.</P>
|
<div className="mx-auto max-w-4xl sm:text-center">
|
||||||
<div className="mx-auto mt-10 grid max-w-lg grid-cols-4 items-center gap-x-8 gap-y-10 sm:max-w-xl sm:grid-cols-6 sm:gap-x-10 lg:mx-0 lg:max-w-none lg:grid-cols-5">
|
<Eyebrow className="text-cyan-500">Featured Blueprint</Eyebrow>
|
||||||
<img
|
|
||||||
alt="Transistor"
|
<H3 className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900 mt-2">
|
||||||
src="https://tailwindcss.com/plus-assets/img/logos/158x48/transistor-logo-gray-900.svg"
|
Your Personal Sovereign Cloud Workspace
|
||||||
width={158}
|
</H3>
|
||||||
height={48}
|
|
||||||
className="col-span-2 max-h-12 w-full object-contain lg:col-span-1"
|
<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.
|
||||||
<img
|
</P>
|
||||||
alt="Reform"
|
|
||||||
src="https://tailwindcss.com/plus-assets/img/logos/158x48/reform-logo-gray-900.svg"
|
|
||||||
width={158}
|
|
||||||
height={48}
|
|
||||||
className="col-span-2 max-h-12 w-full object-contain lg:col-span-1"
|
|
||||||
/>
|
|
||||||
<img
|
|
||||||
alt="Tuple"
|
|
||||||
src="https://tailwindcss.com/plus-assets/img/logos/158x48/tuple-logo-gray-900.svg"
|
|
||||||
width={158}
|
|
||||||
height={48}
|
|
||||||
className="col-span-2 max-h-12 w-full object-contain lg:col-span-1"
|
|
||||||
/>
|
|
||||||
<img
|
|
||||||
alt="SavvyCal"
|
|
||||||
src="https://tailwindcss.com/plus-assets/img/logos/158x48/savvycal-logo-gray-900.svg"
|
|
||||||
width={158}
|
|
||||||
height={48}
|
|
||||||
className="col-span-2 max-h-12 w-full object-contain sm:col-start-2 lg:col-span-1"
|
|
||||||
/>
|
|
||||||
<img
|
|
||||||
alt="Statamic"
|
|
||||||
src="https://tailwindcss.com/plus-assets/img/logos/158x48/statamic-logo-gray-900.svg"
|
|
||||||
width={158}
|
|
||||||
height={48}
|
|
||||||
className="col-span-2 col-start-2 max-h-12 w-full object-contain sm:col-start-auto lg:col-span-1"
|
|
||||||
/>
|
|
||||||
</div>
|
</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>
|
||||||
|
))}
|
||||||
</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
|
<div
|
||||||
className={clsx(
|
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
|
activeIndex === featureIndex
|
||||||
? 'outline-transparent' // Remove outline for active mobile slide
|
? 'outline-transparent' // Remove outline for active mobile slide
|
||||||
: 'outline-transparent hover:outline-cyan-500',
|
: 'outline-transparent hover:outline-cyan-500',
|
||||||
@@ -406,7 +406,7 @@ export function CloudFeatures() {
|
|||||||
<section
|
<section
|
||||||
id="overview"
|
id="overview"
|
||||||
aria-label="Features for investing all your money"
|
aria-label="Features for investing all your money"
|
||||||
className="bg-gray-900 py-20 sm:py-32"
|
className="bg-[#121212] py-20 sm:py-32"
|
||||||
>
|
>
|
||||||
<Container>
|
<Container>
|
||||||
<div className="mx-auto max-w-2xl lg:mx-0 lg:max-w-3xl">
|
<div className="mx-auto max-w-2xl lg:mx-0 lg:max-w-3xl">
|
||||||
|
|||||||
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,50 +1,51 @@
|
|||||||
import { H3, H5, Eyebrow } from "../../components/Texts"
|
import { H3, Eyebrow } from "@/components/Texts"
|
||||||
import { Button } from "../../components/Button"
|
import { Button } from "@/components/Button"
|
||||||
|
|
||||||
|
export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedClick?: () => void }) {
|
||||||
export function CloudHeroNew() {
|
|
||||||
return (
|
return (
|
||||||
|
<div className="">
|
||||||
|
{/* Boxed container */}
|
||||||
<div
|
<div
|
||||||
className="relative bg-cover lg:bg-contain bg-right bg-no-repeat"
|
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-100 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||||
style={{ backgroundImage: "url('/images/cloudhero4.webp')" }}
|
style={{ backgroundImage: "url('/images/cloudhero4.webp')", backgroundSize: "contain" }}
|
||||||
>
|
>
|
||||||
<div className="mx-auto max-w-7xl lg:px-8">
|
{/* Inner padding */}
|
||||||
<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="px-6 py-16 lg:py-16">
|
||||||
<div className="mx-auto max-w-2xl lg:mx-0">
|
<div className="max-w-2xl lg:pl-6">
|
||||||
<Eyebrow>
|
<Eyebrow>
|
||||||
Mycelium Cloud
|
Mycelium Cloud
|
||||||
</Eyebrow>
|
</Eyebrow>
|
||||||
<H3 className="mt-4">
|
<H3 className="mt-4">
|
||||||
Run Kubernetes on the Sovereign Agentic Cloud
|
Run Kubernetes on the Sovereign Agentic Cloud
|
||||||
</H3>
|
</H3>
|
||||||
<H5 className="mt-8 text-lg text-gray-600">
|
<p className="mt-6 text-lg">
|
||||||
Mycelium Cloud turns the ThreeFold Grid into a programmable substrate for K3s.
|
|
||||||
</H5>
|
|
||||||
<H5 className="mt-4 text-lg text-gray-600">
|
|
||||||
Deploy K3s clusters on a global, self-healing mesh network.
|
Deploy K3s clusters on a global, self-healing mesh network.
|
||||||
Your workloads run on sovereign, encrypted infrastructure, without centralized cloud control.
|
Your workloads run on sovereign, encrypted infrastructure, without centralized cloud control.
|
||||||
</H5>
|
</p>
|
||||||
<H5 className="mt-4 text-sm text-gray-600">
|
<p className="mt-4 lg:text-base italic text-gray-600 text-sm">
|
||||||
Works Alone. Works Together.
|
Works Alone. Works Together.
|
||||||
Mycelium Cloud can run on any network fabric, or pair with Mycelium Network
|
Mycelium Cloud can run on any network fabric, or pair with Mycelium Network
|
||||||
for sovereign connectivity.
|
for sovereign connectivity.
|
||||||
</H5>
|
</p>
|
||||||
<div className="mt-10 flex items-center gap-x-6">
|
<div className="mt-10 flex items-center gap-x-6">
|
||||||
<Button
|
<Button
|
||||||
to="#"
|
onClick={onGetStartedClick}
|
||||||
variant="solid"
|
variant="solid"
|
||||||
className=""
|
|
||||||
color="cyan"
|
color="cyan"
|
||||||
>
|
>
|
||||||
Get started
|
Get started
|
||||||
</Button>
|
</Button>
|
||||||
<Button to="#" variant="outline">
|
<Button to="#" variant="outline">
|
||||||
Documentation <span aria-hidden="true"> →</span>
|
Documentation <span aria-hidden="true">→</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</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>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import {
|
|||||||
ServerIcon,
|
ServerIcon,
|
||||||
ShieldCheckIcon,
|
ShieldCheckIcon,
|
||||||
} from '@heroicons/react/24/outline'
|
} from '@heroicons/react/24/outline'
|
||||||
import { CP, CT, Eyebrow, H3, P } from '../../components/Texts'
|
import { CP, CT, Eyebrow, H3 } from '@/components/Texts'
|
||||||
|
|
||||||
const features = [
|
const features = [
|
||||||
{
|
{
|
||||||
@@ -39,11 +39,6 @@ export function CloudHosting() {
|
|||||||
<div className="mx-auto max-w-md px-6 text-center sm:max-w-3xl lg:max-w-7xl lg:px-8">
|
<div className="mx-auto max-w-md px-6 text-center sm:max-w-3xl lg:max-w-7xl lg:px-8">
|
||||||
<Eyebrow>CAPABILITIES</Eyebrow>
|
<Eyebrow>CAPABILITIES</Eyebrow>
|
||||||
<H3 className="mt-2">What You Can Run on Mycelium Cloud</H3>
|
<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="mt-16">
|
||||||
<div className="grid grid-cols-1 gap-12 lg:grid-cols-4">
|
<div className="grid grid-cols-1 gap-12 lg:grid-cols-4">
|
||||||
{features.map((feature) => (
|
{features.map((feature) => (
|
||||||
|
|||||||
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,14 +1,12 @@
|
|||||||
import { AnimatedSection } from '../../components/AnimatedSection'
|
import { AnimatedSection } from '../../components/AnimatedSection'
|
||||||
import { CloudArchitecture } from './CloudArchitecture'
|
import { CloudArchitecture } from './CloudArchitecture'
|
||||||
import { CloudFeatures } from './CloudFeatures'
|
|
||||||
import { CloudGettingStarted } from './CloudGettingStarted'
|
|
||||||
import { CloudUseCases } from './CloudUseCases'
|
import { CloudUseCases } from './CloudUseCases'
|
||||||
import { SecurityPillars } from './SecurityPillars'
|
|
||||||
import { CloudCTA } from './CloudCTA'
|
|
||||||
import { CloudHeroNew } from './CloudHeroNew'
|
import { CloudHeroNew } from './CloudHeroNew'
|
||||||
import { CloudHosting } from './CloudHosting'
|
|
||||||
import { CloudBluePrint } from './CloudBluePrint'
|
import { CloudBluePrint } from './CloudBluePrint'
|
||||||
import { CloudDesign } from './CloudDesign'
|
import { CallToAction } from './CalltoAction'
|
||||||
|
import { CloudHostingNew } from './CloudHostingNew'
|
||||||
|
import { CloudFeaturesLight } from './CloudFeaturesLight'
|
||||||
|
|
||||||
|
|
||||||
export default function CloudPage() {
|
export default function CloudPage() {
|
||||||
return (
|
return (
|
||||||
@@ -19,15 +17,11 @@ export default function CloudPage() {
|
|||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
|
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<CloudHosting />
|
<CloudHostingNew />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
|
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<CloudDesign />
|
<CloudFeaturesLight />
|
||||||
</AnimatedSection>
|
|
||||||
|
|
||||||
<AnimatedSection>
|
|
||||||
<CloudFeatures />
|
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
|
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
@@ -43,7 +37,7 @@ export default function CloudPage() {
|
|||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
|
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<CloudCTA />
|
<CallToAction />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
import { Container } from '../../components/Container'
|
"use client";
|
||||||
import { Eyebrow, SectionHeader, P, Small } from '../../components/Texts'
|
|
||||||
|
import { Container } from '@/components/Container'
|
||||||
|
import { Eyebrow, H3, P, Small } from '@/components/Texts'
|
||||||
|
|
||||||
const useCases = [
|
const useCases = [
|
||||||
{
|
{
|
||||||
@@ -36,38 +38,54 @@ const useCases = [
|
|||||||
|
|
||||||
export function CloudUseCases() {
|
export function CloudUseCases() {
|
||||||
return (
|
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>
|
<Container>
|
||||||
<div className="mx-auto max-w-3xl text-center">
|
<div className="mx-auto max-w-4xl sm:text-center">
|
||||||
<Eyebrow>
|
<Eyebrow className="text-cyan-500">USE CASES</Eyebrow>
|
||||||
Use Cases
|
|
||||||
</Eyebrow>
|
<H3 className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900">
|
||||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
|
||||||
Built for intelligent workloads across every edge.
|
Built for intelligent workloads across every edge.
|
||||||
</SectionHeader>
|
</H3>
|
||||||
<P className="mt-6 text-gray-600">
|
|
||||||
|
<P className="mt-6 text-lg text-gray-600">
|
||||||
Mycelium Cloud unifies compute, storage, and networking so teams can
|
Mycelium Cloud unifies compute, storage, and networking so teams can
|
||||||
launch anything from GPU inference farms to global collaboration
|
launch anything from GPU inference farms to global collaboration suites
|
||||||
suites with deterministic outcomes.
|
with deterministic outcomes.
|
||||||
</P>
|
</P>
|
||||||
</div>
|
</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) => (
|
{useCases.map((useCase) => (
|
||||||
<div
|
<li
|
||||||
key={useCase.title}
|
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">
|
<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}
|
{useCase.title}
|
||||||
</h3>
|
</h3>
|
||||||
<Small className="text-xs uppercase tracking-[0.3em] text-cyan-500">
|
<Small className="uppercase tracking-[0.25em] text-cyan-500">
|
||||||
Scenario
|
Scenario
|
||||||
</Small>
|
</Small>
|
||||||
</div>
|
</div>
|
||||||
<p className="mt-4 text-sm leading-relaxed text-gray-600">
|
|
||||||
|
<p className="mt-4 text-gray-700 leading-snug">
|
||||||
{useCase.description}
|
{useCase.description}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul className="mt-6 space-y-3 text-sm text-gray-600">
|
<ul className="mt-6 space-y-3 text-sm text-gray-600">
|
||||||
{useCase.bullets.map((bullet) => (
|
{useCase.bullets.map((bullet) => (
|
||||||
<li
|
<li
|
||||||
@@ -79,10 +97,15 @@ export function CloudUseCases() {
|
|||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</li>
|
||||||
))}
|
))}
|
||||||
</div>
|
</ul>
|
||||||
</Container>
|
</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>
|
</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 { Container } from '@/components/Container'
|
||||||
import { Button } from '../../components/Button'
|
import { Button } from '@/components/Button'
|
||||||
|
|
||||||
export function CloudCTA() {
|
export function CloudCTA() {
|
||||||
return (
|
return (
|
||||||