Compare commits
81 Commits
26ae2f156a
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
| 8d1e2f4c7d | |||
| 0f2f6df299 | |||
| c56f67ae2e | |||
| 39b748cdac | |||
| 6d186c2304 | |||
| 681a7606d5 | |||
| 0e8de7e7fe | |||
| 3919b72b0c | |||
| f796ec1218 | |||
| 5af349ad4a | |||
| 6485e1e3ce | |||
| e7b33b75c9 | |||
| 2e22ed9683 | |||
| 15e81cb5cd | |||
| 0e6ecedf85 | |||
| 75dd7dfbc5 | |||
| d8ce04252a | |||
| c14c0e92d4 | |||
| 9730129506 | |||
| 8b4e0defb9 | |||
| 15cc1f70e3 | |||
| ae3e78f75a | |||
| 7ee6da68fe | |||
| 6e2ea7c87c | |||
| 5f0c749f94 | |||
| b3836062a3 | |||
| b1c59a9b5a | |||
| db92f1271e | |||
| 6dc318704a | |||
| 6304f8fc1d | |||
| d7769a5ecd | |||
| 005d8c35d4 | |||
| a73608ce6c | |||
| ef7dc12bc2 | |||
| 2d856a5858 | |||
| 8fac6f8edd | |||
| 560ec7dcd0 | |||
| aaf02d0a7c | |||
| b767bdbcb4 | |||
| c25f6aaba6 | |||
| 2bd3026bac | |||
| 88d6a90f60 | |||
| 8d9f02a846 | |||
| e16456bb94 | |||
| 388654fcbd | |||
| 865252274c | |||
| 8b892c9432 | |||
| 7f9023c631 | |||
| f3456eb470 | |||
| 46272e939d | |||
| 0daabe56f5 | |||
| 85afc05c35 | |||
| 866e1df042 | |||
| 28ea2ab49d | |||
| 1f11ca5319 | |||
| 3e99e85e48 | |||
| b39694ea24 | |||
| 363b822d8b | |||
| 00802c7064 | |||
| e45ca7c86f | |||
| 664897ee19 | |||
| 91d249f097 | |||
| 4ba88257eb | |||
| 4c4a0c5dd1 | |||
| 8817272932 | |||
| 6a882371f0 | |||
| 4e8e714f37 | |||
| 01c3c226a9 | |||
| c7371ec21b | |||
| c15b110afe | |||
| 3564b5cb0f | |||
| 51ef8dffb5 | |||
| 9d8f1a6919 | |||
| 0f93199aa4 | |||
| 57fa97cc70 | |||
| fa7c524b18 | |||
| f1c388cbab | |||
| ea3ee4d455 | |||
| 24f6da37ed | |||
| c861f15492 | |||
| bfe3c1e4bd |
BIN
public/images/agenthero1.webp
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
public/images/agents.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
public/images/agents.webp
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
public/images/bento-01-integrations.png
Normal file
|
After Width: | Height: | Size: 431 KiB |
BIN
public/images/bento-agent.jpg
Normal file
|
After Width: | Height: | Size: 95 KiB |
BIN
public/images/bento-cloud.jpg
Normal file
|
After Width: | Height: | Size: 85 KiB |
BIN
public/images/bento-compute.png
Normal file
|
After Width: | Height: | Size: 895 KiB |
BIN
public/images/bento-gpu.jpg
Normal file
|
After Width: | Height: | Size: 179 KiB |
BIN
public/images/bento-network.png
Normal file
|
After Width: | Height: | Size: 151 KiB |
BIN
public/images/bento-network.webp
Normal file
|
After Width: | Height: | Size: 114 KiB |
BIN
public/images/bento-storage.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
public/images/bg.jpg
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
public/images/bg2.jpg
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
public/images/cloud.png
Normal file
|
After Width: | Height: | Size: 723 KiB |
|
Before Width: | Height: | Size: 878 KiB After Width: | Height: | Size: 878 KiB |
BIN
public/images/cloud/billing.png
Normal file
|
After Width: | Height: | Size: 778 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
BIN
public/images/cloud/kubeconfig.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
BIN
public/images/cloud/reserve.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
public/images/cloudhero4.webp
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
public/images/cloudhosting.png
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
public/images/cloudhosting.webp
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
BIN
public/images/computehero.webp
Normal file
|
After Width: | Height: | Size: 1.7 MiB |
BIN
public/images/computehero11.webp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
public/images/gpuhero2.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 51 KiB |
BIN
public/images/iot-gdb6f0c390_1280-1024x706.webp
Normal file
|
After Width: | Height: | Size: 103 KiB |
BIN
public/images/kubernetes.webp
Normal file
|
After Width: | Height: | Size: 90 KiB |
BIN
public/images/linux.png
Normal file
|
After Width: | Height: | Size: 150 KiB |
BIN
public/images/logo/1_eVqphQ2aNKxqHPMPxjRzAA (1).png
Normal file
|
After Width: | Height: | Size: 286 KiB |
BIN
public/images/logo/1_eVqphQ2aNKxqHPMPxjRzAA.png
Normal file
|
After Width: | Height: | Size: 286 KiB |
BIN
public/images/logo/cryptpad.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
public/images/logo/gitea.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
public/images/logo/images.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
BIN
public/images/logo/lifekit.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
public/images/logo/matrix.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
public/images/logo/nextcloud.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
public/images/logo/stalwart.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
public/images/pages/agent.png
Normal file
|
After Width: | Height: | Size: 107 KiB |
BIN
public/images/pages/cloud.png
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
public/images/pages/compute.png
Normal file
|
After Width: | Height: | Size: 114 KiB |
BIN
public/images/pages/gpu.png
Normal file
|
After Width: | Height: | Size: 121 KiB |
BIN
public/images/pages/gpuhero2.png
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
public/images/pages/network.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 6.1 MiB |
BIN
public/images/pages/storage.png
Normal file
|
After Width: | Height: | Size: 135 KiB |
BIN
public/images/storage.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
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 |
BIN
public/videos/mhero.mp4
Normal file
@@ -1,4 +1,5 @@
|
|||||||
import { motion } from 'framer-motion'
|
import { motion } from 'framer-motion'
|
||||||
|
import { forwardRef } from 'react'
|
||||||
|
|
||||||
type AnimatedSectionProps = {
|
type AnimatedSectionProps = {
|
||||||
children: React.ReactNode
|
children: React.ReactNode
|
||||||
@@ -6,9 +7,11 @@ type AnimatedSectionProps = {
|
|||||||
className?: string
|
className?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export function AnimatedSection({ children, id, className }: AnimatedSectionProps) {
|
export const AnimatedSection = forwardRef<HTMLElement, AnimatedSectionProps>(
|
||||||
|
({ children, id, className }, ref) => {
|
||||||
return (
|
return (
|
||||||
<motion.section
|
<motion.section
|
||||||
|
ref={ref}
|
||||||
id={id}
|
id={id}
|
||||||
className={className}
|
className={className}
|
||||||
initial={{ opacity: 0, y: 40 }}
|
initial={{ opacity: 0, y: 40 }}
|
||||||
@@ -19,4 +22,5 @@ export function AnimatedSection({ children, id, className }: AnimatedSectionProp
|
|||||||
{children}
|
{children}
|
||||||
</motion.section>
|
</motion.section>
|
||||||
)
|
)
|
||||||
}
|
},
|
||||||
|
)
|
||||||
|
|||||||
@@ -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,7 +3,7 @@ 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>
|
||||||
|
|||||||
@@ -1,15 +1,37 @@
|
|||||||
import { Link } from 'react-router-dom'
|
import { useState } from 'react'
|
||||||
|
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 = [
|
||||||
|
{ name: 'Cloud', href: '/cloud' },
|
||||||
|
{ name: 'Compute', href: '/compute' },
|
||||||
|
{ name: 'Storage', href: '/storage' },
|
||||||
|
{ name: 'GPU', href: '/gpu' },
|
||||||
|
]
|
||||||
|
|
||||||
export function Header() {
|
export function Header() {
|
||||||
|
const location = useLocation()
|
||||||
|
const [mobileMenuOpen, setMobileMenuOpen] = useState(false)
|
||||||
|
|
||||||
|
const getCurrentPageName = () => {
|
||||||
|
const currentPath = location.pathname;
|
||||||
|
if (currentPath.startsWith('/compute')) return 'Compute';
|
||||||
|
if (currentPath.startsWith('/storage')) return 'Storage';
|
||||||
|
if (currentPath.startsWith('/gpu')) return 'GPU';
|
||||||
|
if (currentPath.startsWith('/cloud')) return 'Cloud';
|
||||||
|
return 'Cloud';
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<header>
|
<header className="bg-white">
|
||||||
<nav>
|
<nav className="border-b border-gray-200">
|
||||||
<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" />
|
||||||
@@ -18,16 +40,11 @@ export function Header() {
|
|||||||
<Dropdown
|
<Dropdown
|
||||||
buttonContent={
|
buttonContent={
|
||||||
<>
|
<>
|
||||||
Cloud
|
{getCurrentPageName()}
|
||||||
<ChevronDownIcon className="h-5 w-5" aria-hidden="true" />
|
<ChevronDownIcon className="h-5 w-5" aria-hidden="true" />
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
items={[
|
items={cloudNavItems}
|
||||||
{ name: 'Cloud', href: '/cloud' },
|
|
||||||
{ name: 'Compute', href: '/compute' },
|
|
||||||
{ name: 'Storage', href: '/storage' },
|
|
||||||
{ name: 'GPU', href: '/gpu' },
|
|
||||||
]}
|
|
||||||
/>
|
/>
|
||||||
<Link
|
<Link
|
||||||
to="/network"
|
to="/network"
|
||||||
@@ -58,9 +75,84 @@ export function Header() {
|
|||||||
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 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"
|
||||||
|
>
|
||||||
|
{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"
|
||||||
|
>
|
||||||
|
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"
|
||||||
|
>
|
||||||
|
Agents
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
<div className="py-6">
|
||||||
|
<Button
|
||||||
|
to="https://myceliumcloud.tf"
|
||||||
|
variant="outline"
|
||||||
|
as="a"
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="w-full"
|
||||||
|
>
|
||||||
|
Start Deployment
|
||||||
|
</Button>
|
||||||
|
<Button to="/download" variant="solid" color="cyan" className="mt-4 w-full">
|
||||||
|
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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ export const FeatureTitle = createTextComponent(
|
|||||||
)
|
)
|
||||||
export const FeatureDescription = createTextComponent(
|
export const FeatureDescription = createTextComponent(
|
||||||
'p',
|
'p',
|
||||||
'text-sm leading-normal tracking-normal'
|
'lg:text-base text-sm leading-normal tracking-normal'
|
||||||
)
|
)
|
||||||
export const MobileFeatureTitle = createTextComponent(
|
export const MobileFeatureTitle = createTextComponent(
|
||||||
'h3',
|
'h3',
|
||||||
@@ -163,4 +163,4 @@ export const DownloadCardDescription = createTextComponent(
|
|||||||
)
|
)
|
||||||
|
|
||||||
export const CT = createTextComponent('span', 'text-lg lg:text-xl font-semibold')
|
export const CT = createTextComponent('span', 'text-lg lg:text-xl font-semibold')
|
||||||
export const CP = createTextComponent('p', 'text-sm lg:text-base tracking-wide leading-relaxed 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
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ import {
|
|||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import { motion } from "motion/react";
|
import { motion } from "motion/react";
|
||||||
|
import { DarkCard } from "./cards";
|
||||||
|
|
||||||
interface CarouselProps {
|
interface CarouselProps {
|
||||||
items: JSX.Element[];
|
items: JSX.Element[];
|
||||||
@@ -61,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}
|
||||||
>
|
>
|
||||||
@@ -73,7 +74,7 @@ export const Carousel = ({ items, initialScroll = 0 }: CarouselProps) => {
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex flex-row justify-start gap-4 pl-4",
|
"flex flex-row justify-start gap-6 pl-4",
|
||||||
"mx-auto max-w-7xl", // remove max-w-4xl if you want the carousel to span the full width of its container
|
"mx-auto max-w-7xl", // remove max-w-4xl if you want the carousel to span the full width of its container
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
@@ -127,42 +128,44 @@ export const Card = ({
|
|||||||
card: Card;
|
card: Card;
|
||||||
layout?: boolean;
|
layout?: boolean;
|
||||||
}) => {
|
}) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link to={card.link}>
|
<Link to={card.link}>
|
||||||
|
<DarkCard className="p-0 rounded-3xl">
|
||||||
<motion.div
|
<motion.div
|
||||||
layoutId={layout ? `card-${card.title}` : undefined}
|
layoutId={layout ? `card-${card.title}` : undefined}
|
||||||
className="relative z-10 flex h-60 w-56 flex-col items-start justify-start overflow-hidden rounded-3xl border border-gray-500/30 md:h-120 md:w-96 hover:scale-105 transition-transform duration-200"
|
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"
|
||||||
style={{
|
|
||||||
backgroundImage: `url(${card.bg})`,
|
|
||||||
backgroundSize: 'cover',
|
|
||||||
backgroundPosition: 'center',
|
|
||||||
}}
|
|
||||||
>
|
>
|
||||||
<div className="pointer-events-none absolute inset-x-0 top-0 z-30 h-full bg-gradient-to-b from-black/50 via-transparent to-transparent" />
|
<div className="flex h-2/5 flex-col justify-center py-4 px-4">
|
||||||
<div className="relative z-40 p-8 w-full">
|
|
||||||
<motion.p
|
<motion.p
|
||||||
layoutId={layout ? `category-${card.category}` : undefined}
|
layoutId={layout ? `category-${card.category}` : undefined}
|
||||||
className="text-left font-sans text-sm font-medium text-white md:text-base"
|
className="text-left font-sans font-semibold text-cyan-500 uppercase tracking-wider text-xs md:text-sm"
|
||||||
>
|
>
|
||||||
{card.category}
|
{card.category}
|
||||||
</motion.p>
|
</motion.p>
|
||||||
<motion.p
|
<motion.p
|
||||||
layoutId={layout ? `title-${card.title}` : undefined}
|
layoutId={layout ? `title-${card.title}` : undefined}
|
||||||
className="mt-2 max-w-xs text-left font-sans text-xl font-semibold [text-wrap:balance] text-white md:text-3xl"
|
className="mt-1 max-w-xs text-left font-sans text-xl font-semibold text-white [text-wrap:balance] lg:text-2xl"
|
||||||
>
|
>
|
||||||
{card.title}
|
{card.title}
|
||||||
</motion.p>
|
</motion.p>
|
||||||
<div className="flex flex-row justify-between items-center w-full mt-4">
|
<div className="mt-2 flex w-full flex-row items-center justify-between md:mt-4">
|
||||||
<motion.p className="max-w-xs text-left font-sans lg:text-lg text-base text-neutral-300">
|
<motion.p className="max-w-xs text-left font-sans lg:text-xl text-lg text-neutral-300 lg:leading-normal leading-tight">
|
||||||
{card.description}
|
{card.description}
|
||||||
</motion.p>
|
</motion.p>
|
||||||
<div className="h-8 w-8 bg-[#212121] rounded-full flex items-center justify-center text-[#858585] shrink-0 hover:bg-[#262626] hover:text-white active:bg-[#262626] active:text-white transition-colors duration-200">
|
<div className="flex h-6 w-6 ml-2 shrink-0 items-center justify-center rounded-full bg-[#212121] text-[#858585] transition-colors duration-200 hover:bg-[#262626] hover:text-white md:h-8 md:w-8">
|
||||||
<IconChevronRight className="h-6 w-6" />
|
<IconChevronRight className="h-4 w-4 md:h-6 md:w-6 " />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="relative flex h-3/5 w-full items-end justify-end bg-transparent">
|
||||||
|
<img
|
||||||
|
src={card.src}
|
||||||
|
alt={card.title}
|
||||||
|
className="h-full w-full origin-bottom-right scale-75 object-contain mb-10"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
|
</DarkCard>
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
19
src/components/ui/cards.tsx
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
import * as React from "react";
|
||||||
|
import { cn } from "@/lib/utils";
|
||||||
|
|
||||||
|
const DarkCard = React.forwardRef<
|
||||||
|
HTMLDivElement,
|
||||||
|
React.HTMLAttributes<HTMLDivElement>
|
||||||
|
>(({ className, ...props }, ref) => (
|
||||||
|
<div
|
||||||
|
ref={ref}
|
||||||
|
className={cn(
|
||||||
|
"border border-white/10 bg-white/3 p-8 backdrop-blur-sm transition hover:-translate-y-1 hover:border-cyan-300/50 rounded-xl hover:bg-white/6 hover:scale-105 hover:shadow-lg hover:shadow-cyan-500/15",
|
||||||
|
className
|
||||||
|
)}
|
||||||
|
{...props}
|
||||||
|
/>
|
||||||
|
));
|
||||||
|
DarkCard.displayName = "DarkCard";
|
||||||
|
|
||||||
|
export { DarkCard };
|
||||||
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;
|
||||||
|
|||||||
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-200">
|
||||||
|
<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>
|
||||||
|
)
|
||||||
|
}
|
||||||
43
src/pages/agents/AgentHeroAlt.tsx
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
'use client'
|
||||||
|
|
||||||
|
import { Button } from '@/components/Button'
|
||||||
|
import { Eyebrow, H3 } from '@/components/Texts'
|
||||||
|
|
||||||
|
export function AgentHeroAlt() {
|
||||||
|
return (
|
||||||
|
<div className="">
|
||||||
|
{/* Boxed container */}
|
||||||
|
<div
|
||||||
|
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-200 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||||
|
style={{ backgroundImage: "url('/images/agents.webp')", backgroundSize: "contain" }}
|
||||||
|
>
|
||||||
|
{/* Inner padding */}
|
||||||
|
<div className="px-6 py-16 lg:py-16">
|
||||||
|
<div className="max-w-2xl lg:pl-6">
|
||||||
|
<Eyebrow>MYCELIUM AGENTS</Eyebrow>
|
||||||
|
<H3 as="h1" className="mt-4">
|
||||||
|
Sovereign AI Agents, Coming Soon.
|
||||||
|
</H3>
|
||||||
|
<p className="mt-6 text-lg">
|
||||||
|
The Agent layer will allow you to run autonomous, policy-governed AI that operates on infrastructure you control, with private memory, verifiable execution, and coordination across your personal or organizational environment.
|
||||||
|
</p>
|
||||||
|
<p className="mt-4 lg:text-base italic text-gray-600 text-sm">
|
||||||
|
Works Alone. Works Together. Use Agents on top of any Mycelium Cloud deployment or pair them with the Mycelium Network for private, encrypted collaboration across users and systems.
|
||||||
|
</p>
|
||||||
|
<div className="mt-10 flex items-center gap-x-6">
|
||||||
|
<Button href="#" variant="solid" color="cyan">
|
||||||
|
Follow Deployment
|
||||||
|
</Button>
|
||||||
|
<Button href="#" variant="outline">
|
||||||
|
Explore Docs <span aria-hidden="true">→</span>
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{/* ✅ Bottom horizontal line with spacing */}
|
||||||
|
<div className="w-full border-b border-gray-200" />
|
||||||
|
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -3,13 +3,15 @@ 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 { BentoSection } from './BentoSection'
|
||||||
import { AgentsHeroAlt } from './AgentsHeroAlt'
|
import { AgentHeroAlt } from './AgentHeroAlt'
|
||||||
|
import { CallToAction } from './CallToAction'
|
||||||
|
import { AgentComponents } from './AgentComponents'
|
||||||
|
|
||||||
export default function AgentsPage() {
|
export default function AgentsPage() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<AgentsHeroAlt />
|
<AgentHeroAlt />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
|
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
@@ -27,6 +29,14 @@ export default function AgentsPage() {
|
|||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<BentoSection />
|
<BentoSection />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
|
|
||||||
|
<AnimatedSection>
|
||||||
|
<AgentComponents />
|
||||||
|
</AnimatedSection>
|
||||||
|
|
||||||
|
<AnimatedSection>
|
||||||
|
<CallToAction />
|
||||||
|
</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',
|
||||||
|
|||||||
59
src/pages/agents/CallToAction.tsx
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
import { CircleBackground } from '../../components/CircleBackground'
|
||||||
|
import { Container } from '@/components/Container'
|
||||||
|
import { Button } from '@/components/Button'
|
||||||
|
|
||||||
|
export function CallToAction() {
|
||||||
|
return (
|
||||||
|
<section
|
||||||
|
id="get-started"
|
||||||
|
className="relative overflow-hidden bg-gray-900 py-20 sm:py-28"
|
||||||
|
>
|
||||||
|
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
||||||
|
<CircleBackground color="#06b6d4" className="animate-spin-slower" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<Container className="relative">
|
||||||
|
<div className="mx-auto max-w-2xl text-center">
|
||||||
|
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
|
||||||
|
Start Building the Future of Sovereign AI
|
||||||
|
</h2>
|
||||||
|
<p className="mt-6 text-lg text-gray-300">
|
||||||
|
Use today’s components — models, storage, compute, mesh —
|
||||||
|
and step into agents as they arrive.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
|
||||||
|
<Button
|
||||||
|
as="a"
|
||||||
|
to="/deploy"
|
||||||
|
variant="solid"
|
||||||
|
color="white"
|
||||||
|
>
|
||||||
|
Deploy a Model
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button
|
||||||
|
as="a"
|
||||||
|
to="/host"
|
||||||
|
variant="outline"
|
||||||
|
color="white"
|
||||||
|
>
|
||||||
|
Host a Node
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Button
|
||||||
|
as="a"
|
||||||
|
to="https://threefold.info/mycelium_network/docs/"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
variant="outline"
|
||||||
|
color="white"
|
||||||
|
>
|
||||||
|
Follow Development
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Container>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -55,12 +55,12 @@ export function DeploySection() {
|
|||||||
transition={{ duration: 0.6, ease: "easeOut", delay: 0.1 }}
|
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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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-gray-900">
|
||||||
|
{/* ✅ Top horizontal line with spacing */}
|
||||||
|
<div className="max-w-7xl bg-[#090909] mx-auto py-6 border border-t-0 border-b-0 border-gray-700"></div>
|
||||||
|
<div className="w-full border-t border-l border-r border-gray-700" />
|
||||||
|
|
||||||
|
{/* ✅ Main boxed area */}
|
||||||
|
<div
|
||||||
|
id="get-started"
|
||||||
|
className="relative py-18 max-w-7xl mx-auto bg-[#090909] border border-t-0 border-b-0 border-gray-700"
|
||||||
|
>
|
||||||
|
|
||||||
|
|
||||||
|
<Container className="relative">
|
||||||
|
<div className="mx-auto max-w-3xl text-center">
|
||||||
|
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
|
||||||
|
Choose How You Want to Start
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<p className="mt-6 text-lg text-gray-300">
|
||||||
|
Host your own node to contribute capacity or deploy workloads using the Mycelium Cloud.
|
||||||
|
You don’t need to host before deploying, and you don’t need to deploy before hosting.
|
||||||
|
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{/* ✅ Two cards, stacked center with spacing */}
|
||||||
|
<div className="mt-10 flex flex-wrap justify-center gap-x-10 gap-y-8">
|
||||||
|
<div className="flex flex-col items-center text-center max-w-xs">
|
||||||
|
<Button to="/host" variant="solid" color="cyan" className="mt-4">
|
||||||
|
Host a Node
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="flex flex-col items-center text-center max-w-xs">
|
||||||
|
<Button to="/cloud" variant="outline" color="white" className="mt-4">
|
||||||
|
Start Deploying
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</Container>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* ✅ Bottom horizontal line with spacing */}
|
||||||
|
<div className="w-full border-b border-gray-700" />
|
||||||
|
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-700 bg-transparent" />
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,92 +1,90 @@
|
|||||||
import { Container } from '../../components/Container'
|
'use client';
|
||||||
import { Eyebrow, SectionHeader, 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 sm: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-3xl 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">
|
||||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
How Mycelium Cloud Works
|
||||||
Built on a sovereign, encrypted delivery mesh.
|
</H3>
|
||||||
</SectionHeader>
|
|
||||||
<P className="mt-6 text-gray-600">
|
<P className="mt-6 text-lg text-gray-300">
|
||||||
Mycelium Cloud rides on the ThreeFold Grid, pairing encrypted mesh
|
Mycelium Cloud runs Kubernetes on a global encrypted mesh, with
|
||||||
networking with deterministic K3s orchestration. Every layer is
|
identity, routing, and state verified at the protocol level.
|
||||||
designed to keep workloads sovereign, observable, and effortless to
|
|
||||||
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-white 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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
61
src/pages/cloud/CloudBluePrint.tsx
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import { Container } from "@/components/Container";
|
||||||
|
import { H3, P, Eyebrow } from "@/components/Texts";
|
||||||
|
|
||||||
|
export function CloudBluePrint() {
|
||||||
|
const logos = [
|
||||||
|
{ src: '/images/logo/cryptpad.png', href: 'https://cryptpad.fr' },
|
||||||
|
{ src: '/images/logo/gitea.png', href: 'https://about.gitea.com' },
|
||||||
|
{ src: '/images/logo/lifekit.png', href: '#' }, // No link available
|
||||||
|
{ src: '/images/logo/matrix.png', href: 'https://matrix.org' },
|
||||||
|
{ src: '/images/logo/nextcloud.png', href: 'https://nextcloud.com' },
|
||||||
|
{ src: '/images/logo/stalwart.png', href: 'https://stalw.art' },
|
||||||
|
];
|
||||||
|
|
||||||
|
return (
|
||||||
|
<section className="w-full max-w-8xl mx-auto bg-transparent">
|
||||||
|
|
||||||
|
{/* ✅ Boxed container */}
|
||||||
|
<div className="max-w-7xl bg-white mx-auto pb-12 border border-t-0 border-b-0 border-gray-200">
|
||||||
|
<Container>
|
||||||
|
<div className="mx-auto max-w-4xl sm:text-center">
|
||||||
|
<Eyebrow className="text-cyan-500">Featured Blueprint</Eyebrow>
|
||||||
|
|
||||||
|
<H3 className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900 mt-2">
|
||||||
|
Your Personal Sovereign Cloud Workspace
|
||||||
|
</H3>
|
||||||
|
|
||||||
|
<P className="mt-6 text-lg text-gray-600">
|
||||||
|
Digital Me is an example environment built to demonstrate what’s possible on top of the Mycelium Stack — a full personal cloud you can deploy, customize, or extend. Your files, communication, apps, and optional AI agent, all running privately on infrastructure you choose.
|
||||||
|
</P>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* ✅ 3x2 logo grid */}
|
||||||
|
<div className="mt-12 grid grid-cols-3 gap-x-8 gap-y-12">
|
||||||
|
{logos.map((logo, i) => (
|
||||||
|
<div key={i} className="flex justify-center">
|
||||||
|
<a
|
||||||
|
href={logo.href}
|
||||||
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
|
className="transition-transform duration-300 hover:scale-105"
|
||||||
|
>
|
||||||
|
<img
|
||||||
|
src={logo.src}
|
||||||
|
alt={`Logo ${i + 1}`}
|
||||||
|
className="max-h-12 w-auto object-contain"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</Container>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* ✅ Bottom line + bottom spacer */}
|
||||||
|
<div className="w-full border-b border-gray-200" />
|
||||||
|
<div className="max-w-7xl mx-auto py-6 border border-t-0 border-b-0 border-gray-200 bg-transparent" />
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -11,7 +11,6 @@ import {
|
|||||||
} from 'framer-motion'
|
} from 'framer-motion'
|
||||||
import { useDebouncedCallback } from 'use-debounce'
|
import { useDebouncedCallback } from 'use-debounce'
|
||||||
|
|
||||||
import { AppScreen } from '../network/AppScreen'
|
|
||||||
import {
|
import {
|
||||||
Eyebrow,
|
Eyebrow,
|
||||||
FeatureDescription,
|
FeatureDescription,
|
||||||
@@ -20,13 +19,11 @@ import {
|
|||||||
P,
|
P,
|
||||||
SectionHeader,
|
SectionHeader,
|
||||||
} from '@/components/Texts'
|
} from '@/components/Texts'
|
||||||
import { CircleBackground } from '@/components/CircleBackground'
|
|
||||||
import { Container } from '@/components/Container'
|
import { Container } from '@/components/Container'
|
||||||
|
|
||||||
import connectorImg from '@/images/connector.png'
|
import reservenodeimg from '/images/cloud/reserve.png'
|
||||||
import peersImg from '@/images/peers.png'
|
import billingImg from '/images/cloud/billing.png'
|
||||||
import settingImg from '@/images/setting.png'
|
import kubeconfigImg from '/images/cloud/kubeconfig.png'
|
||||||
import { PhoneFrame } from '@/components/PhoneFrame'
|
|
||||||
|
|
||||||
|
|
||||||
interface CustomAnimationProps {
|
interface CustomAnimationProps {
|
||||||
@@ -36,25 +33,25 @@ interface CustomAnimationProps {
|
|||||||
|
|
||||||
const features = [
|
const features = [
|
||||||
{
|
{
|
||||||
name: 'Mycelium Connector',
|
name: 'Decentralized Kubernetes',
|
||||||
description:
|
description:
|
||||||
"Start (and stop) your Mycelium connector to gain access to sites, apps, and workloads available exclusively on the Mycelium Network. View statistics around peers and traffic.",
|
"Reserve a node and deploy sovereign Kubernetes clusters on decentralized infrastructure.",
|
||||||
icon: DeviceUserIcon,
|
icon: DeviceUserIcon,
|
||||||
screen: InviteScreen,
|
screen: ReserveNodeScreen,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Mycelium Peers',
|
name: 'Manage Your Cluster',
|
||||||
description:
|
description:
|
||||||
'Search and discover active peers on the Mycelium Network, or add your own.',
|
'Manage your cluster with ease, with a simple and intuitive interface.',
|
||||||
icon: DeviceNotificationIcon,
|
icon: DeviceNotificationIcon,
|
||||||
screen: StocksScreen,
|
screen: ManageClusterScreen,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Network Setting',
|
name: 'Personalised Billings & Accounts',
|
||||||
description:
|
description:
|
||||||
'Find version and network information and trigger light or dark mode.',
|
'Easily manage your cluster billing and accounts with personalised configurations.',
|
||||||
icon: DeviceTouchIcon,
|
icon: DeviceTouchIcon,
|
||||||
screen: InvestScreen,
|
screen: PersonalisedBillingsScreen,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -182,28 +179,40 @@ const bodyAnimation: MotionProps = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function InviteScreen() {
|
function ReserveNodeScreen() {
|
||||||
return (
|
return (
|
||||||
<AppScreen className="w-full">
|
<img
|
||||||
<img src={connectorImg} alt="Mycelium Connector" width="366" height="732" className="-mt-8" />
|
src={reservenodeimg}
|
||||||
</AppScreen>
|
alt="Mycelium Reserve Node"
|
||||||
)
|
width={2432}
|
||||||
|
height={1442}
|
||||||
|
className="w-4xl max-w-none rounded-xl shadow-2xl ring-1 ring-gray-400/10 sm:w-240 md:-ml-32 lg:-ml-32"
|
||||||
|
/>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function StocksScreen() {
|
function ManageClusterScreen() {
|
||||||
return (
|
return (
|
||||||
<AppScreen className="w-full">
|
<img
|
||||||
<img src={peersImg} alt="Mycelium Peers" width="366" height="732" className="-mt-8" />
|
src={kubeconfigImg}
|
||||||
</AppScreen>
|
alt="Mycelium Kubeconfig"
|
||||||
)
|
width={2432}
|
||||||
|
height={1442}
|
||||||
|
className="w-4xl max-w-none rounded-xl shadow-2xl ring-1 ring-gray-400/10 sm:w-240 md:-ml-32 lg:-ml-32"
|
||||||
|
/>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function InvestScreen() {
|
function PersonalisedBillingsScreen() {
|
||||||
return (
|
return (
|
||||||
<AppScreen className="w-full">
|
<img
|
||||||
<img src={settingImg} alt="Mycelium Settings" width="366" height="732" className="-mt-8" />
|
src={billingImg}
|
||||||
</AppScreen>
|
alt="Mycelium Billing"
|
||||||
)
|
width={2432}
|
||||||
|
height={1442}
|
||||||
|
className="w-4xl max-w-none rounded-xl shadow-2xl ring-1 ring-gray-400/10 sm:w-240 md:-ml-32 lg:-ml-32"
|
||||||
|
/>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function usePrevious<T>(value: T) {
|
function usePrevious<T>(value: T) {
|
||||||
@@ -216,7 +225,7 @@ function usePrevious<T>(value: T) {
|
|||||||
return ref.current
|
return ref.current
|
||||||
}
|
}
|
||||||
|
|
||||||
function FeaturesDesktop() {
|
function CloudFeaturesDesktop() {
|
||||||
let [changeCount, setChangeCount] = useState(0)
|
let [changeCount, setChangeCount] = useState(0)
|
||||||
let [selectedIndex, setSelectedIndex] = useState(0)
|
let [selectedIndex, setSelectedIndex] = useState(0)
|
||||||
let prevIndex = usePrevious(selectedIndex)
|
let prevIndex = usePrevious(selectedIndex)
|
||||||
@@ -238,12 +247,12 @@ function FeaturesDesktop() {
|
|||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
vertical
|
vertical
|
||||||
>
|
>
|
||||||
<TabList className="z-10 order-last col-span-6 space-y-6">
|
<TabList className="z-10 col-span-6 space-y-6 pl-4 sm:pl-6 lg:pl-8">
|
||||||
{features.map((feature, featureIndex) => (
|
{features.map((feature, featureIndex) => (
|
||||||
<div
|
<div
|
||||||
key={feature.name}
|
key={feature.name}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'relative rounded-2xl outline-2 transition-all duration-300 ease-in-out hover:scale-105 hover:bg-gray-800/30',
|
'relative rounded-2xl outline-2 transition-all duration-300 ease-in-out hover:scale-105 hover:bg-gray-800/30 ml-16',
|
||||||
selectedIndex === featureIndex
|
selectedIndex === featureIndex
|
||||||
? 'outline-cyan-500'
|
? 'outline-cyan-500'
|
||||||
: 'outline-transparent hover:outline-cyan-500',
|
: 'outline-transparent hover:outline-cyan-500',
|
||||||
@@ -252,7 +261,7 @@ function FeaturesDesktop() {
|
|||||||
{featureIndex === selectedIndex && (
|
{featureIndex === selectedIndex && (
|
||||||
<motion.div
|
<motion.div
|
||||||
layoutId="activeBackground"
|
layoutId="activeBackground"
|
||||||
className="absolute inset-0 bg-gray-800"
|
className="absolute inset-0 bg-gray-800 "
|
||||||
initial={{ borderRadius: 16 }}
|
initial={{ borderRadius: 16 }}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
@@ -271,11 +280,8 @@ function FeaturesDesktop() {
|
|||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</TabList>
|
</TabList>
|
||||||
<div className="relative col-span-6">
|
<div className="relative col-span-6 overflow-hidden">
|
||||||
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
<div className="z-10 mx-auto w-full max-w-[366px]">
|
||||||
<CircleBackground id="primaryfeatures_desktop_circle" color="#13B5C8" className="animate-spin-slower" />
|
|
||||||
</div>
|
|
||||||
<PhoneFrame className="z-10 mx-auto w-full max-w-[366px]">
|
|
||||||
<TabPanels as={Fragment}>
|
<TabPanels as={Fragment}>
|
||||||
<AnimatePresence
|
<AnimatePresence
|
||||||
initial={false}
|
initial={false}
|
||||||
@@ -296,13 +302,13 @@ function FeaturesDesktop() {
|
|||||||
)}
|
)}
|
||||||
</AnimatePresence>
|
</AnimatePresence>
|
||||||
</TabPanels>
|
</TabPanels>
|
||||||
</PhoneFrame>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</TabGroup>
|
</TabGroup>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
function FeaturesMobile() {
|
function CloudFeaturesMobile() {
|
||||||
let [activeIndex, setActiveIndex] = useState(0)
|
let [activeIndex, setActiveIndex] = useState(0)
|
||||||
let slideContainerRef = useRef<React.ElementRef<'div'>>(null)
|
let slideContainerRef = useRef<React.ElementRef<'div'>>(null)
|
||||||
let slideRefs = useRef<Array<React.ElementRef<'div'>>>([])
|
let slideRefs = useRef<Array<React.ElementRef<'div'>>>([])
|
||||||
@@ -348,23 +354,16 @@ function FeaturesMobile() {
|
|||||||
>
|
>
|
||||||
<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',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
<div className="relative mx-auto w-full max-w-[366px]">
|
||||||
<CircleBackground
|
|
||||||
id={`primaryfeatures_mobile_circle_${featureIndex}`}
|
|
||||||
color="#13B5C8"
|
|
||||||
className={featureIndex % 2 === 1 ? 'rotate-180' : undefined}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<PhoneFrame className="relative mx-auto w-full max-w-[366px]">
|
|
||||||
<feature.screen />
|
<feature.screen />
|
||||||
</PhoneFrame>
|
</div>
|
||||||
<div className="absolute inset-x-0 bottom-0 bg-gray-800/95 p-6 backdrop-blur-sm sm:p-10">
|
<div className="absolute inset-x-0 bottom-0 bg-gray-800 p-6 backdrop-blur-sm sm:p-10">
|
||||||
<feature.icon className="h-8 w-8" />
|
<feature.icon className="h-8 w-8" />
|
||||||
<MobileFeatureTitle color="white" className="mt-6">
|
<MobileFeatureTitle color="white" className="mt-6">
|
||||||
{feature.name}
|
{feature.name}
|
||||||
@@ -384,7 +383,7 @@ function FeaturesMobile() {
|
|||||||
key={featureIndex}
|
key={featureIndex}
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'relative h-0.5 w-4 rounded-full',
|
'relative h-0.5 w-4 rounded-full',
|
||||||
featureIndex === activeIndex ? 'bg-gray-300' : 'bg-gray-500',
|
featureIndex === activeIndex ? 'bg-gray-600' : 'bg-gray-700',
|
||||||
)}
|
)}
|
||||||
aria-label={`Go to slide ${featureIndex + 1}`}
|
aria-label={`Go to slide ${featureIndex + 1}`}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -405,29 +404,27 @@ function FeaturesMobile() {
|
|||||||
export function CloudFeatures() {
|
export function CloudFeatures() {
|
||||||
return (
|
return (
|
||||||
<section
|
<section
|
||||||
id="howitworks"
|
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-gray-900 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">
|
||||||
<Eyebrow color="accent">How It Works</Eyebrow>
|
<Eyebrow color="accent">Platform Overview</Eyebrow>
|
||||||
<SectionHeader color="white" className="mt-2">
|
<SectionHeader color="white" className="mt-2">
|
||||||
How Mycelium Operates
|
A Decentralized Cloud that Operates Itself
|
||||||
</SectionHeader>
|
</SectionHeader>
|
||||||
<P color="light" className="mt-6">
|
<P color="light" className="mt-6">
|
||||||
Mycelium, like its natural namesake, thrives on decentralization,
|
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.
|
||||||
efficiency, and security, making it a truly powerful force in the world
|
|
||||||
of decentralized networks.
|
|
||||||
</P>
|
</P>
|
||||||
</div>
|
</div>
|
||||||
</Container>
|
</Container>
|
||||||
<div className="mt-16 md:hidden">
|
<div className="hidden md:mt-20 md:block">
|
||||||
<FeaturesMobile />
|
<CloudFeaturesDesktop />
|
||||||
|
</div>
|
||||||
|
<div className="mt-16 md:hidden">
|
||||||
|
<CloudFeaturesMobile />
|
||||||
</div>
|
</div>
|
||||||
<Container className="hidden md:mt-20 md:block">
|
|
||||||
<FeaturesDesktop />
|
|
||||||
</Container>
|
|
||||||
</section>
|
</section>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
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-200"></div>
|
||||||
|
<div className="w-full border-t border-l border-r border-gray-200" />
|
||||||
|
|
||||||
|
{/* ✅ Boxed container (border-x only) */}
|
||||||
|
<div className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-200 bg-white">
|
||||||
|
<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-200" />
|
||||||
|
|
||||||
|
{/* ✅ Bottom spacer matching hero */}
|
||||||
|
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -1,44 +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-200 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
||||||
style={{ backgroundImage: "url('/images/cloudhero3.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">
|
||||||
Deploy sovereign Kubernetes clusters on decentralized infrastructure.
|
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.
|
Deploy K3s clusters on a global, self-healing mesh network.
|
||||||
</H5>
|
Your workloads run on sovereign, encrypted infrastructure, without centralized cloud control.
|
||||||
<H5 className="mt-4 text-lg text-gray-600">
|
</p>
|
||||||
Launch verifiable clusters with nature-inspired networking, quantum-safe storage, and zero-image delivery that keeps every workload deterministic.
|
<p className="mt-4 lg:text-base italic text-gray-600 text-sm">
|
||||||
</H5>
|
Works Alone. Works Together.
|
||||||
|
Mycelium Cloud can run on any network fabric, or pair with Mycelium Network
|
||||||
|
for sovereign connectivity.
|
||||||
|
</p>
|
||||||
<div className="mt-10 flex items-center gap-x-6">
|
<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">
|
||||||
Explore Docs <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-200" />
|
||||||
|
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
65
src/pages/cloud/CloudHosting.tsx
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
import {
|
||||||
|
ArrowPathIcon,
|
||||||
|
CloudArrowUpIcon,
|
||||||
|
ServerIcon,
|
||||||
|
ShieldCheckIcon,
|
||||||
|
} from '@heroicons/react/24/outline'
|
||||||
|
import { CP, CT, Eyebrow, H3 } from '@/components/Texts'
|
||||||
|
|
||||||
|
const features = [
|
||||||
|
{
|
||||||
|
Eyebrow: 'DevOps / Cloud teams',
|
||||||
|
name: 'Kubernetes Clusters',
|
||||||
|
description: 'Deterministic K3s workloads across sovereign hardware.',
|
||||||
|
icon: ServerIcon,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Eyebrow: 'Security & infrastructure',
|
||||||
|
name: 'Encrypted Mesh Networking',
|
||||||
|
description: 'No public ingress, no exposed attack surface, zero-trust routing.',
|
||||||
|
icon: ShieldCheckIcon,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Eyebrow: 'Data-driven teams',
|
||||||
|
name: 'S3-Compatible Storage',
|
||||||
|
description: 'Distributed storage with erasure coding and residency control.',
|
||||||
|
icon: CloudArrowUpIcon,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Eyebrow: 'AI / ML workloads',
|
||||||
|
name: 'GPU-Ready',
|
||||||
|
description: 'Scale inference & training on demand.',
|
||||||
|
icon: ArrowPathIcon,
|
||||||
|
},
|
||||||
|
]
|
||||||
|
|
||||||
|
export function CloudHosting() {
|
||||||
|
return (
|
||||||
|
<div className="relative bg-white py-24 lg:py-32">
|
||||||
|
<div className="mx-auto max-w-md px-6 text-center sm:max-w-3xl lg:max-w-7xl lg:px-8">
|
||||||
|
<Eyebrow>CAPABILITIES</Eyebrow>
|
||||||
|
<H3 className="mt-2">What You Can Run on Mycelium Cloud</H3>
|
||||||
|
<div className="mt-16">
|
||||||
|
<div className="grid grid-cols-1 gap-12 lg:grid-cols-4">
|
||||||
|
{features.map((feature) => (
|
||||||
|
<div key={feature.name} className="relative">
|
||||||
|
<div className="flex h-full flex-col rounded-3xl border border-slate-200 bg-gray-50/25 p-8 pt-16 shadow-sm transition hover:-translate-y-1 hover:border-cyan-300 hover:shadow-lg">
|
||||||
|
<span className="absolute -top-6 left-1/2 -translate-x-1/2 transform rounded-xl bg-cyan-500 hover:bg-cyan-400 p-3 shadow-lg">
|
||||||
|
<feature.icon aria-hidden="true" className="size-8 text-white" />
|
||||||
|
</span>
|
||||||
|
<Eyebrow>{feature.Eyebrow}</Eyebrow>
|
||||||
|
<CT as="h3" className="mt-4">
|
||||||
|
{feature.name}
|
||||||
|
</CT>
|
||||||
|
<CP color="secondary" className="mt-4">
|
||||||
|
{feature.description}
|
||||||
|
</CP>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
103
src/pages/cloud/CloudHostingNew.tsx
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
'use client'
|
||||||
|
|
||||||
|
import {
|
||||||
|
Disclosure,
|
||||||
|
DisclosureButton,
|
||||||
|
DisclosurePanel,
|
||||||
|
} from '@headlessui/react'
|
||||||
|
import { MinusIcon, PlusIcon } from '@heroicons/react/24/outline'
|
||||||
|
|
||||||
|
import { Eyebrow, H3 } 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-600"></div>
|
||||||
|
<div className="w-full border-t border-l border-r border-gray-600" />
|
||||||
|
{/* ✅ MAIN CONTENT */}
|
||||||
|
<main className="mx-auto max-w-7xl px-6 lg:px-12 py-12 border border-t-0 border-b-0 border-gray-600">
|
||||||
|
<div className="mx-auto max-w-2xl lg:max-w-none">
|
||||||
|
|
||||||
|
{/* ✅ Product Section */}
|
||||||
|
<div className="lg:grid lg:grid-cols-2 lg:items-start lg:gap-x-8">
|
||||||
|
|
||||||
|
{/* ✅ Image */}
|
||||||
|
<img alt="Mycelium Cloud" src="/images/cloudhosting.webp" className="aspect-square w-[600px] object-cover" />
|
||||||
|
|
||||||
|
{/* ✅ Product info */}
|
||||||
|
<div className="mt-10 px-4 sm:mt-16 sm:px-0 lg:mt-0">
|
||||||
|
<Eyebrow>{product.subtitle}</Eyebrow>
|
||||||
|
<h3 className="lg:text-4xl text-3xl text-white">{product.name}</h3>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div className="mt-6 text-gray-300 text-xl"
|
||||||
|
dangerouslySetInnerHTML={{ __html: product.description }}
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
{/* ✅ Details accordion */}
|
||||||
|
<section className="mt-8">
|
||||||
|
<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-600" />
|
||||||
|
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-600"></div>
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -1,13 +1,12 @@
|
|||||||
import { AnimatedSection } from '../../components/AnimatedSection'
|
import { AnimatedSection } from '../../components/AnimatedSection'
|
||||||
import { CloudHero } from './CloudHero'
|
|
||||||
import { CloudOverview } from './CloudOverview'
|
|
||||||
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 { CloudBluePrint } from './CloudBluePrint'
|
||||||
|
import { CallToAction } from './CalltoAction'
|
||||||
|
import { CloudHostingNew } from './CloudHostingNew'
|
||||||
|
import { CloudFeaturesLight } from './CloudFeaturesLight'
|
||||||
|
|
||||||
|
|
||||||
export default function CloudPage() {
|
export default function CloudPage() {
|
||||||
return (
|
return (
|
||||||
@@ -16,26 +15,29 @@ export default function CloudPage() {
|
|||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<CloudHeroNew />
|
<CloudHeroNew />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
|
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<CloudOverview />
|
<CloudHostingNew />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
|
|
||||||
|
<AnimatedSection>
|
||||||
|
<CloudFeaturesLight />
|
||||||
|
</AnimatedSection>
|
||||||
|
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<CloudArchitecture />
|
<CloudArchitecture />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
<AnimatedSection>
|
|
||||||
<CloudFeatures />
|
|
||||||
</AnimatedSection>
|
|
||||||
<AnimatedSection>
|
|
||||||
<CloudGettingStarted />
|
|
||||||
</AnimatedSection>
|
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<CloudUseCases />
|
<CloudUseCases />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
|
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<SecurityPillars />
|
<CloudBluePrint />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
|
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<CloudCTA />
|
<CallToAction />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,75 +1,91 @@
|
|||||||
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 = [
|
||||||
{
|
{
|
||||||
title: 'AI / ML Training',
|
title: 'Enterprise & Private Kubernetes',
|
||||||
description:
|
description:
|
||||||
'Run GPU-accelerated workloads for deep learning, data science, and inference on demand.',
|
'Production-grade K3s clusters with full workload ownership and residency control. Deploy apps and internal services without vendor lock-in or exposed surfaces.',
|
||||||
bullets: ['GPU acceleration', 'Scalable compute', 'Cost optimization'],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Enterprise Kubernetes',
|
|
||||||
description:
|
|
||||||
'Operate production-grade clusters with complete control and no vendor lock-in.',
|
|
||||||
bullets: ['High availability', 'Security', 'Compliance'],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'Edge & IoT',
|
|
||||||
description:
|
|
||||||
'Leverage global nodes for low-latency workloads and connected device deployments.',
|
|
||||||
bullets: ['Low latency', 'Global distribution', 'Real-time processing'],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
title: 'DigitalMe Blueprint',
|
|
||||||
description:
|
|
||||||
'Launch a full digital workspace on Mycelium Cloud with pre-integrated services.',
|
|
||||||
bullets: [
|
bullets: [
|
||||||
'Cryptpad • Encrypted collaboration',
|
'High availability + failover',
|
||||||
'Elements • Matrix chat',
|
'Encrypted, mesh-native networking',
|
||||||
'Stallwart • Mail, calendar, contacts',
|
'Compliance-ready governance & policy control',
|
||||||
'Gitea • Git hosting',
|
],
|
||||||
'Nextcloud • File storage and sync',
|
},
|
||||||
'LiveKit / Jitsi • Real-time video',
|
{
|
||||||
'Single Sign-On backed by Gitea',
|
title: 'Edge & Distributed Deployments',
|
||||||
|
description:
|
||||||
|
'Place compute close to where data is created. Run clusters globally across home labs, offices, data centers, or edge locations.',
|
||||||
|
bullets: [
|
||||||
|
'Low-latency execution',
|
||||||
|
'Mesh-routed connectivity',
|
||||||
|
'Autonomous healing across region',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: 'AI / ML & Agent Workloads',
|
||||||
|
description:
|
||||||
|
'Run inference, training, and autonomous AI systems on sovereign compute. GPU orchestration, private vector storage, and model execution without handing data to hyperscalers.',
|
||||||
|
bullets: [
|
||||||
|
'Scales across nodes',
|
||||||
|
'Supports open-source & fine-tuned models',
|
||||||
|
'Built for agentic automation + RAG',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
export function CloudUseCases() {
|
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-200"></div>
|
||||||
|
<div className="w-full border-t border-l border-r border-gray-200" />
|
||||||
|
|
||||||
|
{/* ✅ Inner boxed container */}
|
||||||
|
<div className="max-w-7xl bg-white mx-auto py-12 border border-t-0 border-b-0 border-gray-200">
|
||||||
<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-200 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
|
||||||
@@ -81,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-200" />
|
||||||
|
<div className="max-w-7xl bg-transparent mx-auto py-6 border border-t-0 border-b-0 border-gray-200"></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 (
|
||||||
0
src/pages/cloud/archive/CloudDesign.tsx
Normal file
@@ -1,5 +1,5 @@
|
|||||||
import { Container } from '../../components/Container'
|
import { Container } from '@/components/Container'
|
||||||
import { Eyebrow, SectionHeader, P, Small } from '../../components/Texts'
|
import { Eyebrow, SectionHeader, P, Small } from '@/components/Texts'
|
||||||
|
|
||||||
type Step = {
|
type Step = {
|
||||||
number: string
|
number: string
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
import { useId } from 'react'
|
import { useId } from 'react'
|
||||||
|
|
||||||
import { Button } from '../../components/Button'
|
import { Button } from '@/components/Button'
|
||||||
import { Container } from '../../components/Container'
|
import { Container } from '@/components/Container'
|
||||||
import { Eyebrow, SectionHeader, P } from '../../components/Texts'
|
import { Eyebrow, H2, P, H5 } from '@/components/Texts'
|
||||||
|
|
||||||
function BackgroundIllustration(props: React.ComponentPropsWithoutRef<'div'>) {
|
function BackgroundIllustration(props: React.ComponentPropsWithoutRef<'div'>) {
|
||||||
const id = useId()
|
const id = useId()
|
||||||
@@ -82,16 +82,16 @@ export function CloudHero() {
|
|||||||
<Eyebrow className="tracking-[0.35em] uppercase text-cyan-500">
|
<Eyebrow className="tracking-[0.35em] uppercase text-cyan-500">
|
||||||
Mycelium Cloud
|
Mycelium Cloud
|
||||||
</Eyebrow>
|
</Eyebrow>
|
||||||
<SectionHeader as="h1" className="mt-6 text-gray-900">
|
<H2 as="h1" className="mt-6 text-gray-900">
|
||||||
Deploy sovereign Kubernetes clusters on decentralized
|
Deploy sovereign Kubernetes clusters on decentralized
|
||||||
infrastructure.
|
infrastructure.
|
||||||
</SectionHeader>
|
</H2>
|
||||||
<P className="mt-6 text-gray-600">
|
<H5 className="mt-6 text-gray-600">
|
||||||
Mycelium Cloud turns the ThreeFold Grid into a programmable
|
Mycelium Cloud turns the ThreeFold Grid into a programmable
|
||||||
substrate for K3s. Launch verifiable clusters with nature-inspired
|
substrate for K3s. Launch verifiable clusters with nature-inspired
|
||||||
networking, quantum-safe storage, and zero-image delivery that
|
networking, quantum-safe storage, and zero-image delivery that
|
||||||
keeps every workload deterministic.
|
keeps every workload deterministic.
|
||||||
</P>
|
</H5>
|
||||||
<P className="mt-6 text-gray-500">
|
<P className="mt-6 text-gray-500">
|
||||||
Developer guide to decentralized cloud computing.
|
Developer guide to decentralized cloud computing.
|
||||||
</P>
|
</P>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
'use client'
|
'use client'
|
||||||
|
|
||||||
import { Button } from '../../components/Button'
|
import { Button } from '@/components/Button'
|
||||||
|
|
||||||
export function CloudHeroAlt() {
|
export function CloudHeroAlt() {
|
||||||
return (
|
return (
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
import { CircleBackground } from '../../components/CircleBackground'
|
import { CircleBackground } from '@/components/CircleBackground'
|
||||||
import { Container } from '../../components/Container'
|
import { Container } from '@/components/Container'
|
||||||
import { Eyebrow, SectionHeader, P, Small } from '../../components/Texts'
|
import { Eyebrow, SectionHeader, P, Small } from '@/components/Texts'
|
||||||
|
|
||||||
const focusAreas = [
|
const focusAreas = [
|
||||||
{
|
{
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Container } from '../../components/Container'
|
import { Container } from '@/components/Container'
|
||||||
|
|
||||||
const computeFeatures = [
|
const computeFeatures = [
|
||||||
{
|
{
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
import { CircleBackground } from '../../components/CircleBackground'
|
import { CircleBackground } from '@/components/CircleBackground'
|
||||||
import { Container } from '../../components/Container'
|
import { Container } from '@/components/Container'
|
||||||
import { Eyebrow, SectionHeader, P, Small } from '../../components/Texts'
|
import { Eyebrow, SectionHeader, P, Small } from '@/components/Texts'
|
||||||
|
|
||||||
const differentiators = [
|
const differentiators = [
|
||||||
{
|
{
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
import { CircleBackground } from '../../components/CircleBackground'
|
import { CircleBackground } from '../../components/CircleBackground'
|
||||||
import { Container } from '../../components/Container'
|
import { Container } from '@/components/Container'
|
||||||
import { Button } from '../../components/Button'
|
import { Button } from '@/components/Button'
|
||||||
|
|
||||||
export function CallToAction() {
|
export function CallToAction() {
|
||||||
return (
|
return (
|
||||||
@@ -14,14 +14,16 @@ export function CallToAction() {
|
|||||||
<Container className="relative">
|
<Container className="relative">
|
||||||
<div className="mx-auto max-w-2xl text-center">
|
<div className="mx-auto max-w-2xl text-center">
|
||||||
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
|
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
|
||||||
Get Started Today
|
Choose How You Want to Start
|
||||||
</h2>
|
</h2>
|
||||||
<p className="mt-6 text-lg text-gray-300">
|
<p className="mt-6 text-lg text-gray-300">
|
||||||
Download the Mycelium app and step into the future of secure, peer-to-peer networking; fast, private, and decentralized.
|
Run workloads using Mycelium Cloud, or host your own compute node.
|
||||||
|
Both use the same deterministic execution fabric.
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
|
<div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
|
||||||
<Button to="/download" variant="solid" color="white">
|
<Button to="/download" variant="solid" color="white">
|
||||||
Get Mycelium Connector
|
Deploy Workloads
|
||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
to="https://threefold.info/mycelium_network/docs/"
|
to="https://threefold.info/mycelium_network/docs/"
|
||||||
@@ -30,7 +32,7 @@ export function CallToAction() {
|
|||||||
variant="outline"
|
variant="outline"
|
||||||
color="white"
|
color="white"
|
||||||
>
|
>
|
||||||
Read Docs
|
Host A Node
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,92 +1,53 @@
|
|||||||
import { Container } from '../../components/Container'
|
import {
|
||||||
import { Eyebrow, SectionHeader, P } from '../../components/Texts'
|
LockClosedIcon,
|
||||||
|
CpuChipIcon,
|
||||||
|
AdjustmentsHorizontalIcon,
|
||||||
|
} from '@heroicons/react/24/solid'
|
||||||
|
import { Container } from '@/components/Container'
|
||||||
|
import { Eyebrow, H3, CT, CP } from '@/components/Texts'
|
||||||
|
|
||||||
const architectureSections = [
|
const architecture = [
|
||||||
{
|
{
|
||||||
title: 'Deterministic Computing',
|
name: 'Mesh Networking',
|
||||||
description:
|
description: 'Secure connectivity across all nodes.',
|
||||||
'Every computational step is predictable and provable before it ever executes.',
|
icon: LockClosedIcon,
|
||||||
bullets: [
|
|
||||||
'Cryptographic verification precedes every operation.',
|
|
||||||
'State determinism ensures identical results from identical inputs.',
|
|
||||||
'Tamper resistance surfaces any modification instantly.',
|
|
||||||
'Comprehensive audit trails verify the full execution history.',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Stateless Infrastructure',
|
name: 'Sovereign Compute',
|
||||||
description:
|
description: 'Execution only on hardware you control.',
|
||||||
'A global substrate that scales and recovers without hardware-bound state.',
|
icon: CpuChipIcon,
|
||||||
bullets: [
|
|
||||||
'No persistent state coupled to specific hardware or regions.',
|
|
||||||
'Global distribution makes compute available wherever it is needed.',
|
|
||||||
'Auto-scaling allocates the right resources at the right time.',
|
|
||||||
'Fault-tolerant orchestration provides automatic failover.',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'Zero-Image System',
|
name: 'Deterministic Orchestration',
|
||||||
description:
|
description: 'Workloads deploy and update predictably.',
|
||||||
'Metadata-first delivery keeps deployments lightweight and instantly repeatable.',
|
icon: AdjustmentsHorizontalIcon,
|
||||||
bullets: [
|
|
||||||
'Images represented as metadata instead of heavyweight artifacts.',
|
|
||||||
'Instant deployment for rapid workload startup.',
|
|
||||||
'Efficient storage with minimal footprint for artifacts.',
|
|
||||||
'Bandwidth-optimized transfers shrink delivery times.',
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
export function ComputeArchitecture() {
|
export function ComputeArchitecture() {
|
||||||
return (
|
return (
|
||||||
<section className="bg-gray-50 py-24 sm:py-32">
|
<section className="bg-white py-24 sm:py-32">
|
||||||
<Container>
|
<Container>
|
||||||
<div className="mx-auto max-w-3xl text-center">
|
<div className="mx-auto max-w-3xl text-center">
|
||||||
<Eyebrow className="tracking-[0.28em] uppercase text-cyan-500">
|
<Eyebrow>ARCHITECTURE</Eyebrow>
|
||||||
Technical Architecture
|
<H3 className="mt-4 text-gray-900">HOW IT WORKS</H3>
|
||||||
</Eyebrow>
|
|
||||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
|
||||||
Infrastructure engineered for provable outcomes.
|
|
||||||
</SectionHeader>
|
|
||||||
<P className="mt-6 text-gray-600">
|
|
||||||
Deterministic computing, stateless orchestration, and metadata-first
|
|
||||||
delivery combine to create a compute fabric you can trust with your
|
|
||||||
most sensitive workloads.
|
|
||||||
</P>
|
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-16 grid gap-8 lg:grid-cols-3">
|
|
||||||
{architectureSections.map((section) => (
|
<div className="mx-auto mt-16 max-w-5xl">
|
||||||
<div
|
<dl className="grid grid-cols-1 gap-12 text-gray-600 sm:grid-cols-2 lg:grid-cols-3">
|
||||||
key={section.title}
|
{architecture.map((item) => (
|
||||||
className="flex h-full flex-col rounded-3xl border border-cyan-100 bg-white p-8 shadow-sm transition hover:-translate-y-1 hover:border-cyan-300 hover:shadow-lg"
|
<div key={item.name} className="relative pl-12">
|
||||||
>
|
<item.icon
|
||||||
<div className="flex items-center gap-3">
|
aria-hidden="true"
|
||||||
<span className="inline-flex size-10 items-center justify-center rounded-full bg-cyan-500/10 text-sm font-semibold uppercase tracking-[0.25em] text-cyan-600">
|
className="absolute left-0 top-1 size-6 text-cyan-600"
|
||||||
•
|
/>
|
||||||
</span>
|
<CT className="font-semibold text-gray-900">{item.name}</CT>
|
||||||
<h3 className="text-xl font-semibold text-gray-900">
|
<CP className="mt-1 text-gray-600">{item.description}</CP>
|
||||||
{section.title}
|
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
<p className="mt-4 text-sm leading-relaxed text-gray-600">
|
|
||||||
{section.description}
|
|
||||||
</p>
|
|
||||||
<ul className="mt-6 space-y-3 text-sm text-gray-600">
|
|
||||||
{section.bullets.map((bullet) => (
|
|
||||||
<li
|
|
||||||
key={bullet}
|
|
||||||
className="flex items-start gap-3 rounded-2xl border border-slate-200 bg-slate-50 p-3 leading-relaxed"
|
|
||||||
>
|
|
||||||
<span className="mt-1 inline-block size-2 rounded-full bg-cyan-500" />
|
|
||||||
<span>{bullet}</span>
|
|
||||||
</li>
|
|
||||||
))}
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
</Container>
|
</Container>
|
||||||
</section>
|
</section>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||