Compare commits
15 Commits
developmen
...
26ae2f156a
| Author | SHA1 | Date | |
|---|---|---|---|
| 26ae2f156a | |||
| 33c940c604 | |||
| 0837a8313c | |||
| b311cb22a4 | |||
| b987f1a072 | |||
| dd4eba2215 | |||
| ea1ef853f1 | |||
| 5b05dababb | |||
| ab5ac43793 | |||
| fb9250c365 | |||
| 04d08a4265 | |||
| 07f76639d2 | |||
| a59e09e8ed | |||
| 9f81561a86 | |||
| c0cbe7e6bf |
252
README.md
@@ -1,93 +1,195 @@
|
||||
# Project Mycelium Website
|
||||
|
||||
A multi-page website for Project Mycelium built with React, Vite, TypeScript, and Tailwind CSS.
|
||||
All in one project mycelium website
|
||||
|
||||
## Tech Stack
|
||||
|
||||
- **Framework**: React 19
|
||||
- **Build Tool**: Vite 7
|
||||
- **Repository:** [https://git.ourworld.tf/ourworld_web/www_projectmycelium_com/](https://git.ourworld.tf/ourworld_web/www_projectmycelium_com/)
|
||||
|
||||
|
||||
- **Main Branch (Production):** [https://www.projectmycelium.com/](https://www.projectmycelium.com)
|
||||
- **Dev Branch (Staging):** [https://www2.projectmycelium.com/](https://www2.projectmycelium.com/)
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
## About
|
||||
|
||||
|
||||
This is the official website for Mycelium , built using Vite.js and Tailwind CSS.
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
## Technologies
|
||||
|
||||
|
||||
- **Framework**: Vite.js (React)
|
||||
- **Language**: TypeScript
|
||||
- **Styling**: Tailwind CSS 4
|
||||
- **Routing**: React Router DOM 7
|
||||
- **Animations**: Framer Motion 11
|
||||
- **Styling**: Tailwind CSS
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
src/
|
||||
├── components/ # Shared components
|
||||
│ ├── AnimatedSection.tsx
|
||||
│ ├── Button.tsx
|
||||
│ ├── CircleBackground.tsx
|
||||
│ ├── Container.tsx
|
||||
│ ├── Header.tsx
|
||||
│ ├── Layout.tsx
|
||||
│ └── Logo.tsx
|
||||
├── pages/ # Page-specific components
|
||||
│ ├── home/ # Home page blocks
|
||||
│ ├── cloud/ # Cloud page blocks
|
||||
│ ├── network/ # Network page blocks
|
||||
│ │ ├── animations/ # SVG animations
|
||||
│ │ ├── Hero.tsx
|
||||
│ │ ├── About.tsx
|
||||
│ │ ├── Features.tsx
|
||||
│ │ ├── PrimaryFeatures.tsx
|
||||
│ │ ├── SecondaryFeatures.tsx
|
||||
│ │ ├── CallToAction.tsx
|
||||
│ │ └── NetworkPage.tsx
|
||||
│ └── agents/ # Agents page blocks
|
||||
├── styles/
|
||||
│ └── tailwind.css # Tailwind configuration
|
||||
└── App.tsx # Main app with routing
|
||||
```
|
||||
---
|
||||
|
||||
## Pages
|
||||
|
||||
- **Home** (`/`) - Main landing page with placeholder content
|
||||
- **Cloud** (`/cloud`) - Mycelium Cloud information (placeholder)
|
||||
- **Network** (`/network`) - Full Network page with:
|
||||
- Hero section
|
||||
- Our Mission (About)
|
||||
- Core Components (Features with animations)
|
||||
- How It Works
|
||||
- Roadmap
|
||||
- Call to Action
|
||||
- **Agents** (`/agents`) - Mycelium Agents information (placeholder)
|
||||
## Dependencies
|
||||
|
||||
## Development
|
||||
- **@emailjs/browser**: ^4.4.1
|
||||
- **@headlessui/react**: ^2.2.9
|
||||
- **@heroicons/react**: ^2.2.0
|
||||
- **@lobehub/icons**: ^1.97.2
|
||||
- **@radix-ui/react-icons**: ^1.3.2
|
||||
- **@react-three/drei**: ^9.89.2
|
||||
- **@react-three/fiber**: ^8.15.12
|
||||
- **@tabler/icons-react**: ^3.35.0
|
||||
- **@tailwindcss/forms**: ^0.5.10
|
||||
- **@types/node**: ^20.19.23
|
||||
- **@types/react**: ^18.3.26
|
||||
- **@types/react-dom**: ^18.3.7
|
||||
- **@types/react-router-dom**: ^5.3.3
|
||||
- **class-variance-authority**: ^0.7.1
|
||||
- **clsx**: ^2.1.1
|
||||
- **cobe**: ^0.6.5
|
||||
- **dotted-map**: ^2.2.3
|
||||
- **framer-motion**: ^10.18.0
|
||||
- **lucide-react**: ^0.544.0
|
||||
- **motion**: ^12.23.24
|
||||
- **popmotion**: ^11.0.5
|
||||
- **react**: ^18.3.1
|
||||
- **react-countup**: ^6.5.3
|
||||
- **react-dom**: ^18.3.1
|
||||
- **react-icons**: ^5.5.0
|
||||
- **react-router-dom**: ^7.9.4
|
||||
- **react-type-animation**: ^3.2.0
|
||||
- **tailwind-merge**: ^3.3.1
|
||||
- **tailwindcss**: ^4.1.15
|
||||
- **three**: ^0.151.0
|
||||
- **typescript**: ^5.9.3
|
||||
- **use-debounce**: ^10.0.6
|
||||
|
||||
Install dependencies:
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
### Dev Dependencies
|
||||
|
||||
Run development server:
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
- **@tailwindcss/postcss**: ^4.1.15
|
||||
- **@types/three**: ^0.151.0
|
||||
- **@vitejs/plugin-react**: ^5.0.4
|
||||
- **autoprefixer**: ^10.4.20
|
||||
- **eslint**: ^8.57.1
|
||||
- **prettier**: ^3.6.2
|
||||
- **prettier-plugin-tailwindcss**: ^0.6.14
|
||||
- **sharp**: ^0.33.1
|
||||
- **tw-animate-css**: ^1.4.0
|
||||
- **vite**: ^7.1.7
|
||||
|
||||
Build for production:
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
---
|
||||
|
||||
Preview production build:
|
||||
```bash
|
||||
npm run preview
|
||||
```
|
||||
|
||||
## Styling
|
||||
## File Structure
|
||||
|
||||
The project follows the same styling conventions as the source Mycelium website:
|
||||
- **Font**: Inter (Google Fonts)
|
||||
- **Colors**: Custom gray scale and cyan accent
|
||||
- **Animations**: Framer Motion with reduced motion support
|
||||
- **Design**: Tailwind CSS with custom theme extensions
|
||||
|
||||
## Migration Notes
|
||||
- **Pages**: `src/pages`
|
||||
- **Components**: `src/components`
|
||||
- **Images**: `public/images`, `src/images`
|
||||
- **CSS**: `src/index.css`, `src/App.css`
|
||||
|
||||
This website consolidates multiple one-pager sites into a single multi-page application. The Network page contains fully migrated content from the original www_mycelium_net repository, including:
|
||||
- All animated SVG components
|
||||
- Responsive layouts
|
||||
- Hover effects and transitions
|
||||
- Accessibility features
|
||||
|
||||
---
|
||||
|
||||
|
||||
## Branding
|
||||
|
||||
|
||||
- **Font**: 'Mulish', 'Neuton'
|
||||
- **Logos**: `public/images/logo.svg`, `public/images/logomark.svg`
|
||||
|
||||
---
|
||||
|
||||
|
||||
## Get Started
|
||||
|
||||
|
||||
Follow these steps to get the project running locally:
|
||||
|
||||
|
||||
1. **Install Dependencies**:
|
||||
|
||||
`npm install`
|
||||
|
||||
2. **Build the Project**:
|
||||
|
||||
`npm run build`
|
||||
|
||||
3. **Start the Development Server**:
|
||||
|
||||
`npm run dev`
|
||||
|
||||
---
|
||||
|
||||
|
||||
## Development Guide
|
||||
|
||||
|
||||
This project follows a modular, component-based architecture. Pages are assembled by combining reusable components into a single layout.
|
||||
|
||||
|
||||
### Homepage Structure
|
||||
|
||||
|
||||
The homepage is composed of components from `src/components` and pages are defined in `src/pages`.
|
||||
|
||||
To edit a specific section of the homepage, navigate to `src/components/` and modify the corresponding component file.
|
||||
|
||||
|
||||
### Base Layout
|
||||
|
||||
The base layout for all pages is defined in `src/components/Layout.tsx`.
|
||||
|
||||
|
||||
### Creating a New Page
|
||||
|
||||
To create a new page, add a new route in `src/App.tsx` and create a corresponding component in `src/pages`.
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
## Contributing
|
||||
|
||||
|
||||
- **Never update the `main` branch directly.** All changes must be reviewed and merged by the team through a pull request.
|
||||
- **Always work on the `development` branch.** Create a feature branch from `development` and submit your pull request to `development`.
|
||||
- **Request a review.** After submitting your pull request, ask the team to review and accept it into the `main` branch.
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
## Report an Error
|
||||
|
||||
|
||||
To report an issue, please use the following link and provide the requested information:
|
||||
|
||||
|
||||
- **Issue Tracker**: [git.ourworld.tf/ourworld_web/HOME/issues/new](https://git.ourworld.tf/ourworld_web/HOME/issues/new) and tag **OW Website & Wiki Project 2025**
|
||||
|
||||
|
||||
- See the current web rpoject on [OW Website & Wiki Project 2025](https://git.ourworld.tf/ourworld_web/-/projects/153)
|
||||
|
||||
|
||||
When reporting an issue, please include:
|
||||
|
||||
|
||||
- **URL**: The page where the error occurred.
|
||||
- **Repo**: The repository you are working with.
|
||||
- **Branch**: The specific branch you are on.
|
||||
- **Problem**: A detailed description of the problem.
|
||||
|
||||
|
||||
---
|
||||
|
||||
|
||||
## Questions
|
||||
|
||||
|
||||
If you have any questions, you can reach out to [sashaastiadi](https://git.ourworld.tf/sashaastiadi).
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
<meta name="description" content="Project Mycelium's technology enables anyone to deploy their own Internet infrastructure, anywhere." />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;700&display=swap" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 1.1 MiB |
BIN
public/images/ChatGPT Image Oct 31, 2025, 01_46_54 AM.png
Normal file
|
After Width: | Height: | Size: 497 KiB |
|
Before Width: | Height: | Size: 303 KiB |
|
Before Width: | Height: | Size: 992 KiB |
|
Before Width: | Height: | Size: 802 KiB |
BIN
public/images/agentshero2.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 4.8 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 757 KiB |
BIN
public/images/cloudhero.webp
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
public/images/cloudhero2.webp
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
public/images/cloudhero3.webp
Normal file
|
After Width: | Height: | Size: 938 KiB |
BIN
public/images/cloudui/billing.jpg
Normal file
|
After Width: | Height: | Size: 878 KiB |
BIN
public/images/cloudui/kubeconfig.jpg
Normal file
|
After Width: | Height: | Size: 1.2 MiB |
BIN
public/images/cloudui/reserve.jpg
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 110 KiB |
|
Before Width: | Height: | Size: 190 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 6.7 KiB |
BIN
public/images/hero11.webp
Normal file
|
After Width: | Height: | Size: 1.8 MiB |
|
Before Width: | Height: | Size: 1.7 MiB |
BIN
public/images/k82.png
Normal file
|
After Width: | Height: | Size: 910 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 126 KiB |
|
Before Width: | Height: | Size: 835 KiB |
BIN
public/images/pages/agent.webp
Normal file
|
After Width: | Height: | Size: 239 KiB |
BIN
public/images/pages/cloud.webp
Normal file
|
After Width: | Height: | Size: 232 KiB |
BIN
public/images/pages/compute.webp
Normal file
|
After Width: | Height: | Size: 216 KiB |
BIN
public/images/pages/gpu.webp
Normal file
|
After Width: | Height: | Size: 268 KiB |
BIN
public/images/pages/network.webp
Normal file
|
After Width: | Height: | Size: 178 KiB |
BIN
public/images/pages/storage.webp
Normal file
|
After Width: | Height: | Size: 271 KiB |
BIN
public/images/pages/storage1.webp
Normal file
|
After Width: | Height: | Size: 230 KiB |
BIN
public/images/storage2.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
48
src/App.tsx
@@ -1,29 +1,33 @@
|
||||
import { BrowserRouter, Routes, Route } from 'react-router-dom'
|
||||
import { Layout } from './components/Layout'
|
||||
import HomePage from './pages/home/HomePage'
|
||||
import CloudPage from './pages/cloud/CloudPage'
|
||||
import NetworkPage from './pages/network/NetworkPage'
|
||||
import AgentsPage from './pages/agents/AgentsPage'
|
||||
import DownloadPage from './pages/download/DownloadPage'
|
||||
import ComputePage from './pages/compute/ComputePage'
|
||||
import StoragePage from './pages/storage/StoragePage'
|
||||
import GpuPage from './pages/gpu/GpuPage'
|
||||
import { BrowserRouter, Routes, Route } from 'react-router-dom';
|
||||
import { Layout } from './components/Layout';
|
||||
import { lazy, Suspense } from 'react';
|
||||
|
||||
const HomePage = lazy(() => import('./pages/home/HomePage'));
|
||||
const CloudPage = lazy(() => import('./pages/cloud/CloudPage'));
|
||||
const NetworkPage = lazy(() => import('./pages/network/NetworkPage'));
|
||||
const AgentsPage = lazy(() => import('./pages/agents/AgentsPage'));
|
||||
const DownloadPage = lazy(() => import('./pages/download/DownloadPage'));
|
||||
const ComputePage = lazy(() => import('./pages/compute/ComputePage'));
|
||||
const StoragePage = lazy(() => import('./pages/storage/StoragePage'));
|
||||
const GpuPage = lazy(() => import('./pages/gpu/GpuPage'));
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path="/" element={<Layout />}>
|
||||
<Route index element={<HomePage />} />
|
||||
<Route path="cloud" element={<CloudPage />} />
|
||||
<Route path="network" element={<NetworkPage />} />
|
||||
<Route path="agents" element={<AgentsPage />} />
|
||||
<Route path="download" element={<DownloadPage />} />
|
||||
<Route path="compute" element={<ComputePage />} />
|
||||
<Route path="storage" element={<StoragePage />} />
|
||||
<Route path="gpu" element={<GpuPage />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
<Suspense fallback={<div>Loading...</div>}>
|
||||
<Routes>
|
||||
<Route path="/" element={<Layout />}>
|
||||
<Route index element={<HomePage />} />
|
||||
<Route path="cloud" element={<CloudPage />} />
|
||||
<Route path="network" element={<NetworkPage />} />
|
||||
<Route path="agents" element={<AgentsPage />} />
|
||||
<Route path="download" element={<DownloadPage />} />
|
||||
<Route path="compute" element={<ComputePage />} />
|
||||
<Route path="storage" element={<StoragePage />} />
|
||||
<Route path="gpu" element={<GpuPage />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
</Suspense>
|
||||
</BrowserRouter>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ const colorVariants = {
|
||||
secondary: 'text-gray-600',
|
||||
light: 'text-gray-50',
|
||||
accent: 'text-cyan-500',
|
||||
cyan: 'text-cyan-50',
|
||||
white: 'text-white',
|
||||
dark: 'text-gray-950',
|
||||
tertiary: 'text-gray-700',
|
||||
@@ -33,7 +34,8 @@ type PolymorphicProps<E extends React.ElementType, P> = P & {
|
||||
|
||||
const createTextComponent = <DefaultElement extends React.ElementType>(
|
||||
defaultElement: DefaultElement,
|
||||
defaultClassName: string
|
||||
defaultClassName: string,
|
||||
defaultProps: Omit<TextOwnProps, 'className' | 'children'> = {}
|
||||
) => {
|
||||
type Props<E extends React.ElementType = DefaultElement> = PolymorphicProps<
|
||||
E,
|
||||
@@ -41,9 +43,9 @@ const createTextComponent = <DefaultElement extends React.ElementType>(
|
||||
>
|
||||
|
||||
function Text<E extends React.ElementType = DefaultElement>({
|
||||
font = 'sans',
|
||||
font = defaultProps.font || 'sans',
|
||||
as,
|
||||
color = 'primary',
|
||||
color = defaultProps.color || 'primary',
|
||||
className,
|
||||
children,
|
||||
...props
|
||||
@@ -72,7 +74,7 @@ const createTextComponent = <DefaultElement extends React.ElementType>(
|
||||
// Exports based on your tailwind.css and the example
|
||||
export const H1 = createTextComponent(
|
||||
'h1',
|
||||
'text-6xl lg:text-7xl font-medium leading-tight tracking-tight'
|
||||
'text-5xl lg:text-7xl font-medium leading-tight tracking-tight'
|
||||
)
|
||||
export const H2 = createTextComponent(
|
||||
'h2',
|
||||
@@ -88,7 +90,7 @@ export const H4 = createTextComponent(
|
||||
)
|
||||
export const P = createTextComponent(
|
||||
'p',
|
||||
'text-base lg:text-lg leading-relaxed'
|
||||
'text-base lg:text-xl leading-relaxed'
|
||||
)
|
||||
export const Small = createTextComponent(
|
||||
'small',
|
||||
@@ -100,11 +102,12 @@ export const Subtle = createTextComponent(
|
||||
)
|
||||
export const H5 = createTextComponent(
|
||||
'h5',
|
||||
'text-xl lg:text-2xl font-light leading-snug tracking-normal'
|
||||
'text-xl lg:text-2xl font-light lg:leading-snug leading-[0.85] tracking-normal'
|
||||
)
|
||||
export const Eyebrow = createTextComponent(
|
||||
'h2',
|
||||
'text-base/7 font-semibold tracking-wide'
|
||||
'text-base/7 font-semibold tracking-[0.18em] uppercase',
|
||||
{ color: 'accent' }
|
||||
)
|
||||
export const SectionHeader = createTextComponent(
|
||||
'p',
|
||||
@@ -160,4 +163,4 @@ export const DownloadCardDescription = createTextComponent(
|
||||
)
|
||||
|
||||
export const CT = createTextComponent('span', 'text-lg lg:text-xl font-semibold')
|
||||
export const CP = createTextComponent('p', 'text-sm lg:text-sm tracking-wide leading-[1.525] font-light')
|
||||
export const CP = createTextComponent('p', 'text-sm lg:text-base tracking-wide leading-relaxed font-light')
|
||||
|
||||
@@ -26,7 +26,7 @@ const CubeSvg: React.FC<React.SVGProps<SVGSVGElement> & { index: number }> = ({
|
||||
<path
|
||||
fill={`url(#cube-gradient-${index})`}
|
||||
d="M491.651 144.747L287.198 227.339C265.219 236.22 241.783 236.22 219.802 227.339L15.3486 144.747C-5.11621 136.479 -5.11621 97.5191 15.3486 89.2539L219.802 6.65884C241.783 -2.21961 265.219 -2.21961 287.198 6.65884L491.651 89.2539C512.116 97.5191 512.116 136.479 491.651 144.747Z"
|
||||
stroke="rgba(59, 130, 246, 0.25)"
|
||||
stroke="rgba(107, 114, 128, 0.3)"
|
||||
strokeWidth="0.5"
|
||||
/>
|
||||
<defs>
|
||||
@@ -79,8 +79,8 @@ export function CubeLight({
|
||||
<div
|
||||
className={`absolute inset-0 blur-3xl rounded-2xl transition-all duration-500 ${
|
||||
isActive
|
||||
? "bg-blue-400/40 opacity-70"
|
||||
: "bg-blue-200/20 opacity-40"
|
||||
? "bg-cyan-400/20 opacity-30"
|
||||
: "bg-cyan-200/20 opacity-40"
|
||||
}`}
|
||||
/>
|
||||
|
||||
@@ -90,8 +90,8 @@ export function CubeLight({
|
||||
className="w-48 sm:w-64 lg:w-80 h-auto relative"
|
||||
style={{
|
||||
filter: isActive
|
||||
? "drop-shadow(0 0 25px rgba(59, 130, 246, 0.4)) brightness(1.1)"
|
||||
: "drop-shadow(0 0 10px rgba(59, 130, 246, 0.15)) brightness(1)",
|
||||
? "drop-shadow(0 0 15px rgba(34, 211, 238, 0.25)) brightness(1.05)"
|
||||
: "drop-shadow(0 0 10px rgba(34, 211, 238, 0.15)) brightness(1)",
|
||||
transition: "all 0.4s ease",
|
||||
}}
|
||||
/>
|
||||
@@ -99,10 +99,10 @@ export function CubeLight({
|
||||
{/* Title overlay */}
|
||||
<div className="absolute inset-0 flex items-center justify-center">
|
||||
<h3
|
||||
className="text-blue-900 text-sm lg:text-base font-medium text-center px-4"
|
||||
className="text-cyan-900 text-sm lg:text-base font-medium text-center px-4"
|
||||
style={{
|
||||
textShadow:
|
||||
"0 0 15px rgba(255,255,255,0.8), 0 0 25px rgba(59, 130, 246, 0.5)",
|
||||
"0 0 15px rgba(255,255,255,0.8), 0 0 25px rgba(34, 211, 238, 0.5)",
|
||||
}}
|
||||
>
|
||||
{title}
|
||||
@@ -131,7 +131,7 @@ export function CubeLight({
|
||||
y1="1"
|
||||
x2="120"
|
||||
y2="1"
|
||||
stroke="rgba(59, 130, 246, 0.6)"
|
||||
stroke="rgba(34, 211, 238, 0.6)"
|
||||
strokeWidth="1"
|
||||
opacity="0.8"
|
||||
/>
|
||||
|
||||
@@ -3,13 +3,10 @@
|
||||
import { Canvas, useFrame } from "@react-three/fiber";
|
||||
import { Line, OrbitControls, useTexture } from "@react-three/drei";
|
||||
import { useMemo, useRef } from "react";
|
||||
|
||||
type RotatableGroup = {
|
||||
rotation: { y: number };
|
||||
};
|
||||
import type { Group } from "three";
|
||||
|
||||
function Globe() {
|
||||
const groupRef = useRef<RotatableGroup | null>(null);
|
||||
const groupRef = useRef<Group>(null);
|
||||
const cloudTexture = useTexture("/images/cloud1.png");
|
||||
|
||||
// Rotate the globe slowly
|
||||
@@ -78,7 +75,7 @@ function Globe() {
|
||||
|
||||
export function HalfGlobe() {
|
||||
return (
|
||||
<div className="w-full h-[500px] bg-white flex items-center justify-center">
|
||||
<div key="half-globe" className="w-full h-[500px] bg-white flex items-center justify-center">
|
||||
<Canvas camera={{ position: [0, 1.5, 4], fov: 45 }}>
|
||||
<ambientLight intensity={0.8} />
|
||||
<Globe />
|
||||
|
||||
@@ -35,8 +35,8 @@ const stackData = [
|
||||
];
|
||||
|
||||
export function StackedCubesLight() {
|
||||
const [active, setActive] = useState<string | null>("agent");
|
||||
const [selectedForMobile, setSelectedForMobile] = useState<string | null>("agent");
|
||||
const [active, setActive] = useState<string | null>("network");
|
||||
const [selectedForMobile, setSelectedForMobile] = useState<string | null>("network");
|
||||
|
||||
const handleCubeClick = (id: string) => {
|
||||
setSelectedForMobile((prev) => (prev === id ? null : id));
|
||||
@@ -49,10 +49,10 @@ export function StackedCubesLight() {
|
||||
return (
|
||||
<div className="flex flex-col items-center relative">
|
||||
{/* ✨ Ambient cyan-white gradient background */}
|
||||
<div className="absolute inset-0 bg-gradient-to-b from-white via-cyan-50/40 to-white blur-3xl opacity-70 pointer-events-none" />
|
||||
<div className="absolute inset-0 bg-gradient-to-b from-white via-cyan-50/30 to-white blur-3xl opacity-70 pointer-events-none" />
|
||||
<div
|
||||
className="relative w-full flex items-center justify-center lg:justify-center min-h-[450px] lg:min-h-[400px]"
|
||||
onMouseLeave={() => setActive("agent")}
|
||||
onMouseLeave={() => setActive("network")}
|
||||
>
|
||||
<motion.div
|
||||
className="relative lg:pl-0 pl-6 h-[300px] lg:h-[400px] w-64 sm:w-80 lg:w-96"
|
||||
@@ -77,8 +77,8 @@ export function StackedCubesLight() {
|
||||
<div
|
||||
className={`absolute inset-0 blur-2xl rounded-3xl transition-all duration-500 ${
|
||||
active === layer.id
|
||||
? "bg-cyan-300/40 opacity-70"
|
||||
: "bg-cyan-200/20 opacity-40"
|
||||
? "bg-cyan-300/20 opacity-20"
|
||||
: "bg-cyan-200/20 opacity-20"
|
||||
}`}
|
||||
/>
|
||||
<CubeLight
|
||||
|
||||
@@ -93,7 +93,7 @@ export const Carousel = ({ items, initialScroll = 0 }: CarouselProps) => {
|
||||
},
|
||||
}}
|
||||
key={"card" + index}
|
||||
className="rounded-3xl last:pr-[5%] md:last:pr-[33%]"
|
||||
className="rounded-3xl last:pr-[5%] md:last:pr-[33%] "
|
||||
>
|
||||
{item}
|
||||
</motion.div>
|
||||
@@ -132,7 +132,7 @@ export const Card = ({
|
||||
<Link to={card.link}>
|
||||
<motion.div
|
||||
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 md:h-120 md:w-96 hover:scale-105 transition-transform duration-200"
|
||||
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"
|
||||
style={{
|
||||
backgroundImage: `url(${card.bg})`,
|
||||
backgroundSize: 'cover',
|
||||
@@ -154,7 +154,7 @@ export const Card = ({
|
||||
{card.title}
|
||||
</motion.p>
|
||||
<div className="flex flex-row justify-between items-center w-full mt-4">
|
||||
<motion.p className="max-w-xs text-left font-sans text-sm text-neutral-300">
|
||||
<motion.p className="max-w-xs text-left font-sans lg:text-lg text-base text-neutral-300">
|
||||
{card.description}
|
||||
</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">
|
||||
|
||||
@@ -33,7 +33,7 @@ export const LayoutTextFlip = ({
|
||||
|
||||
<motion.span
|
||||
layout
|
||||
className="relative w-fit overflow-hidden px-2 py-2 font-medium italic tracking-tight"
|
||||
className="relative w-fit overflow-hidden px-2 py-2 font-medium tracking-tight"
|
||||
>
|
||||
<AnimatePresence mode="popLayout">
|
||||
<motion.span
|
||||
|
||||
@@ -7,7 +7,7 @@ export function AgentsHeroAlt() {
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
backgroundImage: "url(/images/agentshero.png)",
|
||||
backgroundImage: "url(/images/agentshero2.png)",
|
||||
backgroundSize: "cover",
|
||||
backgroundPosition: "center",
|
||||
}}
|
||||
|
||||
@@ -42,7 +42,7 @@ export function CloudArchitecture() {
|
||||
<section className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.32em] uppercase text-cyan-500">
|
||||
<Eyebrow>
|
||||
Technical Architecture
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
|
||||
@@ -1,124 +1,432 @@
|
||||
import { Container } from '../../components/Container'
|
||||
import { Eyebrow, SectionHeader, P, Small } from '../../components/Texts'
|
||||
'use client'
|
||||
|
||||
const featureSections = [
|
||||
import { Fragment, useEffect, useId, 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 { AppScreen } from '../network/AppScreen'
|
||||
import {
|
||||
Eyebrow,
|
||||
FeatureDescription,
|
||||
FeatureTitle,
|
||||
MobileFeatureTitle,
|
||||
P,
|
||||
SectionHeader,
|
||||
} from '@/components/Texts'
|
||||
import { CircleBackground } from '@/components/CircleBackground'
|
||||
import { Container } from '@/components/Container'
|
||||
|
||||
import connectorImg from '@/images/connector.png'
|
||||
import peersImg from '@/images/peers.png'
|
||||
import settingImg from '@/images/setting.png'
|
||||
import { PhoneFrame } from '@/components/PhoneFrame'
|
||||
|
||||
|
||||
interface CustomAnimationProps {
|
||||
isForwards: boolean
|
||||
changeCount: number
|
||||
}
|
||||
|
||||
const features = [
|
||||
{
|
||||
title: 'Mycelium Networking',
|
||||
name: 'Mycelium Connector',
|
||||
description:
|
||||
'Ultra-fast, decentralized networking inspired by nature to keep services reachable without exposing surfaces.',
|
||||
bullets: [
|
||||
'End-to-end encrypted mesh connectivity between every node.',
|
||||
'Direct node communication without centralized intermediaries.',
|
||||
'Self-optimizing routes that heal around failures automatically.',
|
||||
'Secure peer-to-peer communication across the entire grid.',
|
||||
],
|
||||
"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.",
|
||||
icon: DeviceUserIcon,
|
||||
screen: InviteScreen,
|
||||
},
|
||||
{
|
||||
title: 'Zero-Image Technology',
|
||||
name: 'Mycelium Peers',
|
||||
description:
|
||||
'Metadata-first zero-images shrink artifacts up to 100x, reducing deployment time and bandwidth.',
|
||||
bullets: [
|
||||
'Deterministic deployments verified cryptographically.',
|
||||
'Run containers, VMs, and Linux workloads with secure boot.',
|
||||
'Smart contract orchestration manages every workload lifecycle.',
|
||||
'Minimal artifact footprint accelerates delivery everywhere.',
|
||||
],
|
||||
'Search and discover active peers on the Mycelium Network, or add your own.',
|
||||
icon: DeviceNotificationIcon,
|
||||
screen: StocksScreen,
|
||||
},
|
||||
{
|
||||
title: 'Quantum-Safe Storage (QSS)',
|
||||
name: 'Network Setting',
|
||||
description:
|
||||
'Quantum-resistant encryption secures data beyond the application layer for complete ownership.',
|
||||
bullets: [
|
||||
'Self-healing storage recovers instantly from corruption or failure.',
|
||||
'Serve the same data via IPFS, S3, WebDAV, HTTP, and native FS.',
|
||||
'Geo-aware placement enforces residency and redundancy policies.',
|
||||
'Autonomous replication keeps data resilient across the globe.',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Multi-Master Clusters',
|
||||
description:
|
||||
'High-availability Kubernetes with automatic failover and leadership orchestration.',
|
||||
bullets: [
|
||||
'Multi-master topologies orchestrated with zero downtime.',
|
||||
'Automatic failover keeps control planes healthy and responsive.',
|
||||
'HA operations managed without manual intervention or scripts.',
|
||||
'Upgrades roll out seamlessly with continuous verification.',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Effortless Load Balancing & Scaling',
|
||||
description:
|
||||
'Adaptive automation balances traffic and scales workloads based on demand.',
|
||||
bullets: [
|
||||
'Built-in autoscaling that responds to real-time usage.',
|
||||
'Native load balancing distributes traffic globally.',
|
||||
'High availability delivered without custom controllers.',
|
||||
'Elastic scaling keeps costs aligned with workload demand.',
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'Simple Web Gateway Access',
|
||||
description:
|
||||
'Expose services to the public web with declarative Kubernetes resources.',
|
||||
bullets: [
|
||||
'One resource publishes services without complex ingress rules.',
|
||||
'Domain and prefix-based routing built into the platform.',
|
||||
'No need to manage dedicated ingress controllers.',
|
||||
'Consistent configuration across every cluster and region.',
|
||||
],
|
||||
'Find version and network information and trigger light or dark mode.',
|
||||
icon: DeviceTouchIcon,
|
||||
screen: InvestScreen,
|
||||
},
|
||||
]
|
||||
|
||||
function DeviceUserIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
|
||||
return (
|
||||
<svg viewBox="0 0 32 32" aria-hidden="true" {...props}>
|
||||
<circle cx={16} cy={16} r={16} fill="#A3A3A3" fillOpacity={0.2} />
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
d="M16 23a3 3 0 100-6 3 3 0 000 6zm-1 2a4 4 0 00-4 4v1a2 2 0 002 2h6a2 2 0 002-2v-1a4 4 0 00-4-4h-2z"
|
||||
fill="#737373"
|
||||
/>
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
d="M5 4a4 4 0 014-4h14a4 4 0 014 4v24a4.002 4.002 0 01-3.01 3.877c-.535.136-.99-.325-.99-.877s.474-.98.959-1.244A2 2 0 0025 28V4a2 2 0 00-2-2h-1.382a1 1 0 00-.894.553l-.448.894a1 1 0 01-.894.553h-6.764a1 1 0 01-.894-.553l-.448-.894A1 1 0 0010.382 2H9a2 2 0 00-2 2v24a2 2 0 001.041 1.756C8.525 30.02 9 30.448 9 31s-.455 1.013-.99.877A4.002 4.002 0 015 28V4z"
|
||||
fill="#A3A3A3"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
function DeviceNotificationIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
|
||||
return (
|
||||
<svg viewBox="0 0 32 32" aria-hidden="true" {...props}>
|
||||
<circle cx={16} cy={16} r={16} fill="#A3A3A3" fillOpacity={0.2} />
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
d="M9 0a4 4 0 00-4 4v24a4 4 0 004 4h14a4 4 0 004-4V4a4 4 0 00-4-4H9zm0 2a2 2 0 00-2 2v24a2 2 0 002 2h14a2 2 0 002-2V4a2 2 0 00-2-2h-1.382a1 1 0 00-.894.553l-.448.894a1 1 0 01-.894.553h-6.764a1 1 0 01-.894-.553l-.448-.894A1 1 0 0010.382 2H9z"
|
||||
fill="#A3A3A3"
|
||||
/>
|
||||
<path
|
||||
d="M9 8a2 2 0 012-2h10a2 2 0 012 2v2a2 2 0 01-2 2H11a2 2 0 01-2-2V8z"
|
||||
fill="#737373"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
function DeviceTouchIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
|
||||
let id = useId()
|
||||
|
||||
return (
|
||||
<svg viewBox="0 0 32 32" fill="none" aria-hidden="true" {...props}>
|
||||
<defs>
|
||||
<linearGradient
|
||||
id={`${id}-gradient`}
|
||||
x1={14}
|
||||
y1={14.5}
|
||||
x2={7}
|
||||
y2={17}
|
||||
gradientUnits="userSpaceOnUse"
|
||||
>
|
||||
<stop stopColor="#737373" />
|
||||
<stop offset={1} stopColor="#D4D4D4" stopOpacity={0} />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<circle cx={16} cy={16} r={16} fill="#A3A3A3" fillOpacity={0.2} />
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
d="M5 4a4 4 0 014-4h14a4 4 0 014 4v13h-2V4a2 2 0 00-2-2h-1.382a1 1 0 00-.894.553l-.448.894a1 1 0 01-.894.553h-6.764a1 1 0 01-.894-.553l-.448-.894A1 1 0 0010.382 2H9a2 2 0 00-2 2v24a2 2 0 002 2h4v2H9a4 4 0 01-4-4V4z"
|
||||
fill="#A3A3A3"
|
||||
/>
|
||||
<path
|
||||
d="M7 22c0-4.694 3.5-8 8-8"
|
||||
stroke={`url(#${id}-gradient)`}
|
||||
strokeWidth={2}
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
/>
|
||||
<path
|
||||
d="M21 20l.217-5.513a1.431 1.431 0 00-2.85-.226L17.5 21.5l-1.51-1.51a2.107 2.107 0 00-2.98 0 .024.024 0 00-.005.024l3.083 9.25A4 4 0 0019.883 32H25a4 4 0 004-4v-5a3 3 0 00-3-3h-5z"
|
||||
fill="#A3A3A3"
|
||||
/>
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
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 InviteScreen() {
|
||||
return (
|
||||
<AppScreen className="w-full">
|
||||
<img src={connectorImg} alt="Mycelium Connector" width="366" height="732" className="-mt-8" />
|
||||
</AppScreen>
|
||||
)
|
||||
}
|
||||
|
||||
function StocksScreen() {
|
||||
return (
|
||||
<AppScreen className="w-full">
|
||||
<img src={peersImg} alt="Mycelium Peers" width="366" height="732" className="-mt-8" />
|
||||
</AppScreen>
|
||||
)
|
||||
}
|
||||
|
||||
function InvestScreen() {
|
||||
return (
|
||||
<AppScreen className="w-full">
|
||||
<img src={settingImg} alt="Mycelium Settings" width="366" height="732" className="-mt-8" />
|
||||
</AppScreen>
|
||||
)
|
||||
}
|
||||
|
||||
function usePrevious<T>(value: T) {
|
||||
const ref = useRef<T>()
|
||||
|
||||
useEffect(() => {
|
||||
ref.current = value
|
||||
}, [value])
|
||||
|
||||
return ref.current
|
||||
}
|
||||
|
||||
function FeaturesDesktop() {
|
||||
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
|
||||
className="grid grid-cols-12 items-center gap-8 lg:gap-16"
|
||||
selectedIndex={selectedIndex}
|
||||
onChange={onChange}
|
||||
vertical
|
||||
>
|
||||
<TabList className="z-10 order-last col-span-6 space-y-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-800/30',
|
||||
selectedIndex === featureIndex
|
||||
? 'outline-cyan-500'
|
||||
: 'outline-transparent hover:outline-cyan-500',
|
||||
)}
|
||||
>
|
||||
{featureIndex === selectedIndex && (
|
||||
<motion.div
|
||||
layoutId="activeBackground"
|
||||
className="absolute inset-0 bg-gray-800"
|
||||
initial={{ borderRadius: 16 }}
|
||||
/>
|
||||
)}
|
||||
<div className="relative z-10 p-8">
|
||||
<feature.icon className="h-8 w-8" />
|
||||
<FeatureTitle as="h3" color="white" className="mt-6">
|
||||
<Tab className="text-left data-selected:not-data-focus:outline-hidden">
|
||||
<span className="absolute inset-0 rounded-2xl" />
|
||||
{feature.name}
|
||||
</Tab>
|
||||
</FeatureTitle>
|
||||
<FeatureDescription color="secondary" className="mt-2">
|
||||
{feature.description}
|
||||
</FeatureDescription>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</TabList>
|
||||
<div className="relative col-span-6">
|
||||
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
||||
<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}>
|
||||
<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 }}>
|
||||
<feature.screen />
|
||||
</motion.div>
|
||||
</TabPanel>
|
||||
) : null,
|
||||
)}
|
||||
</AnimatePresence>
|
||||
</TabPanels>
|
||||
</PhoneFrame>
|
||||
</div>
|
||||
</TabGroup>
|
||||
)
|
||||
}
|
||||
|
||||
function FeaturesMobile() {
|
||||
let [activeIndex, setActiveIndex] = useState(0)
|
||||
let slideContainerRef = useRef<React.ElementRef<'div'>>(null)
|
||||
let slideRefs = useRef<Array<React.ElementRef<'div'>>>([])
|
||||
|
||||
useEffect(() => {
|
||||
let observer = new window.IntersectionObserver(
|
||||
(entries) => {
|
||||
for (let entry of entries) {
|
||||
if (entry.isIntersecting && entry.target instanceof HTMLDivElement) {
|
||||
setActiveIndex(slideRefs.current.indexOf(entry.target))
|
||||
break
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
root: slideContainerRef.current,
|
||||
threshold: 0.6,
|
||||
},
|
||||
)
|
||||
|
||||
for (let slide of slideRefs.current) {
|
||||
if (slide) {
|
||||
observer.observe(slide)
|
||||
}
|
||||
}
|
||||
|
||||
return () => {
|
||||
observer.disconnect()
|
||||
}
|
||||
}, [slideContainerRef, slideRefs])
|
||||
|
||||
return (
|
||||
<>
|
||||
<div
|
||||
ref={slideContainerRef}
|
||||
className="-mb-4 flex snap-x snap-mandatory -space-x-4 overflow-x-auto overscroll-x-contain scroll-smooth pb-4 [scrollbar-width:none] sm:-space-x-6 [&::-webkit-scrollbar]:hidden"
|
||||
>
|
||||
{features.map((feature, featureIndex) => (
|
||||
<div
|
||||
key={featureIndex}
|
||||
ref={(ref) => ref && (slideRefs.current[featureIndex] = ref)}
|
||||
className="w-full flex-none snap-center px-4 sm:px-6 transition-all duration-300 ease-in-out hover:scale-105"
|
||||
>
|
||||
<div
|
||||
className={clsx(
|
||||
'relative transform overflow-hidden rounded-2xl bg-gray-800 px-5 py-6 outline-2 transition-colors',
|
||||
activeIndex === featureIndex
|
||||
? 'outline-transparent' // Remove outline for active mobile slide
|
||||
: 'outline-transparent hover:outline-cyan-500',
|
||||
)}
|
||||
>
|
||||
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
||||
<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 />
|
||||
</PhoneFrame>
|
||||
<div className="absolute inset-x-0 bottom-0 bg-gray-800/95 p-6 backdrop-blur-sm sm:p-10">
|
||||
<feature.icon className="h-8 w-8" />
|
||||
<MobileFeatureTitle color="white" className="mt-6">
|
||||
{feature.name}
|
||||
</MobileFeatureTitle>
|
||||
<FeatureDescription color="secondary" className="mt-2">
|
||||
{feature.description}
|
||||
</FeatureDescription>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<div className="mt-6 flex justify-center gap-3">
|
||||
{features.map((_, featureIndex) => (
|
||||
<button
|
||||
type="button"
|
||||
key={featureIndex}
|
||||
className={clsx(
|
||||
'relative h-0.5 w-4 rounded-full',
|
||||
featureIndex === activeIndex ? 'bg-gray-300' : 'bg-gray-500',
|
||||
)}
|
||||
aria-label={`Go to slide ${featureIndex + 1}`}
|
||||
onClick={() => {
|
||||
slideRefs.current[featureIndex].scrollIntoView({
|
||||
block: 'nearest',
|
||||
inline: 'nearest',
|
||||
})
|
||||
}}
|
||||
>
|
||||
<span className="absolute -inset-x-1.5 -inset-y-3" />
|
||||
</button>
|
||||
))}
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export function CloudFeatures() {
|
||||
return (
|
||||
<section className="bg-gray-50 py-24 sm:py-32">
|
||||
<section
|
||||
id="howitworks"
|
||||
aria-label="Features for investing all your money"
|
||||
className="bg-gray-900 py-20 sm:py-32"
|
||||
>
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.32em] uppercase text-cyan-500">
|
||||
Core Features
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
Infrastructure that verifies, heals, and scales itself.
|
||||
<div className="mx-auto max-w-2xl lg:mx-0 lg:max-w-3xl">
|
||||
<Eyebrow color="accent">How It Works</Eyebrow>
|
||||
<SectionHeader color="white" className="mt-2">
|
||||
How Mycelium Operates
|
||||
</SectionHeader>
|
||||
<P className="mt-6 text-gray-600">
|
||||
From mesh networking to quantum-safe storage, every capability in
|
||||
Mycelium Cloud is designed for sovereign control and autonomous
|
||||
operations—so your teams focus on shipping workloads instead of
|
||||
wiring infrastructure.
|
||||
<P color="light" className="mt-6">
|
||||
Mycelium, like its natural namesake, thrives on decentralization,
|
||||
efficiency, and security, making it a truly powerful force in the world
|
||||
of decentralized networks.
|
||||
</P>
|
||||
</div>
|
||||
<div className="mt-16 grid gap-8 md:grid-cols-2 xl:grid-cols-3">
|
||||
{featureSections.map((feature) => (
|
||||
<div
|
||||
key={feature.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"
|
||||
>
|
||||
<div>
|
||||
<Small className="text-xs uppercase tracking-[0.3em] text-cyan-500">
|
||||
Capability
|
||||
</Small>
|
||||
<h3 className="mt-4 text-xl font-semibold text-gray-900">
|
||||
{feature.title}
|
||||
</h3>
|
||||
<p className="mt-4 text-sm leading-relaxed text-gray-600">
|
||||
{feature.description}
|
||||
</p>
|
||||
</div>
|
||||
<ul className="mt-6 space-y-3 text-sm text-gray-600">
|
||||
{feature.bullets.map((bullet) => (
|
||||
<li
|
||||
key={bullet}
|
||||
className="flex items-start gap-3 rounded-2xl border border-cyan-100 bg-cyan-50/60 p-3 leading-relaxed"
|
||||
>
|
||||
<span className="mt-1 inline-block size-2 rounded-full bg-cyan-500" />
|
||||
<span>{bullet}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</Container>
|
||||
<div className="mt-16 md:hidden">
|
||||
<FeaturesMobile />
|
||||
</div>
|
||||
<Container className="hidden md:mt-20 md:block">
|
||||
<FeaturesDesktop />
|
||||
</Container>
|
||||
</section>
|
||||
)
|
||||
|
||||
@@ -92,7 +92,7 @@ export function CloudHero() {
|
||||
networking, quantum-safe storage, and zero-image delivery that
|
||||
keeps every workload deterministic.
|
||||
</P>
|
||||
<P className="mt-6 italic text-gray-500">
|
||||
<P className="mt-6 text-gray-500">
|
||||
Developer guide to decentralized cloud computing.
|
||||
</P>
|
||||
<div className="mt-10 flex flex-wrap gap-4">
|
||||
|
||||
44
src/pages/cloud/CloudHeroNew.tsx
Normal file
@@ -0,0 +1,44 @@
|
||||
import { H3, H5, Eyebrow } from "../../components/Texts"
|
||||
import { Button } from "../../components/Button"
|
||||
|
||||
|
||||
export function CloudHeroNew() {
|
||||
return (
|
||||
<div
|
||||
className="relative bg-cover lg:bg-contain bg-right bg-no-repeat"
|
||||
style={{ backgroundImage: "url('/images/cloudhero3.webp')" }}
|
||||
>
|
||||
<div className="mx-auto max-w-7xl lg:px-8">
|
||||
<div className="px-6 pt-12 pb-24 sm:pb-32 lg:col-span-5 lg:px-0 lg:pt-40 lg:pb-48 xl:col-span-5">
|
||||
<div className="mx-auto max-w-2xl lg:mx-0">
|
||||
<Eyebrow>
|
||||
Mycelium Cloud
|
||||
</Eyebrow>
|
||||
<H3 className="mt-4">
|
||||
Deploy sovereign Kubernetes clusters on decentralized infrastructure.
|
||||
</H3>
|
||||
<H5 className="mt-8 text-lg text-gray-600">
|
||||
Mycelium Cloud turns the ThreeFold Grid into a programmable substrate for K3s.
|
||||
</H5>
|
||||
<H5 className="mt-4 text-lg text-gray-600">
|
||||
Launch verifiable clusters with nature-inspired networking, quantum-safe storage, and zero-image delivery that keeps every workload deterministic.
|
||||
</H5>
|
||||
<div className="mt-10 flex items-center gap-x-6">
|
||||
<Button
|
||||
to="#"
|
||||
variant="solid"
|
||||
className=""
|
||||
color="cyan"
|
||||
>
|
||||
Get started
|
||||
</Button>
|
||||
<Button to="#" variant="outline">
|
||||
Explore Docs <span aria-hidden="true"> →</span>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -39,7 +39,7 @@ export function CloudOverview() {
|
||||
</div>
|
||||
<Container className="relative">
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.32em] uppercase text-cyan-400">
|
||||
<Eyebrow>
|
||||
Platform Overview
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" color="light" className="mt-6 font-medium">
|
||||
@@ -51,7 +51,7 @@ export function CloudOverview() {
|
||||
orchestration are all built-in so developers can deploy critical
|
||||
workloads without wrestling infrastructure.
|
||||
</P>
|
||||
<P color="lightSecondary" className="mt-6 italic">
|
||||
<P color="lightSecondary" className="mt-6">
|
||||
Declarative, sovereign, and ready for production workloads anywhere.
|
||||
</P>
|
||||
</div>
|
||||
|
||||
@@ -7,12 +7,14 @@ import { CloudGettingStarted } from './CloudGettingStarted'
|
||||
import { CloudUseCases } from './CloudUseCases'
|
||||
import { SecurityPillars } from './SecurityPillars'
|
||||
import { CloudCTA } from './CloudCTA'
|
||||
import { CloudHeroNew } from './CloudHeroNew'
|
||||
|
||||
export default function CloudPage() {
|
||||
return (
|
||||
<>
|
||||
|
||||
<AnimatedSection>
|
||||
<CloudHero />
|
||||
<CloudHeroNew />
|
||||
</AnimatedSection>
|
||||
<AnimatedSection>
|
||||
<CloudOverview />
|
||||
|
||||
@@ -41,7 +41,7 @@ export function CloudUseCases() {
|
||||
<section className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.32em] uppercase text-cyan-500">
|
||||
<Eyebrow>
|
||||
Use Cases
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
|
||||
@@ -8,7 +8,7 @@ export function ComputeHero() {
|
||||
<div className="relative h-80 overflow-hidden bg-transparent md:absolute md:right-0 md:h-full md:w-1/3 lg:w-1/2">
|
||||
<img
|
||||
alt=""
|
||||
src="/images/computehero4.png"
|
||||
src="/images/hero.webp"
|
||||
className="size-full object-cover"
|
||||
/>
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ export function ComputeOverview() {
|
||||
precision, knowing the platform verifies, scales, and heals itself
|
||||
on your behalf.
|
||||
</P>
|
||||
<P color="lightSecondary" className="mt-4 italic">
|
||||
<P color="lightSecondary" className="mt-4">
|
||||
Deterministic. Self-managing. Stateless by design.
|
||||
</P>
|
||||
</div>
|
||||
|
||||
@@ -31,7 +31,7 @@ export function GpuArchitecture() {
|
||||
<section id="gpu-architecture" className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.32em] uppercase text-cyan-500">
|
||||
<Eyebrow>
|
||||
Technical Architecture
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
|
||||
@@ -28,7 +28,7 @@ export function GpuHero() {
|
||||
planetary clusters—with deterministic performance and transparent
|
||||
cost.
|
||||
</P>
|
||||
<P className="mt-4 italic text-gray-500">
|
||||
<P className="mt-4 text-gray-500">
|
||||
The energy behind intelligence, orchestrated entirely through code.
|
||||
</P>
|
||||
<div className="mt-10 flex flex-wrap gap-4">
|
||||
|
||||
@@ -37,7 +37,7 @@ export function GpuUseCases() {
|
||||
<section className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.32em] uppercase text-cyan-500">
|
||||
<Eyebrow>
|
||||
Use Cases
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
|
||||
@@ -6,26 +6,23 @@ export function CallToAction() {
|
||||
return (
|
||||
<section
|
||||
id="get-started"
|
||||
className="relative overflow-hidden bg-gray-900 py-32"
|
||||
className="relative overflow-hidden bg-gray-900 lg:py-32 py-24"
|
||||
>
|
||||
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
||||
<CircleBackground color="#06b6d4" className="animate-spin-slower" />
|
||||
</div>
|
||||
<Container className="relative">
|
||||
<div className="mx-auto max-w-2xl text-center">
|
||||
<div className="mx-auto max-w-xl text-center">
|
||||
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
|
||||
Activate Your Sovereign <br />Mycelium Stack
|
||||
</h2>
|
||||
<p className="mt-6 text-lg text-gray-300">
|
||||
Provision cloud workloads, mesh them through the encrypted Mycelium Network, and unlock AI experiences without surrendering control of your infrastructure or your data.
|
||||
Mesh cloud workloads through the encrypted Mycelium Network and unlock AI experiences without ever surrendering control of your infrastructure, performance, or data.
|
||||
</p>
|
||||
<div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
|
||||
<Button to="/cloud" variant="solid" color="white">
|
||||
<Button to="/cloud" variant="solid" color="cyan">
|
||||
Start Deployment
|
||||
</Button>
|
||||
<Button to="/download" variant="solid" color="cyan">
|
||||
Get Mycelium Connector
|
||||
</Button>
|
||||
<Button
|
||||
to="https://threefold.info/mycelium_network/docs/"
|
||||
as="a"
|
||||
@@ -33,7 +30,7 @@ export function CallToAction() {
|
||||
variant="outline"
|
||||
color="white"
|
||||
>
|
||||
Read Docs
|
||||
Explore Docs
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -9,7 +9,7 @@ export function HomeAgent() {
|
||||
<div className="mx-auto max-w-4xl text-center">
|
||||
<H2>
|
||||
Deploy your own{" "}
|
||||
<span className="text-left text-black font-medium text-7xl italic bg-clip-text bg-gradient-to-r from-blue-400 via-cyan-400 to-violet-400">
|
||||
<span className="text-left text-black font-medium text-7xl bg-clip-text bg-gradient-to-r from-blue-400 via-cyan-400 to-violet-400">
|
||||
<LayoutTextFlip
|
||||
text=""
|
||||
words={[
|
||||
|
||||
@@ -1,35 +1,47 @@
|
||||
"use client";
|
||||
import { H1, H5 } from "@/components/Texts"
|
||||
import { Button } from "@/components/Button"
|
||||
|
||||
import { H1, H5 } from "@/components/Texts";
|
||||
import { ScrollDownArrow } from '@/components/ScrollDownArrow';
|
||||
|
||||
export function HomeAurora() {
|
||||
export function HomeAurora() {
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
backgroundImage: "url(/images/homehero1.png)",
|
||||
backgroundSize: "cover",
|
||||
backgroundPosition: "center",
|
||||
}}
|
||||
className="relative mx-auto flex min-h-screen flex-col items-center gap-6 px-4 pb-24 pt-[20vh] text-gray-800 lg:pb-0"
|
||||
className="relative bg-cover sm:bg-contain bg-right bg-no-repeat"
|
||||
style={{ backgroundImage: "url('/images/hero11.webp')" }}
|
||||
>
|
||||
<div className="text-center -mt-5">
|
||||
<H1>
|
||||
<span className="text-bold lg:text-8xl">
|
||||
Full Sovereignty for<br />Cloud, Network & AI.
|
||||
</span>
|
||||
</H1>
|
||||
</div>
|
||||
<div className="max-w-4xl text-center font-light text-gray-500">
|
||||
<H5>
|
||||
Build and run mission-critical workloads on distributed compute,
|
||||
encrypted networking, and sovereign AI orchestration — all under your
|
||||
control, without centralized gatekeepers.
|
||||
</H5>
|
||||
</div>
|
||||
<div className="pt-6">
|
||||
<ScrollDownArrow />
|
||||
<div className="mx-auto max-w-7xl lg:px-8">
|
||||
<div className="px-6 pt-12 pb-24 sm:pb-32 lg:col-span-5 lg:px-0 lg:pt-40 lg:pb-48 xl:col-span-5">
|
||||
<div className="mx-auto max-w-3xl lg:mx-0">
|
||||
<div className="hidden sm:flex">
|
||||
<div className="relative rounded-full px-3 py-1 text-sm/6 text-gray-500 ring-1 ring-gray-900/10 hover:ring-gray-900/20">
|
||||
Anim aute id magna aliqua ad ad non deserunt sunt.{' '}
|
||||
<a href="#" className="font-semibold whitespace-nowrap text-cyan-600">
|
||||
<span aria-hidden="true" className="absolute inset-0" />
|
||||
Read more <span aria-hidden="true">→</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<H1 className="mt-8">
|
||||
Full Sovereignty for Cloud, Network & AI.
|
||||
</H1>
|
||||
<H5 className="mt-8 text-lg text-gray-600">
|
||||
Build and run mission-critical workloads on distributed compute, encrypted networking, and sovereign AI orchestration without centralized gatekeepers.
|
||||
</H5>
|
||||
<div className="mt-10 flex items-center gap-x-6">
|
||||
<Button
|
||||
to="#"
|
||||
variant="solid"
|
||||
className=""
|
||||
color="cyan"
|
||||
>
|
||||
Get started
|
||||
</Button>
|
||||
<Button to="#" variant="outline">
|
||||
Explore Docs <span aria-hidden="true"> →</span>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ import createGlobe from "cobe";
|
||||
import { useEffect, useRef } from "react";
|
||||
import { motion } from "motion/react";
|
||||
import { IconBrandYoutubeFilled } from "@tabler/icons-react";
|
||||
import { H2, P } from '@/components/Texts'
|
||||
import { H2, P, CP, Eyebrow } from '@/components/Texts'
|
||||
|
||||
|
||||
export function HomeBenefits() {
|
||||
@@ -16,13 +16,13 @@ export function HomeBenefits() {
|
||||
{
|
||||
title: "Autonomous",
|
||||
description:
|
||||
"The cloud that runs itself. From deployment to scaling, Mycelium Cloud automates everything — so your systems stay fast, resilient, and adaptive.",
|
||||
"The cloud that runs itself. From deployment to scaling, Mycelium Cloud automates everything.",
|
||||
image: "/images/benefits/autonomous.webp",
|
||||
},
|
||||
{
|
||||
title: "Energy Efficient",
|
||||
description:
|
||||
"Built on distributed nodes designed for minimal energy use, Mycelium Cloud redefines sustainability without compromising performance.",
|
||||
"Built on distributed nodes designed for minimal energy use, it redefines sustainability without compromising performance.",
|
||||
image: "/images/benefits/energy.webp",
|
||||
},
|
||||
{
|
||||
@@ -33,13 +33,16 @@ export function HomeBenefits() {
|
||||
},
|
||||
];
|
||||
return (
|
||||
<div className="relative z-20 py-10 lg:py-40 max-w-7xl mx-auto">
|
||||
<div className="relative z-20 py-10 lg:py-24 max-w-7xl mx-auto">
|
||||
<div className="px-12">
|
||||
<Eyebrow className="text-center text-cyan-500">
|
||||
Benefits
|
||||
</Eyebrow>
|
||||
<H2 className="text-3xl lg:text-5xl lg:leading-tight max-w-5xl mx-auto text-center tracking-tight font-medium text-black dark:text-white">
|
||||
Why It Changes Everything
|
||||
</H2>
|
||||
|
||||
<P className="text-sm lg:text-base max-w-2xl my-4 mx-auto text-neutral-500 text-center font-normal dark:text-neutral-300">
|
||||
<P className=" max-w-3xl my-4 mx-auto text-center text-gray-600">
|
||||
Project Mycelium is a new foundation for digital independence. A self-governing, AI-powered infrastructure that gives you control, efficiency, and trust without compromise.
|
||||
</P>
|
||||
</div>
|
||||
@@ -57,9 +60,9 @@ export function HomeBenefits() {
|
||||
</div>
|
||||
<div className="w-2/3 p-2 pr-12">
|
||||
<h3 className="text-lg font-semibold text-black dark:text-white">{features[0].title}</h3>
|
||||
<p className="mt-2 text-sm text-gray-600 dark:text-gray-300">
|
||||
<CP className="mt-2 text-gray-600 dark:text-gray-300">
|
||||
{features[0].description}
|
||||
</p>
|
||||
</CP>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -76,9 +79,9 @@ export function HomeBenefits() {
|
||||
</div>
|
||||
<div className="w-2/3 p-4">
|
||||
<h3 className="text-lg font-semibold text-black dark:text-white">{features[1].title}</h3>
|
||||
<p className="mt-2 text-sm text-gray-600 dark:text-gray-300">
|
||||
<CP className="mt-2 text-gray-600 dark:text-gray-300">
|
||||
{features[1].description}
|
||||
</p>
|
||||
</CP>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -95,9 +98,9 @@ export function HomeBenefits() {
|
||||
</div>
|
||||
<div className="w-2/3 p-4">
|
||||
<h3 className="text-lg font-semibold text-black dark:text-white">{features[2].title}</h3>
|
||||
<p className="mt-2 text-sm text-gray-600 dark:text-gray-300">
|
||||
<CP className="mt-2 text-gray-600 dark:text-gray-300">
|
||||
{features[2].description}
|
||||
</p>
|
||||
</CP>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -114,9 +117,9 @@ export function HomeBenefits() {
|
||||
</div>
|
||||
<div className="w-2/3 p-2 pr-12">
|
||||
<h3 className="text-lg font-semibold text-black dark:text-white">{features[3].title}</h3>
|
||||
<p className="mt-2 text-sm text-gray-600 dark:text-gray-300">
|
||||
<CP className="mt-2 text-gray-600 dark:text-gray-300">
|
||||
{features[3].description}
|
||||
</p>
|
||||
</CP>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -23,7 +23,7 @@ export function HomeCloud() {
|
||||
/>
|
||||
<div className="w-full flex-auto">
|
||||
<H2 className="">
|
||||
Mycelium <span className="font-medium text-7xl italic">Cloud</span>
|
||||
Mycelium <span className="font-medium text-7xl">Cloud</span>
|
||||
</H2>
|
||||
<P className="mt-6 text-lg/8 text-pretty text-gray-600">
|
||||
A comprehensive platform for deploying and managing Kubernetes clusters on the decentralized Mycelium Grid infrastructure
|
||||
|
||||
@@ -35,7 +35,7 @@ export function WorldMap() {
|
||||
>
|
||||
<Eyebrow color="accent">Decentralized Network</Eyebrow>
|
||||
<SectionHeader color="light">Project Mycelium is Live.</SectionHeader>
|
||||
<P className=" mt-4 text-base leading-relaxed" color="light">
|
||||
<P className=" mt-4" color="light">
|
||||
Project Mycelium enables anyone to deploy
|
||||
their own Internet infrastructure, anywhere.
|
||||
</P>
|
||||
@@ -67,7 +67,7 @@ export function WorldMap() {
|
||||
>
|
||||
<MagicCard
|
||||
gradientColor="#334155"
|
||||
className="shadow-xl shadow-cyan-500/15 border border-gray-500/50 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-xl hover:shadow-cyan-500/20"
|
||||
className="border border-gray-500/30 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-xl hover:shadow-cyan-500/20"
|
||||
>
|
||||
<div><CT color="light" className="uppercase tracking-wide [text-shadow:0_0_12px_var(--color-cyan-500)]">CORES</CT></div>
|
||||
<div><CountUpNumber end={54958} className="mt-2 text-3xl font-bold text-white [text-shadow:0_0_12px_var(--color-cyan-500)]" /></div>
|
||||
@@ -86,7 +86,7 @@ export function WorldMap() {
|
||||
>
|
||||
<MagicCard
|
||||
gradientColor="#334155"
|
||||
className="shadow-xl shadow-cyan-500/15 border border-gray-500/50 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-xl hover:shadow-cyan-500/20"
|
||||
className="border border-gray-500/30 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-xl hover:shadow-cyan-500/20"
|
||||
>
|
||||
<div><CT color="light" className="uppercase tracking-wide [text-shadow:0_0_12px_var(--color-cyan-500)]">NODES</CT></div>
|
||||
<div><CountUpNumber end={1493} className="mt-4 text-3xl font-bold text-white [text-shadow:0_0_12px_var(--color-cyan-500)]" /></div>
|
||||
@@ -105,7 +105,7 @@ export function WorldMap() {
|
||||
>
|
||||
<MagicCard
|
||||
gradientColor="#334155"
|
||||
className="shadow-xl shadow-cyan-500/15 border border-gray-500/50 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-xl hover:shadow-cyan-500/20"
|
||||
className="border border-gray-500/30 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-xl hover:shadow-cyan-500/20"
|
||||
>
|
||||
<div><CT color="light" className="uppercase tracking-wide [text-shadow:0_0_12px_var(--color-cyan-500)]">SSD CAPACITY</CT></div>
|
||||
<div><CountUpNumber end={5388956} className="mt-2 text-3xl font-bold text-white [text-shadow:0_0_12px_var(--color-cyan-500)]" /></div>
|
||||
@@ -124,7 +124,7 @@ export function WorldMap() {
|
||||
>
|
||||
<MagicCard
|
||||
gradientColor="#334155"
|
||||
className="shadow-xl shadow-cyan-500/15 border border-gray-500/50 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-xl hover:shadow-cyan-500/20"
|
||||
className="border border-gray-500/30 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-xl hover:shadow-cyan-500/20"
|
||||
>
|
||||
<div><CT color="light" className="uppercase tracking-wide [text-shadow:0_0_12px_var(--color-cyan-500)]">COUNTRIES</CT></div>
|
||||
<div><CountUpNumber end={44} className="mt-2 text-3xl font-bold text-white [text-shadow:0_0_12px_var(--color-cyan-500)]" /></div>
|
||||
|
||||
@@ -9,7 +9,7 @@ export function HomeMapSection() {
|
||||
<div className="max-w-7xl mx-auto text-center">
|
||||
<H2 className="font-medium text-xl md:text-4xl dark:text-white text-gray-800">
|
||||
Mycelium Network is{" "}
|
||||
<span className="text-black text-bold italic">
|
||||
<span className="text-black text-bold">
|
||||
{"Live.".split("").map((word, idx) => (
|
||||
<motion.span
|
||||
key={idx}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { Carousel, Card } from "@/components/ui/apple-cards-carousel";
|
||||
import { H3, P } from "@/components/Texts";
|
||||
import { H3, P , Eyebrow} from "@/components/Texts";
|
||||
|
||||
export function HomeSlider() {
|
||||
const cards = data.map((card) => (
|
||||
@@ -11,8 +11,11 @@ export function HomeSlider() {
|
||||
return (
|
||||
<div className="w-full h-full py-20 bg-[#0b0b0b]">
|
||||
<div className="max-w-7xl mx-auto pl-4">
|
||||
<Eyebrow className="text-left">
|
||||
Ecosystem
|
||||
</Eyebrow>
|
||||
<H3 className="text-left text-white">
|
||||
Discover the Mycelium Ecosystem
|
||||
Discover the Mycelium Components
|
||||
</H3>
|
||||
<div className="mt-4 max-w-3xl">
|
||||
<P className="text-left text-neutral-400">
|
||||
@@ -26,12 +29,12 @@ export function HomeSlider() {
|
||||
}
|
||||
|
||||
|
||||
import networkImage from "@/images/slider/network1.jpg";
|
||||
import agentImage from "@/images/slider/agent1.jpg";
|
||||
import cloudImage from "@/images/slider/cloud1.jpg";
|
||||
import gpuImage from "@/images/slider/gpu1.jpg";
|
||||
import computeImage from "@/images/slider/compute1.jpg";
|
||||
import storageImage from "@/images/slider/storage1.jpg";
|
||||
import networkImage from "/images/pages/network.webp";
|
||||
import agentImage from "/images/pages/agent.webp";
|
||||
import cloudImage from "/images/pages/cloud.webp";
|
||||
import gpuImage from "/images/pages/gpu.webp";
|
||||
import computeImage from "/images/pages/compute.webp";
|
||||
import storageImage from "/images/pages/storage.webp";
|
||||
|
||||
const data = [
|
||||
{
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
import { motion } from "framer-motion";
|
||||
import { StackedCubesLight } from "@/components/ui/StackedCubesLight";
|
||||
import { P, SectionHeader, Eyebrow } from "@/components/Texts";
|
||||
import { P, Eyebrow, H3 } from "@/components/Texts";
|
||||
import { FadeIn } from "@/components/ui/FadeIn";
|
||||
|
||||
export function StackSectionLight() {
|
||||
return (
|
||||
<section className="relative w-full overflow-hidden py-24 lg:py-40 isolate">
|
||||
<section className="relative w-full overflow-hidden py-24 isolate">
|
||||
{/* === Background Layer === */}
|
||||
<div className="absolute inset-0 z-0 bg-transparent">
|
||||
{/* Central main aura */}
|
||||
@@ -15,7 +15,7 @@ export function StackSectionLight() {
|
||||
className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-[1200px] h-[1200px] rounded-full pointer-events-none"
|
||||
style={{
|
||||
background:
|
||||
"radial-gradient(circle, rgba(180,255,255,0.55) 0%, rgba(0,210,255,0.35) 35%, rgba(255,255,255,0) 55%)",
|
||||
"radial-gradient(circle, rgba(180,255,255,0.55) 0%, rgba(0,210,255,0.35) 5%, rgba(255,255,255,0) 10%)",
|
||||
filter: "blur(140px)",
|
||||
}}
|
||||
animate={{
|
||||
@@ -56,13 +56,13 @@ export function StackSectionLight() {
|
||||
<div className="text-center lg:text-left z-10">
|
||||
<FadeIn>
|
||||
<Eyebrow color="accent">Technology Layers</Eyebrow>
|
||||
<SectionHeader color="dark" className="text-4xl sm:text-5xl font-semibold">
|
||||
The Mycelium Stack
|
||||
</SectionHeader>
|
||||
<H3 color="dark" className="">
|
||||
Mycelium Stack
|
||||
</H3>
|
||||
</FadeIn>
|
||||
|
||||
<FadeIn>
|
||||
<P color="dark" className="mt-6 text-lg leading-relaxed text-gray-600">
|
||||
<P color="dark" className="mt-6 text-gray-600">
|
||||
Project Mycelium unifies compute, storage, networking, and AI into a resilient
|
||||
ecosystem that preserves data sovereignty, powers seamless collaboration,
|
||||
and keeps every layer of your infrastructure secure end to end on decentralized infrastructure.
|
||||
|
||||
@@ -53,7 +53,7 @@ export function StorageArchitecture() {
|
||||
<section className="bg-gray-50 py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.32em] uppercase text-cyan-500">
|
||||
<Eyebrow>
|
||||
Technical Architecture
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
|
||||
@@ -64,7 +64,7 @@ export function StorageFeatures() {
|
||||
<section id="storage-features" className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.32em] uppercase text-cyan-500">
|
||||
<Eyebrow>
|
||||
Core Features
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
|
||||
@@ -9,7 +9,7 @@ export function StorageHero() {
|
||||
<div className="relative h-80 overflow-hidden bg-transparent md:absolute md:right-0 md:h-full md:w-1/3 lg:w-1/2">
|
||||
<img
|
||||
alt="Mycelium Storage visual"
|
||||
src="/images/storagehero2.png"
|
||||
src="/images/storage4.png"
|
||||
className="size-full object-cover"
|
||||
/>
|
||||
</div>
|
||||
@@ -27,7 +27,7 @@ export function StorageHero() {
|
||||
data exactly where you need it while keeping ownership entirely in
|
||||
your hands.
|
||||
</P>
|
||||
<P className="mt-4 italic text-gray-500">
|
||||
<P className="mt-4 text-gray-500">
|
||||
Quantum-safe. Self-healing. Universally accessible.
|
||||
</P>
|
||||
<div className="mt-10 flex flex-wrap gap-4">
|
||||
|
||||
@@ -43,11 +43,11 @@ export function StorageOverview() {
|
||||
{highlights.map((item) => (
|
||||
<div
|
||||
key={item.title}
|
||||
className="group relative overflow-hidden rounded-3xl border border-white/10 bg-white/[0.04] p-8 backdrop-blur-sm transition hover:-translate-y-1 hover:border-cyan-300/50 hover:bg-white/[0.08]"
|
||||
className="group relative overflow-hidden rounded-3xl border border-white/10 bg-white/4 p-8 backdrop-blur-sm transition hover:-translate-y-1 hover:border-cyan-300/50 hover:bg-white/8"
|
||||
>
|
||||
<div className="absolute inset-0 bg-gradient-to-br from-cyan-500/0 via-white/[0.05] to-cyan-300/20 opacity-0 transition group-hover:opacity-100" />
|
||||
<div className="absolute inset-0 bg-linear-to-br from-cyan-500/0 via-white/5 to-cyan-300/20 opacity-0 transition group-hover:opacity-100" />
|
||||
<div className="relative">
|
||||
<Small className="text-xs uppercase tracking-[0.35em] text-cyan-200">
|
||||
<Small className="text-xs uppercase tracking-[0.16em] text-cyan-200">
|
||||
{item.label}
|
||||
</Small>
|
||||
<h3 className="mt-4 text-lg font-semibold text-white">
|
||||
|
||||
@@ -84,7 +84,7 @@ export function StorageUseCases() {
|
||||
<section className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow className="tracking-[0.32em] uppercase text-cyan-500">
|
||||
<Eyebrow>
|
||||
Use Cases
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
|
||||
@@ -6,6 +6,9 @@ export default {
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
fontFamily: {
|
||||
sans: ['Mulish', 'system-ui', 'Avenir', 'Helvetica', 'Arial', 'sans-serif'],
|
||||
},
|
||||
keyframes: {
|
||||
'glitch-1': {
|
||||
'0%': { transform: 'none' },
|
||||
|
||||