51 Commits

Author SHA1 Message Date
c15b110afe feat: adjust hero section width on homepage
- Reduced max-width of hero content container from max-w-3xl to max-w-2xl for better content alignment and readability
- Content width now matches design specifications for desktop breakpoints
2025-11-01 21:08:51 +01:00
3564b5cb0f feat: enhance homepage with smooth scroll navigation
- Added scroll-to-slider functionality when clicking "Get Started" button
- Modified AnimatedSection to support ref forwarding for scroll targeting
- Updated HomeAurora component to accept click handler prop
- Refined homepage hero text and description for clearer value proposition
- Changed button from link to click handler for better user interaction
2025-11-01 21:08:42 +01:00
51ef8dffb5 feat: enhance UI components and layout styling
- Updated FeatureDescription text size to be larger on desktop (lg:text-base)
- Added rounded corners (rounded-3xl) to DarkCard component
- Modified CloudArchitecture section with wider container (max-w-5xl) and updated heading styles
- Adjusted mobile feature navigation indicators with darker colors (bg-gray-600/700)
- Improved hero section typography using H2 and H5 components for better hierarchy
- Refined padding and background styling in CloudFeatures mobile
2025-11-01 21:02:35 +01:00
9d8f1a6919 refactor: replace MagicCard with DarkCard component
- Replaced MagicCard with new DarkCard component across apple-cards-carousel and HomeGlobe
- Updated card styling and layout in apple-cards-carousel to work with DarkCard
- Removed gradient and border styling from globe stats cards
- Adjusted padding and margin values to maintain consistent appearance
- Fixed spacing and alignment of chevron icon in cards
2025-10-31 15:35:45 +01:00
0f93199aa4 feat: redesign card carousel with modern layout and improved visuals
- Updated card component design from image background to structured layout with separate content and image sections
- Added dedicated image container with proper scaling and positioning for product images
- Refined typography with new styling for category, title and description text
- Increased gap between carousel cards from 4 to 6 units for better spacing
- Adjusted card dimensions and padding for better responsive behavior
- Update
2025-10-31 14:35:45 +01:00
57fa97cc70 feat: update home slider images to PNG format
- Added new PNG format images for network, agent, cloud, GPU, compute and storage sections
- Updated image source paths in HomeSlider component to reference new PNG files
- Replaced legacy .webp gallery images with dedicated page-specific images for better quality and consistency
2025-10-31 14:11:52 +01:00
fa7c524b18 feat: remove cloud overview section from landing page
- Removed CloudOverview component from CloudPage to streamline the user experience
- Simplified page layout to focus on hero section and features content
- Maintained AnimatedSection wrapper structure for remaining components
2025-10-31 05:02:26 +01:00
f1c388cbab refactor: reorganize cloud page component structure
- Moved CloudOverview component into its own AnimatedSection for consistent layout
- Reordered imports to match component rendering sequence
- Fixed spacing and removed empty line in component structure
2025-10-31 05:02:02 +01:00
ea3ee4d455 feat: add dynamic header navigation with current page tracking
- Added useLocation hook to detect and display current page in header dropdown
- Extracted cloud navigation items into separate constant for reusability
- Implemented getCurrentPageName function to determine active page based on URL path
- Updated dropdown button to dynamically show current section instead of static "Cloud" text
2025-10-31 04:58:58 +01:00
24f6da37ed feat: enhance cloud features UI with improved image styling
- Removed CircleBackground component and its instances from desktop and mobile views for cleaner design
- Updated image shadows from shadow-xl to shadow-2xl for stronger depth effect
- Modified image positioning with -ml-32 margin for better layout alignment in tablet and desktop views
- Removed unnecessary background animations to improve visual focus on feature screenshots
2025-10-31 04:55:30 +01:00
c861f15492 feat: update hero images and adjust cloud features layout
- Changed cloud hero background image from cloudhero3.webp to cloudhero4.webp for improved visual appeal
- Updated compute hero image path from hero.webp to cloudhero.webp for consistency
- Increased max width of cloud features container from max-w-none to max-w-3xl on large screens for better content readability
2025-10-31 04:50:11 +01:00
bfe3c1e4bd feat: redesign cloud features section with new UI and content
- Replaced mobile phone mockups with full-width desktop screenshots for cloud platform features
- Updated feature descriptions to focus on cloud/Kubernetes capabilities instead of network features
- Changed section layout to improve desktop view with left-aligned feature tabs
- Removed unused phone frame component and related mobile UI elements
- Updated image assets from jpg to png format and reorganized image paths
- Reordered page
2025-10-31 04:40:14 +01:00
26ae2f156a feat: add mobile app UI screenshots and enhance text components
- Added new app UI screenshots for cloud features (connector, billing, kubeconfig, reserve)
- Added new hero image (cloudhero3.webp) for cloud section
- Enhanced Texts component with new cyan color variant and default props support
- Updated Eyebrow component to use consistent styling with accent color and tracking
- Simplified CloudArchitecture component by removing redundant style props
- Completely rebuilt CloudFeatures component with
2025-10-31 04:04:44 +01:00
33c940c604 feat: update cloud page hero and home slider components
- Replaced CloudHero with new CloudHeroNew component on cloud page
- Added new cloud-related images (cloudhero.webp, cloudhero2.webp, k82.png) to public assets
- Enhanced HomeSlider section with Eyebrow component for "Ecosystem" label
- Updated HomeSlider heading text from "Discover the Mycelium Ecosystem" to "Discover the Mycelium Components"
2025-10-31 03:36:19 +01:00
0837a8313c refactor: remove unused text component imports
- Removed unused H2 import from HomeAurora.tsx
- Removed unused SectionHeader import from StackSection.tsx
- Cleaned up import statements to only include components being used
2025-10-31 03:10:39 +01:00
b311cb22a4 feat: improve text styling and layout in home sections
- Replaced custom paragraph tags with CP component for consistent text styling
- Updated leading value from [1.525] to relaxed for better readability
- Simplified feature descriptions while maintaining key messaging
- Streamlined header styling in Stack section and removed redundant text classes
- Standardized text color and spacing across sections for visual consistency
2025-10-31 03:09:47 +01:00
b987f1a072 feat: enhance card component styling and responsiveness
- Added subtle border to cards with 30% opacity gray color for improved visual definition
- Increased description text size from sm to base on mobile and lg on desktop for better readability
- Maintained hover and transition effects while improving visual hierarchy
- Ensured consistent spacing and alignment across card elements
2025-10-31 03:09:07 +01:00
dd4eba2215 feat: update UI styling and add new page images
- Added new WebP images for different pages (agent, cloud, compute, gpu, network, storage)
- Updated benefits section images with optimized WebP versions
- Enhanced text styling:
  - Increased paragraph font size to text-xl on large screens
  - Adjusted H5 line height for better readability
  - Updated card paragraph text size to text-base
- Refined visual design elements:
  - Changed cube stroke color to gray-600 for subtler appearance
  - Adjusted glow effects and gradients to
2025-10-31 03:01:17 +01:00
ea1ef853f1 feat: add hero image for landing page
- Added hero11.webp image file to public/images directory for use in website landing page
2025-10-31 01:38:26 +01:00
5b05dababb style: adjust eyebrow text tracking for better readability
- Changed tracking property from 'tracking-wide' to 'tracking-wider' to increase letter spacing in eyebrow text component
- Improves visual hierarchy and text legibility for uppercase headings
2025-10-31 01:36:16 +01:00
ab5ac43793 feat: update website design and assets
- Replaced multiple hero and background images with new optimized versions
- Removed unused image assets from public/images directory
- Updated typography styles:
  - Removed italic styling from various text components
  - Made eyebrow text uppercase
  - Adjusted H1 font size from 6xl to 5xl on mobile
- Redesigned HomeAurora component with new layout and background
- Added Mulish as primary font family in Tailwind config
- Updated text formatting and spacing
2025-10-31 01:36:08 +01:00
fb9250c365 feat: add Mulish font family to website
- Added Google Fonts stylesheet link to load Mulish font with weights 400, 500, and 700
- Included preconnect links for optimal font loading performance
2025-10-31 01:35:03 +01:00
04d08a4265 feat: update docs button text for improved UI clarity
- Shortened "Read Docs" button text to "Docs" for cleaner, more concise presentation in the CallToAction component
- Maintains same button styling and positioning while reducing visual clutter
2025-10-30 14:34:34 +01:00
07f76639d2 docs: update repository URL in README
- Fixed repository URL by removing underscore between "project" and "mycelium"
- Ensures correct link for accessing project repository
2025-10-30 13:06:25 +01:00
a59e09e8ed docs: update README with comprehensive project documentation
- Expanded project overview with detailed technology stack and dependencies
- Added deployment information for production and staging environments
- Included complete development setup instructions and contribution guidelines
- Added issue reporting process and contact information
- Updated file structure documentation with new component organization
- Included branding guidelines and font specifications
- Added links to project management
2025-10-30 13:05:40 +01:00
9f81561a86 refactor: improve type safety and component stability in HalfGlobe
- Replaced custom RotatableGroup type with Three.js Group type for better type safety
- Added key prop to root div element to help React's reconciliation process
- Removed unnecessary custom type definition by using built-in Three.js types
2025-10-30 13:04:51 +01:00
c0cbe7e6bf perf: implement lazy loading for route components
- Added React.lazy() for all page components to enable code splitting
- Wrapped Routes with Suspense component and loading fallback state
- Converted static imports to dynamic imports to reduce initial bundle size
- Added semicolons for consistent code style
2025-10-30 13:04:44 +01:00
Emre
6d6cbd115a fixed build errors 2025-10-28 19:47:55 +03:00
Emre
3c9823bf80 new dropdown content from Mik 2025-10-28 19:32:09 +03:00
mik-tf
1260afdd82 docs: add developer docs for compute and storage 2025-10-27 12:32:21 -04:00
ff1f29b652 feat: add GPU overview section with key features
- Created new GpuOverview component showcasing 4 core features of GPU service
- Added responsive grid layout with feature cards displaying icons and descriptions
- Integrated overview section into GpuPage between hero and call-to-action
- Implemented dark theme styling with cyan accents for feature icons
- Added descriptive text explaining unified GPU acceleration across ThreeFold Grid
2025-10-27 17:16:14 +01:00
41bd49dfaf feat: standardize button components and update GPU hero section
- Refactored Button component usage across hero sections to use consistent variant/color props instead of inline styles
- Added new cyan outline button variant with hover state styling
- Updated GPU hero section with new heading, condensed description, and dual CTA buttons
- Standardized button spacing and removed unnecessary whitespace in button text
- Modified Button component type definitions to support cyan color in outline variant
2025-10-27 17:15:58 +01:00
9ae3785c70 feat: update button hover color scheme across hero sections
- Changed hover color from indigo-500 to cyan-600 on primary action buttons in all hero components
- Standardized hover state styling across Cloud, Compute, GPU and Storage pages
- Improved color consistency by keeping interactions within the cyan color family
2025-10-27 17:01:15 +01:00
24a0a981a9 feat: update hero button styling across product pages
- Changed button background color from indigo-600 to cyan-500 for consistent branding
- Updated button border radius from rounded-md to rounded-xl for softer appearance
- Modified focus outline color from indigo-600 to cyan-600 to match new button color
- Applied changes consistently across Cloud, Compute, GPU, and Storage hero sections
2025-10-27 17:00:33 +01:00
e5cbce4c86 style: adjust footer logo size and spacing
- Reduced logo dimensions from 20x20 to 15x15 pixels for better visual balance
- Updated height and width classes from h-20/w-20 to h-15/w-15 to match new design spec
2025-10-27 15:23:38 +01:00
2ba55566b5 feat: redesign benefits section with image cards
- Replaced icon-based feature cards with new image-based card layout using product benefit images
- Updated grid layout to 7-column system with asymmetric card sizes for better visual hierarchy
- Added hover effects with cyan highlights and scale transitions for better interactivity
- Implemented responsive design with custom rounded corners for mobile/desktop views
- Removed unused FeatureCard, FeatureTitle and FeatureDescription components
- Adde
2025-10-27 15:22:42 +01:00
mik-tf
d82d3351f3 docs: add developer docs for gpu and cloud 2025-10-27 09:51:50 -04:00
05cd30f510 feat: redesign agents hero section for improved visual hierarchy
- Updated layout to use centered vertical alignment with justify-center
- Added semi-transparent white overlay (bg-white/30) for better text contrast
- Changed text color to white and added drop shadows for improved readability
- Repositioned scroll arrow to fixed bottom position for consistent placement
- Removed redundant padding and margin adjustments
- Updated font weight from light to normal for better legibility
2025-10-27 14:50:11 +01:00
2a141cbc91 Based on the git diff, here's an appropriate commit message:
feat: update brand logo assets

- Added new logo_1.png image file to public/images directory
- Simplified logomark.svg by removing complex gradient patterns and clip paths
- Reduced SVG markup complexity for better performance and maintainability

This is a "feat" type commit since it modifies user-visible brand assets. The message clearly describes both the addition of a new logo file and the simplification of the existing SVG logomark,
2025-10-27 13:58:51 +01:00
2ebdb14409 refactor: simplify home slider and carousel components
- Removed unused DummyContent component and content prop from slider data
- Simplified Card component mapping by removing unnecessary index parameter
- Cleaned up whitespace in apple-cards-carousel component
- Streamlined data structure by removing unused content fields from slider items
2025-10-27 13:50:57 +01:00
3ea9e77a7b refactor: remove unused isMobile function
- Deleted unused isMobile() function that was checking window width
- Cleaned up code by removing redundant window width check that wasn't being utilized in the component
2025-10-27 13:29:20 +01:00
a52e838d17 feat: update card carousel to use direct background images
- Replaced BlurImage component with direct background image styling for better performance
- Added new 'bg' property to Card type to support background image imports
- Imported slider background images for each card category
- Removed redundant background color class and BlurImage component
- Updated card styling to maintain visual consistency with background images
2025-10-27 13:29:05 +01:00
b543aebce9 style: adjust gradient fade radius in StackSection
- Reduced gradient fade-out radius from 90% to 30% for more concentrated visual effect
- Adjusted middle gradient stop from 50% to 20% to create smoother transition
- Fine-tuned visual appearance of the radial background gradient in light theme
2025-10-27 11:41:11 +01:00
8844ec8a63 feat: update cube component color scheme from cyan to blue
- Changed cube gradient colors from cyan to blue for better visual consistency
- Updated glow effects and shadows to use blue (rgba(59, 130, 246)) instead of cyan
- Modified background aura gradients in StackSection for enhanced depth perception
- Replaced HomeFeaturesDark component with new HomeSlider in HomePage layout
- Added isolate property to StackSection to prevent gradient bleeding
- Enhanced background layer in StackSection with additional
2025-10-24 21:16:41 +02:00
68b2119c76 feat: enhance UI with glowing effects and visual improvements
- Added new MagicCard component for interactive hover effects with gradient lighting
- Enhanced CubeLight component with cyan glow effects and improved visual styling
- Added new GlowingEffect component for dynamic lighting animations
- Updated StackedCubesLight with ambient gradient background and smoother transitions
- Added tracking-wide property to CP text component for better readability
- Added new networkhero.png image asset
2025-10-24 20:41:42 +02:00
94f4e72e57 feat: update hero sections with new visual designs
- Added new hero section alternatives for Agents, Cloud, Compute and GPU pages with modern visual layouts
- Updated hero background images with new high-quality assets for better visual appeal
- Replaced spinning animation heroes with full-width image + text split layouts
- Added consistent styling across hero sections with left-aligned text and right-side hero images
- Updated hero copy to focus on platform capabilities and value propositions
- Replace
2025-10-24 17:58:21 +02:00
c1952754d7 feat: update homepage hero section design
- Replaced hero background image with new mchip3.webp visual
- Added new home.png asset for UI elements
- Adjusted vertical spacing with pt-[20vh] and -mt-5 for better visual balance
- Refined container layout by removing justify-center for more precise positioning
2025-10-24 16:52:21 +02:00
c0df7c21a7 feat: redesign storage hero section with new layout and visuals
- Replaced spinning circular animation with new static hero image (storagehero2.png)
- Updated hero section layout to right-aligned image with left content format
- Changed messaging to focus on data/intelligence relationship and storage capabilities
- Simplified component by removing BackgroundIllustration and ContactForm
- Updated CTA from "Join Waitlist" to "Talk to an expert"
- Added "STORAGE" label with cyan accent color
- Improved responsive design
2025-10-24 16:42:16 +02:00
be74079de2 feat: convert CTA components to full pages and expand waitlist form options
- Renamed CallToAction components to full Page components for compute, storage and GPU sections
- Added new waitlist form types: storage_waitlist, compute_waitlist, and gpu_waitlist
- Updated form placeholder text to show relevant requirements based on waitlist type
- Fixed string template syntax in Dropdown component CSS classes
2025-10-24 16:30:23 +02:00
752668b38d feat: add cloud services dropdown menu in header
- Replaced individual cloud service pages with CallToAction components for Compute, Storage and GPU
- Added dropdown menu in header to consolidate cloud service navigation options
- Removed redundant page components (Compute.tsx, Storage.tsx, Gpu.tsx) that shared identical layouts
- Updated route components to use new CallToAction components
- Added ChevronDownIcon to visually indicate dropdown functionality
2025-10-24 15:50:12 +02:00
11689fdd37 feat: add new compute, storage and GPU pages with routes
- Created new page components for Compute, Storage and GPU sections with basic layout structure
- Added corresponding routes in App.tsx to enable navigation to the new pages
- Implemented consistent page structure with Header, main content area and Footer
- Added decorative background gradient effect using tailwind classes for visual consistency
2025-10-24 15:34:11 +02:00
151 changed files with 5423 additions and 423 deletions

252
README.md
View File

@@ -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).

View File

@@ -0,0 +1,181 @@
# Mycelium Cloud for Developers
*Developer Guide to Decentralized Cloud Computing*
## Overview
Mycelium Cloud provides a comprehensive platform for deploying and managing Kubernetes clusters on the decentralized ThreeFold Grid infrastructure. This guide covers the core features and capabilities available to developers.
## Architecture
### Decentralized Infrastructure
Mycelium Cloud deploys on ThreeFold Grid's distributed network, providing:
- **Direct Node Access**: Each node gets a unique Mycelium IP address
- **Cross-Node Communication**: Services communicate across nodes using Mycelium networking
- **Secure Communication**: All traffic is encrypted through the Mycelium network
- **No Public IPs Required**: Services accessible via Mycelium IPs
### Network Flow
User Machine → Mycelium Network → Cluster Node → Service
### Kubernetes Management
- **K3s Support**: Full K3s cluster deployment and management
- **IPv6 Networking**: Mycelium peer-to-peer networking
- **High Availability**: Multi-master cluster support
---
## Core Features
### Mycelium Networking
Ultra-fast, decentralized networking inspired by nature. Mycelium Networking forms a resilient, adaptive mesh that routes around failures and optimizes for speed and security.
**Features:**
- End-to-end encrypted
- Nature-inspired
- Direct node communication
- Secure peer-to-peer connections
### Zero-Image Technology
Metadata-driven zero-images cut artifacts up to 100x, slashing bandwidth and deployment overhead.
**Benefits:**
- **Deterministic Deployments**: Cryptographic verification ensures every workload deploys exactly as intended—no tampering, no drift
- **Multi-Workload Compatibility with Secure Boot**: Run containers, VMs, and Linux workloads anywhere with stateless secure boot and continuous verification
- **Smart Contract-Based Deployment**: Cryptographically signed contracts orchestrate every workload with transparent, tamper-proof execution
### Quantum-Safe Storage (QSS)
Quantum-resistant encryption secures data beyond the app layer so ownership and control stay yours.
**Features:**
- **Self-Healing Storage System**: Autonomous recovery heals failures or corruption instantly, preserving integrity without human intervention
- **Multi-Protocol Data Access**: Serve the same data via IPFS, S3, WebDAV, HTTP, and native file systems for seamless integration
- **Geo-Aware Data Placement & Replication**: Define residency, redundancy, and distribution per workload while zone-to-zone replication hardens resilience
### Multi-Master Clusters
High-availability Kubernetes clusters with multiple control plane nodes. Automatic failover, leader election, and zero-downtime upgrades built-in.
**Capabilities:**
- **HA Control Plane**
- **Automatic Failover**
- **Zero-downtime Upgrades**
### Effortless Load Balancing & Scaling
Mycelium Cloud automatically balances traffic and scales your services up or down based on demand. Enjoy high availability and optimal performance with zero manual intervention.
**Features:**
- **Auto-scaling**
- **Built-in load balancing**
- **High availability**
### Simple Web Gateway Access
Expose any service to the public web with a simple Kubernetes resource. No complex Ingress controllers. Domain and prefix-based routing is built-in.
**Benefits:**
- **Simple configuration**
- **Built-in routing**
- **No ingress controllers**
---
## Getting Started
### 1. Account Setup
- **Sign Up**: Create your account from signup page
- **Verify Email**: Check your email and verify your account
- **Add Funds**: Navigate to your dashboard and add credits to your account
- **Add SSH Key**: Navigate to Add SSH card and upload your public SSH key
### 2. Deploy Your First Cluster
- **Access Deploy**: Click "Deploy Cluster" from your dashboard
- **Configure VMs**: Define your virtual machines:
- Choose CPU, memory, and storage requirements
- Select the number of master and worker nodes
- **Select Nodes**: Choose ThreeFold Grid nodes for deployment
- **Review & Deploy**: Confirm your configuration and deploy
### 3. Access Your Cluster
#### Download Kubeconfig
- Go to dashboard → Clusters → Click download icon (⬇️)
- Set kubeconfig: `export KUBECONFIG=/path/to/config`
- Test: `kubectl get nodes`
#### SSH Access
- **Find Mycelium IPs**: Check cluster details page for node IPs
- **Download Mycelium Binary**:
```bash
wget https://github.com/threefoldtech/mycelium/releases/latest/download/mycelium-private-x86_64-unknown-linux-musl.tar.gz
tar -xzf mycelium-private-x86_64-unknown-linux-musl.tar.gz
sudo chmod +x mycelium-private
sudo mv mycelium-private /usr/local/bin/mycelium
```
- **Start Mycelium**:
```bash
sudo mycelium --peers tcp://188.40.132.242:9651 tcp://136.243.47.186:9651 tcp://185.69.166.7:9651 tcp://185.69.166.8:9651 tcp://65.21.231.58:9651 tcp://65.109.18.113:9651 tcp://209.159.146.190:9651 tcp://5.78.122.16:9651 tcp://5.223.43.251:9651 tcp://142.93.217.194:9651
```
- **SSH to nodes**: `ssh root@<mycelium-ip>`
---
## Use Cases
### AI/ML Training
Run GPU-accelerated workloads for deep learning and data science on demand.
- **GPU Acceleration**
- **Scalable Compute**
- **Cost Optimization**
### Enterprise Kubernetes
Deploy production-grade clusters with full control and no vendor lock-in.
- **High Availability**
- **Security**
- **Compliance**
### Edge & IoT
Leverage global nodes for low-latency edge computing and IoT applications.
- **Low Latency**
- **Global Distribution**
- **Real-time Processing**
### DigitalMe Example
Example of what can be done with Mycelium Cloud. With a very simple execution, the following can be deployed on k8s cluster and served on Mycelium IPs:
- **Cryptpad**: Encrypted document collaboration
- **Elements**: Matrix chat (the Rust one)
- **Stallwart**: Mail/calendar/contacts
- **Gitea**: Git hosting and code collaboration
- **Nextcloud**: File storage and synchronization
- **LiveKit or Jitsi**: Video conferencing integrated with elements/nextcloud
- **SSO**: Single Sign-On (can this be gitea as backend - later)
This demonstrates the platform's capability to host complex, integrated applications with minimal configuration.
---
## Key Differentiators
### Sovereign by Design
Control jurisdiction, residency, and governance for every workload with transparent, verifiable operations.
### Secure by Default
Cryptographic verification, secure boot, and zero-image delivery protect the entire lifecycle automatically.
### Ready to Scale
Autonomous orchestration keeps the platform elastic, cost-efficient, and always available across the globe.
---
## Security Architecture
### Provable Sovereignty
Assign workloads to trusted zones, verify state with cryptographic proofs, and maintain full lineage for every byte.
### Autonomous Zero-Trust
Identity, policy, and attestation are enforced continuously—no manual keys, no hidden backdoors, no shared control.
### Planetary-Scale Resilience
Mesh-connected infrastructure routes around failure, keeping applications responsive even when regions go dark.
---
*Mycelium Cloud - Comprehensive platform for decentralized Kubernetes deployment.*

View File

@@ -0,0 +1,215 @@
# Mycelium Compute for Developers
*Deterministic Compute Fabric*
## Overview
Mycelium Compute provides a sovereign, deterministic compute fabric that enables developers to launch workloads with cryptographic certainty and autonomous operations. Built on decentralized infrastructure, it offers transparent, verifiable computing environments with zero manual intervention.
## Core Concept
Deterministic compute fabric ensures that every workload deploys exactly as intended with cryptographic verification, eliminating tampering and drift while maintaining full operational autonomy.
---
## Core Features
### Deterministic Deployments
Cryptographic verification ensures every workload deploys exactly as intended—no tampering, no drift.
**Benefits:**
- **Cryptographic Verification**: Every workload component verified before deployment
- **No Configuration Drift**: Environments remain exactly as specified
- **Tamper Detection**: Any unauthorized changes immediately identified
- **Complete Reproducibility**: Exact same environment every deployment
### Self-Managing & Stateless Infrastructure
Fully autonomous infrastructure that scales globally without manual intervention.
**Capabilities:**
- **Autonomous Operations**: No manual intervention required for scaling
- **Global Scaling**: Infrastructure scales across the ThreeFold Grid
- **Stateless Design**: No persistent dependencies on specific hardware
- **Self-Healing**: Automatic recovery from failures and issues
### Smart Contract-Based Deployment
Cryptographically signed contracts orchestrate every workload with transparent, tamper-proof execution.
**Benefits:**
- **Cryptographic Signatures**: Every deployment contract cryptographically signed
- **Transparent Execution**: All operations verifiable and auditable
- **Tamper-Proof**: Immutable deployment contracts
- **Automated Orchestration**: Smart contracts manage workload lifecycle
### Multi-Workload Compatibility with Secure Boot
Run containers, VMs, and Linux workloads anywhere with stateless secure boot and continuous verification.
**Capabilities:**
- **Container Support**: Full Kubernetes and Docker compatibility
- **VM Workloads**: Support for virtual machine deployments
- **Linux Workloads**: Native Linux application support
- **Secure Boot**: Hardware-level verification and security
- **Continuous Verification**: Ongoing integrity checking
---
## Zero-Image Integration
Mycelium Compute integrates with Mycelium Storage's Zero-Image technology for ultra-efficient deployments:
**Benefits:**
- **Metadata-Only**: Deployments use metadata instead of full artifacts
- **Instant Startup**: Rapid workload initialization
- **Bandwidth Optimization**: Minimal transfer requirements
- **Global Distribution**: Deploy anywhere on ThreeFold Grid
---
## Technical Architecture
### Deterministic Computing
Mycelium Compute ensures every computational step is predictable and verifiable:
- **Cryptographic Verification**: All computations verified before execution
- **State Determinism**: Same inputs always produce same outputs
- **Tamper Resistance**: Any modification detected immediately
- **Audit Trail**: Complete verification history for all operations
### Stateless Infrastructure
- **No Persistent State**: Workloads don't depend on specific hardware
- **Global Distribution**: Compute resources available worldwide
- **Auto-Scaling**: Automatic resource allocation and scaling
- **Fault Tolerance**: Automatic failover and recovery
### Zero-Image System
- **Metadata-Only**: Images represented as metadata, not full artifacts
- **Instant Deployment**: Rapid workload startup using metadata
- **Efficient Storage**: Minimal storage requirements for images
- **Bandwidth Optimization**: Significant reduction in transfer overhead
---
## Developer Experience
### Simple Deployment
```yaml
# Basic compute workload
apiVersion: v1
kind: Deployment
metadata:
name: deterministic-app
spec:
replicas: 3
selector:
matchLabels:
app: deterministic-app
template:
metadata:
labels:
app: deterministic-app
spec:
containers:
- name: app
image: ubuntu:latest
command: ["echo", "Deterministic deployment"]
```
### Zero-Image Deployment
```yaml
# Using zero-image technology
apiVersion: v1
kind: Pod
metadata:
name: zero-image-pod
spec:
containers:
- name: app
image: "zero-image://ubuntu-latest" # Metadata-only image
command: ["echo", "Running on zero-image"]
```
### Smart Contract Deployment
```yaml
# Smart contract orchestrated deployment
apiVersion: v1
kind: ConfigMap
metadata:
name: deployment-contract
data:
contract: |
smart_contract:
signature: "cryptographically_signed_deployment"
workload_spec:
image: "ubuntu-latest"
replicas: 3
verification_hash: "sha256_hash_of_workload"
```
---
## Use Cases
### AI/ML Training
- **Deterministic Training**: Reproducible machine learning experiments
- **Secure Model Deployment**: Cryptographically verified model artifacts
- **Distributed Training**: Autonomous scaling across compute nodes
- **Zero-Drift Environments**: Consistent training environments
### Application Hosting
- **Transparent Deployments**: Verifiable application deployments
- **Auto-Scaling**: Automatic resource allocation based on demand
- **Global Distribution**: Deploy applications worldwide instantly
- **Secure Execution**: Cryptographically verified runtime environments
### Data Processing
- **Deterministic Pipelines**: Reproducible data processing workflows
- **Secure Computation**: Verified data transformation operations
- **Auto-Scaling**: Dynamic resource allocation for processing workloads
- **Global Processing**: Distribute workloads across ThreeFold Grid
### Scientific Computing
- **Reproducible Research**: Verifiable computational experiments
- **Secure Workloads**: Cryptographically verified scientific applications
- **Auto-Scaling**: Dynamic resource allocation for compute-intensive tasks
- **Global Collaboration**: Share computational resources worldwide
---
## Compute-Specific Use Cases
### Deterministic Training Environments
- **Reproducible ML Experiments**: Identical training conditions every time
- **Scientific Computing**: Verifiable computational research
- **Financial Modeling**: Auditable risk calculations
- **IoT Processing**: Consistent edge computing environments
### Multi-Platform Application Hosting
- **Container Orchestration**: Kubernetes workloads with deterministic deployment
- **VM Management**: Virtual machines with secure boot verification
- **Linux Workloads**: Native applications with cryptographic assurance
- **Hybrid Deployments**: Mix containers, VMs, and bare metal
### Auto-Scaling Workloads
- **Demand-Based Scaling**: Automatic resource allocation based on load
- **Global Distribution**: Deploy compute across ThreeFold Grid
- **Failure Recovery**: Automatic failover and service restoration
- **Cost Optimization**: Scale resources efficiently
---
## Key Differentiators
### Deterministic Guarantee
Every computation is cryptographically verified and guaranteed to produce consistent results.
### Autonomous Operations
Infrastructure manages itself without human intervention, scaling and healing automatically.
### Smart Contract Security
Workload orchestration through cryptographically signed, tamper-proof contracts.
### Multi-Platform Support
Run any workload type - containers, VMs, or native Linux applications.
### Secure Boot Verification
Hardware-level security verification for all deployments.

View File

@@ -0,0 +1,157 @@
# Mycelium GPU for Developers
*The Energy Behind Intelligence*
## Overview
Mycelium GPU provides unified access to distributed GPU acceleration across the ThreeFold Grid. It transforms fragmented GPU resources into a single sovereign fabric for running AI, ML, and rendering workloads.
## Core Concept
Mycelium GPU unifies distributed acceleration into a single sovereign fabric — turning fragmented hardware into one adaptive intelligence layer. Run AI, ML, and rendering workloads anywhere, from edge to core, with deterministic performance and transparent cost.
### Key Principles
- **No Silos**: All GPU resources accessible through single interface
- **No Intermediaries**: Direct access to GPU resources
- **Raw, Verifiable Power**: Every GPU cycle cryptographically verified
- **Orchestrated Through Code**: GPU resources managed through APIs and smart contracts
---
## Use Cases
### AI/ML Training
Run GPU-accelerated workloads for deep learning and data science on demand.
**Features:**
- **GPU Acceleration**: High-performance computing for machine learning
- **Scalable Compute**: Scale training across multiple GPU resources
- **Cost Optimization**: Pay only for actual GPU usage
### Rendering & Visualization
Run high-performance graphics processing workloads.
**Applications:**
- **3D Rendering**: Distributed rendering for film, games, and architecture
- **Scientific Visualization**: Complex data visualization and analysis
- **Virtual Reality**: Real-time VR/AR processing
- **Digital Twins**: Real-time simulation and modeling
### General GPU Computing
High-performance computing for various computational workloads.
**Applications:**
- **Scientific Simulations**: Physics, chemistry, climate modeling
- **Financial Modeling**: Risk analysis and algorithmic trading
- **Cryptocurrency**: Mining and blockchain processing
- **Protein Folding**: Drug discovery and molecular modeling
---
## Integration with Mycelium Cloud
Mycelium GPU works seamlessly with Mycelium Cloud infrastructure:
- **Unified Networking**: GPU nodes accessible via Mycelium network
- **Shared Security**: Zero-trust security model applies to GPU operations
- **Storage Integration**: Access quantum-safe storage from GPU workloads
- **Kubernetes Support**: GPU workloads can be deployed as Kubernetes resources
### Deployment Example
```yaml
# GPU workload specification for Kubernetes
apiVersion: apps/v1
kind: Deployment
metadata:
name: gpu-workload
spec:
replicas: 1
selector:
matchLabels:
app: gpu-compute
template:
metadata:
labels:
app: gpu-compute
spec:
containers:
- name: gpu-compute
image: tensorflow/tensorflow:latest-gpu
resources:
limits:
nvidia.com/gpu: 1
env:
- name: MYCELIUM_GPU_REGION
value: "auto"
```
---
## Getting Started
### Access GPU Resources
1. **Account Setup**: Create Mycelium account with GPU access
2. **Resource Request**: Use Mycelium GPU APIs to request GPU resources
3. **Workload Deployment**: Deploy your AI/ML or compute workload
4. **Monitor Usage**: Track GPU utilization and costs through dashboard
### Basic Workflow
```
Application → Mycelium GPU API → GPU Resource Allocation → Workload Execution
```
### Key Benefits
- **Deterministic Performance**: Predictable GPU allocation and performance
- **Global Distribution**: Access GPU resources worldwide
- **Transparent Costs**: Clear pricing without hidden fees
- **Sovereign Control**: Full control over GPU workloads and data
---
## Technical Architecture
### Distributed GPU Mesh
Mycelium GPU creates a peer-to-peer network of GPU resources accessible through the Mycelium Network.
**Components:**
- **GPU Nodes**: Physical GPU hardware distributed globally
- **Mycelium Network**: Encrypted peer-to-peer communication layer
- **Orchestration Layer**: API and smart contract-based resource management
- **Monitoring**: Real-time GPU utilization and health monitoring
### Performance Characteristics
- **Edge-to-Core Deployment**: Run workloads from edge devices to data centers
- **Adaptive Intelligence Layer**: Optimizes GPU resource allocation
- **Deterministic Performance**: Guaranteed resource availability and performance
- **Transparent Cost**: All GPU usage tracked and billed transparently
---
## Key Differentiators
### Unified Fabric
Transforms fragmented GPU resources into a single, unified acceleration fabric accessible through standard APIs.
### Sovereign Control
Complete control over GPU workloads with no vendor lock-in or geographical restrictions.
### Code-Driven Orchestration
GPU resources managed through APIs and smart contracts, enabling automated and verifiable resource allocation.
### Deterministic Performance
Guaranteed GPU allocation with consistent performance characteristics across all workloads.
---
## Cost Efficiency
Mycelium GPU provides cost-effective access to GPU resources through:
- **Transparent Pricing**: No hidden fees or surprise charges
- **Pay-per-Usage**: Pay only for actual GPU consumption
- **Global Optimization**: Access GPUs where they're most cost-effective
- **No Vendor Lock-in**: Avoid premium pricing from single providers
---
*Mycelium GPU - Unifying distributed acceleration into a sovereign fabric.*

View File

@@ -0,0 +1,234 @@
# Mycelium Storage for Developers
*Quantum-Safe, Sovereign Data Plane*
## Overview
Mycelium Storage provides quantum-safe, sovereign data management that protects and places data precisely while keeping access effortless. Built on advanced cryptographic principles and autonomous recovery systems, it ensures data integrity, availability, and sovereignty across global distributed infrastructure.
## Core Concept
Quantum-safe, sovereign data plane protects data beyond the application layer while providing multi-protocol access and geo-aware placement for complete data control and ownership.
---
## Core Features
### Quantum-Safe Storage (QSS)
Quantum-resistant encryption secures data beyond the app layer so ownership and control stay yours.
**Benefits:**
- **Beyond AES-256**: Quantum-resistant encryption algorithms
- **Multi-Layer Protection**: Data secured beyond application level
- **Future-Proof**: Protected against current and future quantum threats
- **Complete Ownership**: Data control and sovereignty maintained
### Self-Healing Storage System
Autonomous recovery heals failures or corruption instantly, preserving integrity without human intervention.
**Capabilities:**
- **Instant Recovery**: Automatic detection and repair of failures
- **Integrity Preservation**: Data integrity maintained during recovery
- **Autonomous Operation**: No manual intervention required
- **Corruption Healing**: Automatic detection and repair of data corruption
### Multi-Protocol Data Access
Serve the same data via IPFS, S3, WebDAV, HTTP, and native file systems for seamless integration.
**Protocol Support:**
- **IPFS**: Decentralized, content-addressed storage
- **S3**: Amazon S3 compatible API for existing tools
- **WebDAV**: Web-based file access and synchronization
- **HTTP**: Direct API access for web applications
- **Native File Systems**: Standard POSIX file system access
### Geo-Aware Data Placement & Replication
Define residency, redundancy, and distribution per workload while zone-to-zone replication hardens resilience.
**Features:**
- **Data Residency**: Choose where data physically resides
- **Custom Redundancy**: Define replication levels per workload
- **Zone-to-Zone Replication**: Automatic cross-zone data replication
- **Geographic Distribution**: Global data placement across ThreeFold Grid
### Ultra-Efficient Zero-Images (Flists)
Metadata-only flists shrink images up to 100x, replacing heavy VMs and powering instant Zero-OS deployments.
**Benefits:**
- **100x Size Reduction**: Dramatic reduction in image sizes
- **Metadata-Only**: Images represented as metadata, not full artifacts
- **Zero-OS Support**: Instant deployment of operating systems
- **Bandwidth Efficiency**: Minimal transfer requirements
---
## Technical Architecture
### Quantum-Safe Data Protection
- **Post-Quantum Encryption**: Algorithms resistant to quantum computing attacks
- **Beyond Application Layer**: Protection at infrastructure level
- **Cryptographic Verification**: All storage operations verified
- **Future-Proof Security**: Designed for long-term data protection
### Autonomous Self-Healing
- **Continuous Monitoring**: 24/7 detection of failures and corruption
- **Instant Recovery**: Automatic repair without service interruption
- **Data Integrity**: Ongoing verification of all stored data
- **Zero Intervention**: Complete autonomous operation
### Multi-Protocol Access
```
Application → Protocol Adapter → Mycelium Storage → Data Nodes
```
### Geo-Aware Data Governance
- **Sovereignty Control**: Choose specific jurisdictions for data residency
- **Custom Redundancy**: Define replication levels per workload
- **Zone Replication**: Automatic cross-zone data synchronization
- **Global Distribution**: Deploy data across ThreeFold Grid worldwide
---
## Developer Experience
### S3-Compatible Access
```python
# Using S3-compatible API
import boto3
# Initialize S3 client
s3_client = boto3.client(
's3',
endpoint_url='https://storage.mycelium.com',
aws_access_key_id='your_access_key',
aws_secret_access_key='your_secret_key'
)
# Upload file
s3_client.upload_file('local_file.txt', 'my-bucket', 'remote_file.txt')
# Download file
s3_client.download_file('my-bucket', 'remote_file.txt', 'downloaded_file.txt')
```
### WebDAV Access
```bash
# Mount WebDAV storage
mount -t davfs https://storage.mycelium.com/dav /mnt/storage
# Access files normally
cp /mnt/storage/data.txt ./
echo "Data updated" > /mnt/storage/updated.txt
```
### IPFS Integration
```python
# Using IPFS for decentralized access
import ipfshttpclient
# Connect to IPFS
client = ipfshttpclient.connect('/ip4/127.0.0.1/tcp/5001')
# Add file to IPFS
res = client.add('data.txt')
# Access file via IPFS hash
print(f"File available at: {res['Hash']}")
```
### Geo-Aware Configuration
```yaml
# Data placement configuration
apiVersion: v1
kind: ConfigMap
metadata:
name: storage-config
data:
placement: |
geo_aware_storage:
residency: "eu-west"
redundancy: 3
zones:
- "zone-1"
- "zone-2"
- "zone-3"
protocols:
- "s3"
- "ipfs"
- "webdav"
```
---
## Use Cases
### Data Sovereignty Applications
- **Privacy-First Applications**: Complete control over user data location
- **Regulatory Compliance**: Ensure data stays in specific jurisdictions
- **Enterprise Data**: Keep sensitive data in preferred locations
- **DigitalMe Applications**: Self-hosted services with full data control
### Multi-Protocol Applications
- **Legacy System Integration**: Support multiple access protocols simultaneously
- **Hybrid Applications**: Combine centralized and decentralized storage
- **Developer Flexibility**: Choose protocol based on application needs
- **Migration Scenarios**: Gradual migration from traditional storage
### Backup and Recovery
- **Autonomous Backup**: Self-healing storage with automatic recovery
- **Cross-Zone Replication**: Automatic data replication across zones
- **Integrity Verification**: Continuous verification of backup integrity
- **Instant Recovery**: Rapid restoration from storage failures
### Content Distribution
- **Global CDN**: Distribute content across ThreeFold Grid worldwide
- **IPFS Integration**: Decentralized content addressing
- **Multi-Protocol Access**: Serve content via HTTP, S3, WebDAV
- **Geo-Optimization**: Place content near users for optimal performance
---
## Storage-Specific Use Cases
### Data Sovereignty & Compliance
- **Regulatory Requirements**: Ensure data stays in specific jurisdictions
- **Privacy-First Applications**: Complete control over personal data location
- **Enterprise Data Governance**: Keep sensitive business data in controlled regions
- **Cross-Border Compliance**: Navigate international data regulations
### Multi-Protocol Data Solutions
- **Legacy System Integration**: Support existing S3, WebDAV, and HTTP workflows
- **Decentralized Applications**: IPFS integration for blockchain and Web3 projects
- **Hybrid Storage**: Combine centralized and decentralized access patterns
- **Developer Flexibility**: Choose protocols based on application requirements
### Autonomous Backup & Recovery
- **Self-Healing Backups**: Storage automatically maintains backup integrity
- **Cross-Zone Resilience**: Automatic replication across geographic zones
- **Instant Recovery**: Rapid restoration from storage failures
- **Continuous Verification**: Ongoing integrity checking without intervention
### Content Distribution & CDN
- **Global Content Delivery**: Distribute content across ThreeFold Grid worldwide
- **IPFS Integration**: Decentralized content addressing and access
- **Multi-Protocol Serving**: Serve same content via HTTP, S3, WebDAV
- **Geo-Optimized Placement**: Position content near end users
---
## Key Differentiators
### Quantum-Safe Protection
Data protected with encryption algorithms resistant to quantum computing threats.
### Autonomous Self-Healing
Storage manages itself with automatic detection, recovery, and verification.
### Universal Protocol Support
Same data accessible via IPFS, S3, WebDAV, HTTP, and native file systems.
### Geo-Aware Data Governance
Complete control over data placement, residency, and replication.
### Ultra-Efficient Storage
Zero-Image technology reduces storage requirements by 100x.

View File

@@ -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>

10
package-lock.json generated
View File

@@ -12,6 +12,7 @@
"@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",
@@ -2478,6 +2479,15 @@
"react": "^16.8 || ^17.0 || ^18.0"
}
},
"node_modules/@radix-ui/react-icons": {
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/@radix-ui/react-icons/-/react-icons-1.3.2.tgz",
"integrity": "sha512-fyQIhGDhzfc9pK2kH6Pl9c4BDJGfMkPqkyIgYDthyNYoNg3wVhoJMMh19WS4Up/1KMPFVpNsT2q3WmXn2N1m6g==",
"license": "MIT",
"peerDependencies": {
"react": "^16.x || ^17.x || ^18.x || ^19.0.0 || ^19.0.0-rc"
}
},
"node_modules/@radix-ui/react-id": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-1.0.0.tgz",

View File

@@ -14,6 +14,7 @@
"@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",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 497 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 303 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 992 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 802 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 778 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 757 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

BIN
public/images/gpuhero.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 KiB

BIN
public/images/hero11.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
public/images/home.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
public/images/k82.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 910 KiB

BIN
public/images/logo_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 KiB

BIN
public/images/mchip3.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 835 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 KiB

BIN
public/images/pages/gpu.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 230 KiB

BIN
public/images/storage2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@@ -1,23 +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 { 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>
</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>
)
}

View File

@@ -1,4 +1,5 @@
import { motion } from 'framer-motion'
import { forwardRef } from 'react'
type AnimatedSectionProps = {
children: React.ReactNode
@@ -6,9 +7,11 @@ type AnimatedSectionProps = {
className?: string
}
export function AnimatedSection({ children, id, className }: AnimatedSectionProps) {
export const AnimatedSection = forwardRef<HTMLElement, AnimatedSectionProps>(
({ children, id, className }, ref) => {
return (
<motion.section
<motion.section
ref={ref}
id={id}
className={className}
initial={{ opacity: 0, y: 40 }}
@@ -19,4 +22,5 @@ export function AnimatedSection({ children, id, className }: AnimatedSectionProp
{children}
</motion.section>
)
}
},
)

View File

@@ -17,6 +17,7 @@ const variantStyles = {
green: 'bg-green-500 text-white hover:bg-green-600',
},
outline: {
cyan: 'border-cyan-500 text-cyan-500 hover:bg-cyan-50',
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',
},
@@ -29,7 +30,7 @@ type ButtonProps = (
}
| {
variant: 'outline'
color?: keyof typeof variantStyles.outline
color?: (keyof typeof variantStyles.outline) | 'cyan'
}
) &
(

View File

@@ -9,7 +9,7 @@ interface ContactFormProps {
isOpen: boolean
onClose: () => void
title?: string
formType?: 'investor' | 'partner' | 'agent_waitlist'
formType?: 'investor' | 'partner' | 'agent_waitlist' | 'storage_waitlist' | 'compute_waitlist' | 'gpu_waitlist'
}
const initialFormState = {
@@ -187,6 +187,12 @@ export default function ContactForm({
? 'Tell us about your investment interests and how we can collaborate.'
: formType === 'agent_waitlist'
? 'Tell us about your sovereign agent requirements.'
: formType === 'storage_waitlist'
? 'Tell us about your storage requirements.'
: formType === 'compute_waitlist'
? 'Tell us about your compute requirements.'
: formType === 'gpu_waitlist'
? 'Tell us about your GPU requirements.'
: 'Tell us about your project or how we can help.'
}
/>

View File

@@ -8,7 +8,7 @@ export function Footer() {
<div className="flex flex-col items-start justify-between gap-y-12 pt-16 pb-6 lg:flex-row lg:items-center lg:py-8">
<div>
<div className="flex items-center text-gray-900">
<img src="/src/images/logomark.svg" alt="Mycelium Logomark" className="h-20 w-20 flex-none" />
<img src="/src/images/logomark.svg" alt="Mycelium Logomark" className="h-15 w-15 flex-none" />
<div className="ml-4">
<p className="text-base font-semibold">Project Mycelium</p>
<p className="mt-1 text-sm">Unleash the Power of Decentralization</p>

View File

@@ -1,9 +1,30 @@
import { Link } from 'react-router-dom'
import { Link, useLocation } from 'react-router-dom'
import { Dropdown } from './ui/Dropdown'
import { ChevronDownIcon } from '@heroicons/react/20/solid'
import { Container } from './Container'
import { Button } from './Button'
import pmyceliumLogo from '../images/logos/pmyceliumlogo.png'
import pmyceliumLogo from '../images/logos/logo_1.png'
const cloudNavItems = [
{ name: 'Cloud', href: '/cloud' },
{ name: 'Compute', href: '/compute' },
{ name: 'Storage', href: '/storage' },
{ name: 'GPU', href: '/gpu' },
]
export function Header() {
const location = useLocation()
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 (
<header>
<nav>
@@ -13,12 +34,15 @@ export function Header() {
<img src={pmyceliumLogo} alt="Mycelium" className="h-8 w-auto" />
</Link>
<div className="hidden lg:flex lg:gap-10">
<Link
to="/cloud"
className="text-base/7 tracking-tight text-gray-700 hover:text-cyan-500 transition-colors"
>
Cloud
</Link>
<Dropdown
buttonContent={
<>
{getCurrentPageName()}
<ChevronDownIcon className="h-5 w-5" aria-hidden="true" />
</>
}
items={cloudNavItems}
/>
<Link
to="/network"
className="text-base/7 tracking-tight text-gray-700 hover:text-cyan-500 transition-colors"

View File

@@ -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',
@@ -128,7 +131,7 @@ export const FeatureTitle = createTextComponent(
)
export const FeatureDescription = createTextComponent(
'p',
'text-sm leading-normal tracking-normal'
'lg:text-base text-sm leading-normal tracking-normal'
)
export const MobileFeatureTitle = createTextComponent(
'h3',
@@ -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 leading-[1.525] font-light')
export const CP = createTextComponent('p', 'text-sm lg:text-base tracking-wide leading-relaxed font-light')

View File

@@ -0,0 +1,77 @@
import type { ReactNode } from "react";
import { ArrowRight } from "lucide-react";
import { cn } from "@/lib/utils";
const BentoGrid = ({
children,
className,
}: {
children: ReactNode;
className?: string;
}) => {
return (
<div
className={cn(
"grid w-full auto-rows-[22rem] grid-cols-3 gap-4",
className,
)}
>
{children}
</div>
);
};
const BentoCard = ({
name,
className,
background,
Icon,
description,
href,
cta,
}: {
name: string;
className: string;
background: ReactNode;
Icon: any;
description: string;
href: string;
cta: string;
}) => (
<div
key={name}
className={cn(
"group relative col-span-3 flex flex-col justify-between overflow-hidden rounded-xl",
// light styles
"bg-white [box-shadow:0_0_0_1px_rgba(0,0,0,.03),0_2px_4px_rgba(0,0,0,.05),0_12px_24px_rgba(0,0,0,.05)]",
// dark styles
"transform-gpu dark:bg-black dark:[border:1px_solid_rgba(255,255,255,.1)] dark:[box-shadow:0_-20px_80px_-20px_#ffffff1f_inset]",
className,
)}
>
<div>{background}</div>
<div className="pointer-events-none z-10 flex transform-gpu flex-col gap-1 p-6 transition-all duration-300 group-hover:-translate-y-10">
<Icon className="h-12 w-12 origin-left transform-gpu text-neutral-700 -translate-y-12 transition-all duration-300 ease-in-out group-hover:scale-75 group-hover:text-sky-700" />
<h3 className="text-xl font-semibold text-neutral-700 dark:text-neutral-300">
{name}
</h3>
<p className="max-w-lg text-neutral-400">{description}</p>
</div>
<div
className={cn(
"pointer-events-none absolute bottom-0 flex w-full translate-y-10 transform-gpu flex-row items-center p-4 opacity-0 transition-all duration-300 group-hover:translate-y-0 group-hover:opacity-100",
)}
>
<a
href={href}
className="pointer-events-auto inline-flex items-center gap-2 text-sm font-medium text-neutral-600 transition-colors hover:text-sky-700"
>
{cta}
<ArrowRight className="h-4 w-4" />
</a>
</div>
</div>
);
export { BentoCard, BentoGrid };

View File

@@ -0,0 +1,63 @@
'use client';
import { cn } from '@/lib/utils';
import { type ReactNode, useEffect, useRef, useState } from 'react';
interface MagicCardProps {
children: ReactNode;
className?: string;
gradientSize?: number;
gradientColor?: string;
}
export const MagicCard = ({ children, className, gradientSize = 200, gradientColor = '#262626' }: MagicCardProps) => {
const mouseX = useRef<number>(0);
const mouseY = useRef<number>(0);
const cardRef = useRef<HTMLDivElement>(null);
const [isHovering, setIsHovering] = useState(false);
useEffect(() => {
const handleMouseMove = (e: MouseEvent) => {
if (cardRef.current) {
const rect = cardRef.current.getBoundingClientRect();
mouseX.current = e.clientX - rect.left;
mouseY.current = e.clientY - rect.top;
cardRef.current.style.setProperty('--mouse-x', `${mouseX.current}px`);
cardRef.current.style.setProperty('--mouse-y', `${mouseY.current}px`);
}
};
const currentCardRef = cardRef.current;
if (currentCardRef) {
currentCardRef.addEventListener('mousemove', handleMouseMove);
}
return () => {
if (currentCardRef) {
currentCardRef.removeEventListener('mousemove', handleMouseMove);
}
};
}, []);
return (
<div
ref={cardRef}
onMouseEnter={() => setIsHovering(true)}
onMouseLeave={() => setIsHovering(false)}
className={cn(
'relative w-full h-full p-px rounded-2xl transition-all duration-300 ease-in-out',
'bg-neutral-900 hover:bg-neutral-800',
className
)}
style={{
background: isHovering
? `radial-gradient(var(--gradient-size, ${gradientSize}px) circle at var(--mouse-x) var(--mouse-y), var(--gradient-color, ${gradientColor}), transparent 100%)`
: 'transparent',
}}
>
<div className="relative w-full h-full bg-neutral-950/90 rounded-[15px] p-8">
{children}
</div>
</div>
);
};

View File

@@ -26,8 +26,11 @@ 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(107, 114, 128, 0.3)"
strokeWidth="0.5"
/>
<defs>
{/* Blue-white soft gradient */}
<linearGradient
id={`cube-gradient-${index}`}
x1="185.298"
@@ -36,14 +39,24 @@ const CubeSvg: React.FC<React.SVGProps<SVGSVGElement> & { index: number }> = ({
y2="206.448"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="#E5E7EB" />
<stop offset="1" stopColor="#9CA3AF" />
<stop offset="0%" stopColor="#EBF8FF" stopOpacity="0.75" />
<stop offset="40%" stopColor="#BEE3F8" stopOpacity="0.8" />
<stop offset="100%" stopColor="#FFFFFF" stopOpacity="0.9" />
</linearGradient>
</defs>
</svg>
);
export function CubeLight({ title, descriptionTitle, description, isActive, index, onHover, onLeave, onClick }: CubeProps) {
export function CubeLight({
title,
descriptionTitle,
description,
isActive,
index,
onHover,
onLeave,
onClick,
}: CubeProps) {
return (
<div className="relative flex flex-col items-center">
<motion.div
@@ -62,22 +75,34 @@ export function CubeLight({ title, descriptionTitle, description, isActive, inde
ease: "easeOut",
}}
>
{/* Glow aura behind cube */}
<div
className={`absolute inset-0 blur-3xl rounded-2xl transition-all duration-500 ${
isActive
? "bg-cyan-400/20 opacity-30"
: "bg-cyan-200/20 opacity-40"
}`}
/>
{/* SVG Cube */}
<CubeSvg
index={index}
className="w-48 sm:w-64 lg:w-80 h-auto drop-shadow-lg opacity-80"
className="w-48 sm:w-64 lg:w-80 h-auto relative"
style={{
filter: isActive ? 'brightness(1.1) drop-shadow(0 0 15px rgba(0, 0, 0, 0.2))' : 'brightness(1)',
filter: isActive
? "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",
}}
/>
{/* Title overlay */}
<div className="absolute inset-0 flex items-center justify-center">
<h3
className="text-black text-sm lg:text-base font-medium text-center px-4 drop-shadow-sm"
className="text-cyan-900 text-sm lg:text-base font-medium text-center px-4"
style={{
transform: 'rotate(0deg) skewX(0deg)',
transformOrigin: 'center'
textShadow:
"0 0 15px rgba(255,255,255,0.8), 0 0 25px rgba(34, 211, 238, 0.5)",
}}
>
{title}
@@ -106,26 +131,24 @@ export function CubeLight({ title, descriptionTitle, description, isActive, inde
y1="1"
x2="120"
y2="1"
stroke="black"
stroke="rgba(34, 211, 238, 0.6)"
strokeWidth="1"
opacity="0.6"
opacity="0.8"
/>
</svg>
{/* Description text */}
<div className="ml-32 w-80">
<h4 className="text-black text-base font-semibold mb-2">
<h4 className="text-black text-base font-semibold mb-2 drop-shadow-[0_0_6px_rgba(255,255,255,0.6)]">
{descriptionTitle}
</h4>
<p className="text-gray-800 text-sm leading-relaxed font-light">
<p className="text-gray-800 text-sm leading-relaxed font-light drop-shadow-[0_0_4px_rgba(255,255,255,0.4)]">
{description}
</p>
</div>
</motion.div>
)}
{/* Description for Mobile - Below cube */}
</motion.div>
</motion.div>
</div>
);
}

View File

@@ -0,0 +1,55 @@
import { Menu, Transition } from '@headlessui/react'
import { Fragment } from 'react'
import { Link } from 'react-router-dom'
interface DropdownItem {
name: string
href: string
}
interface DropdownProps {
buttonContent: React.ReactNode
items: DropdownItem[]
}
export function Dropdown({ buttonContent, items }: DropdownProps) {
return (
<Menu as="div" className="relative inline-block text-left">
<div>
<Menu.Button className="inline-flex w-full justify-center items-center gap-x-1.5 rounded-md bg-white text-base/7 tracking-tight text-gray-700 hover:text-cyan-500 transition-colors">
{buttonContent}
</Menu.Button>
</div>
<Transition
as={Fragment}
enter="transition ease-out duration-100"
enterFrom="transform opacity-0 scale-95"
enterTo="transform opacity-100 scale-100"
leave="transition ease-in duration-75"
leaveFrom="transform opacity-100 scale-100"
leaveTo="transform opacity-0 scale-95"
>
<Menu.Items className="absolute right-0 z-10 mt-2 w-56 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none">
<div className="py-1">
{items.map((item) => (
<Menu.Item key={item.href}>
{({ active }: { active: boolean }) => (
<Link
to={item.href}
className={`
${active ? 'bg-gray-100 text-gray-900' : 'text-gray-700'}
block px-4 py-2 text-sm
`}
>
{item.name}
</Link>
)}
</Menu.Item>
))}
</div>
</Menu.Items>
</Transition>
</Menu>
)
}

View File

@@ -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 />

View File

@@ -2,13 +2,14 @@
import { useState } from "react";
import { motion } from "framer-motion";
import { CubeLight } from "@/components/ui/CubeLight"
import { CubeLight } from "@/components/ui/CubeLight";
const stackData = [
{
id: "agent",
title: "Agent Layer",
descriptionTitle: "Your sovereign agent with private memory and permissioned data access—always under your control.",
descriptionTitle:
"Your sovereign agent with private memory and permissioned data access—always under your control.",
description:
"Choose from a wide library of open-source LLMs, paired with built-in semantic search and retrieval.\nIt coordinates across people, apps, and other agents to plan, create, and execute.\nIt operates inside a compliant legal & financial sandbox, ready for real-world transactions and operations.\nMore than just an assistant—an intelligent partner that learns and does your way.",
position: "top",
@@ -16,7 +17,8 @@ const stackData = [
{
id: "network",
title: "Network Layer",
descriptionTitle: "A global, end-to-end encrypted overlay that simply doesnt break.",
descriptionTitle:
"A global, end-to-end encrypted overlay that simply doesnt break.",
description:
"Shortest-path routing moves your traffic the fastest way, every time.\nInstant discovery with integrated DNS, semantic search, and indexing.\nA distributed CDN and edge delivery keep content available and tamper-resistant worldwide.\nBuilt-in tool services and secure coding sandboxes—seamless on phones, desktops, and edge.",
position: "middle",
@@ -24,7 +26,8 @@ const stackData = [
{
id: "cloud",
title: "Cloud Layer",
descriptionTitle: "An autonomous, stateless OS that enforces pre-deterministic deployments you define.",
descriptionTitle:
"An autonomous, stateless OS that enforces pre-deterministic deployments you define.",
description:
"Workloads are cryptographically bound to your private key—location and access are yours.\nNo cloud vendor or middleman in the path: end-to-end ownership and isolation by default.\nGeo-aware placement delivers locality, compliance, and ultra-low latency where it matters.\nEncrypted, erasure-coded storage, decentralized compute and GPU on demand—including LLMs.",
position: "bottom",
@@ -32,64 +35,78 @@ 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));
setSelectedForMobile((prev) => (prev === id ? null : id));
};
const selectedMobileLayer = stackData.find(layer => layer.id === selectedForMobile);
const selectedMobileLayer = stackData.find(
(layer) => layer.id === selectedForMobile
);
return (
<div className="flex flex-col items-center">
<div
className="relative w-full flex items-center justify-center lg:justify-center min-h-[450px] lg:min-h-[400px]"
onMouseLeave={() => setActive("agent")}
>
<motion.div
className="relative lg:pl-0 pl-6 h-[300px] lg:h-[400px] w-64 sm:w-80 lg:w-96 scale-120 lg:scale-100"
animate={{ y: ["-8px", "8px"] }}
transition={{
duration: 4,
repeat: Infinity,
repeatType: "reverse",
ease: "easeInOut",
}}
<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/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("network")}
>
{stackData.map((layer, index) => (
<div
key={layer.id}
className="absolute"
style={{
top: `calc(${index * 30}% - ${index * 10}px)`,
zIndex: active === layer.id ? 20 : 10 - index,
}}
>
<CubeLight
title={layer.title}
descriptionTitle={layer.descriptionTitle}
description={layer.description}
isActive={active === layer.id}
index={index}
onHover={() => setActive(layer.id)}
onLeave={() => {}}
onClick={() => handleCubeClick(layer.id)}
/>
</div>
))}
</motion.div>
</div>
{selectedMobileLayer && (
<div className="lg:hidden w-full max-w-md p-6 -mt-8 bg-gray-200/50 rounded-lg">
<h4 className="text-black text-lg font-semibold mb-2 text-center">
{selectedMobileLayer.descriptionTitle}
</h4>
<p className="text-gray-700 text-sm leading-relaxed text-center">
{selectedMobileLayer.description}
</p>
<motion.div
className="relative lg:pl-0 pl-6 h-[300px] lg:h-[400px] w-64 sm:w-80 lg:w-96"
animate={{ y: ["-8px", "8px"] }}
transition={{
duration: 4,
repeat: Infinity,
repeatType: "reverse",
ease: "easeInOut",
}}
>
{stackData.map((layer, index) => (
<div
key={layer.id}
className="absolute transition-all duration-500"
style={{
top: `calc(${index * 30}% - ${index * 10}px)`,
zIndex: active === layer.id ? 20 : 10 - index,
}}
>
{/* 🌫 subtle glow behind each cube */}
<div
className={`absolute inset-0 blur-2xl rounded-3xl transition-all duration-500 ${
active === layer.id
? "bg-cyan-300/20 opacity-20"
: "bg-cyan-200/20 opacity-20"
}`}
/>
<CubeLight
title={layer.title}
descriptionTitle={layer.descriptionTitle}
description={layer.description}
isActive={active === layer.id}
index={index}
onHover={() => setActive(layer.id)}
onLeave={() => {}}
onClick={() => handleCubeClick(layer.id)}
/>
</div>
))}
</motion.div>
</div>
)}
{/* Mobile layer description */}
{selectedMobileLayer && (
<div className="lg:hidden w-full max-w-md p-6 -mt-8 bg-white/50 backdrop-blur-xl border border-cyan-100/40 rounded-xl shadow-[0_0_25px_rgba(0,255,255,0.15)]">
<h4 className="text-black text-lg font-semibold mb-2 text-center drop-shadow-[0_0_6px_rgba(255,255,255,0.6)]">
{selectedMobileLayer.descriptionTitle}
</h4>
<p className="text-cyan-900/80 text-sm leading-relaxed text-center drop-shadow-[0_0_4px_rgba(255,255,255,0.4)]">
{selectedMobileLayer.description}
</p>
</div>
)}
</div>
);
}

View File

@@ -0,0 +1,199 @@
"use client";
import React, {
useEffect,
useState,
} from "react";
import {
IconArrowNarrowLeft,
IconArrowNarrowRight,
IconChevronRight,
} from "@tabler/icons-react";
import { cn } from "@/lib/utils";
import { Link } from "react-router-dom";
import { motion } from "motion/react";
import { DarkCard } from "./cards";
interface CarouselProps {
items: JSX.Element[];
initialScroll?: number;
}
type Card = {
src: string;
title: string;
category: string;
description: string;
link: string;
bg: any;
};
export const Carousel = ({ items, initialScroll = 0 }: CarouselProps) => {
const carouselRef = React.useRef<HTMLDivElement>(null);
const [canScrollLeft, setCanScrollLeft] = React.useState(false);
const [canScrollRight, setCanScrollRight] = React.useState(true);
useEffect(() => {
if (carouselRef.current) {
carouselRef.current.scrollLeft = initialScroll;
checkScrollability();
}
}, [initialScroll]);
const checkScrollability = () => {
if (carouselRef.current) {
const { scrollLeft, scrollWidth, clientWidth } = carouselRef.current;
setCanScrollLeft(scrollLeft > 0);
setCanScrollRight(scrollLeft < scrollWidth - clientWidth);
}
};
const scrollLeft = () => {
if (carouselRef.current) {
carouselRef.current.scrollBy({ left: -300, behavior: "smooth" });
}
};
const scrollRight = () => {
if (carouselRef.current) {
carouselRef.current.scrollBy({ left: 300, behavior: "smooth" });
}
};
return (
<div className="relative w-full">
<div
className="flex w-full overflow-x-scroll overscroll-x-auto scroll-smooth py-10 [scrollbar-width:none] md:py-20"
ref={carouselRef}
onScroll={checkScrollability}
>
<div
className={cn(
"absolute right-0 z-[1000] h-auto w-[5%] overflow-hidden bg-gradient-to-l",
)}
></div>
<div
className={cn(
"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
)}
>
{items.map((item, index) => (
<motion.div
initial={{
opacity: 0,
y: 20,
}}
animate={{
opacity: 1,
y: 0,
transition: {
duration: 0.5,
delay: 0.2 * index,
ease: "easeOut",
},
}}
key={"card" + index}
className="rounded-3xl last:pr-[5%] md:last:pr-[33%] "
>
{item}
</motion.div>
))}
</div>
</div>
<div className="mr-10 flex justify-end gap-2">
<button
className="relative z-40 flex h-10 w-10 items-center justify-center rounded-full bg-neutral-800 disabled:opacity-50"
onClick={scrollLeft}
disabled={!canScrollLeft}
>
<IconArrowNarrowLeft className="h-6 w-6 text-white" />
</button>
<button
className="relative z-40 flex h-10 w-10 items-center justify-center rounded-full bg-neutral-800 disabled:opacity-50"
onClick={scrollRight}
disabled={!canScrollRight}
>
<IconArrowNarrowRight className="h-6 w-6 text-white" />
</button>
</div>
</div>
);
};
export const Card = ({
card,
layout = false,
}: {
card: Card;
layout?: boolean;
}) => {
return (
<Link to={card.link}>
<DarkCard className="p-0 rounded-3xl">
<motion.div
layoutId={layout ? `card-${card.title}` : undefined}
className="relative z-10 flex h-104 w-80 flex-col justify-between overflow-hidden rounded-3xl p-8 md:h-120 md:w-96"
>
<div className="flex h-2/5 flex-col justify-center py-6 px-4">
<motion.p
layoutId={layout ? `category-${card.category}` : undefined}
className="text-left font-sans font-semibold text-cyan-500 uppercase tracking-wider text-xs md:text-sm"
>
{card.category}
</motion.p>
<motion.p
layoutId={layout ? `title-${card.title}` : undefined}
className="mt-1 max-w-xs text-left font-sans text-xl font-semibold text-white [text-wrap:balance] lg:text-2xl"
>
{card.title}
</motion.p>
<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-xl text-lg text-neutral-300 lg:leading-normal leading-tight">
{card.description}
</motion.p>
<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-4 w-4 md:h-6 md:w-6 " />
</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>
</DarkCard>
</Link>
);
};
export const BlurImage = ({
src,
className,
width,
height,
alt,
...rest
}: React.ImgHTMLAttributes<HTMLImageElement>) => {
const [isLoading, setLoading] = useState(true);
return (
<img
className={cn(
"h-full w-full transition duration-300",
isLoading ? "blur-sm" : "blur-0",
className,
)}
onLoad={() => setLoading(false)}
src={src as string}
width={width}
height={height}
loading="lazy"
decoding="async"
alt={alt ? alt : "Background of a beautiful view"}
{...rest}
/>
);
};

View 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-3xl hover:bg-white/6 hover:scale-105 hover:shadow-lg hover:shadow-cyan-500/15",
className
)}
{...props}
/>
));
DarkCard.displayName = "DarkCard";
export { DarkCard };

View File

@@ -0,0 +1,190 @@
"use client";
import { memo, useCallback, useEffect, useRef } from "react";
import { cn } from "@/lib/utils";
import { animate } from "motion/react";
interface GlowingEffectProps {
blur?: number;
inactiveZone?: number;
proximity?: number;
spread?: number;
variant?: "default" | "white";
glow?: boolean;
className?: string;
disabled?: boolean;
movementDuration?: number;
borderWidth?: number;
}
const GlowingEffect = memo(
({
blur = 0,
inactiveZone = 0.7,
proximity = 0,
spread = 20,
variant = "default",
glow = false,
className,
movementDuration = 2,
borderWidth = 1,
disabled = true,
}: GlowingEffectProps) => {
const containerRef = useRef<HTMLDivElement>(null);
const lastPosition = useRef({ x: 0, y: 0 });
const animationFrameRef = useRef<number>(0);
const handleMove = useCallback(
(e?: MouseEvent | { x: number; y: number }) => {
if (!containerRef.current) return;
if (animationFrameRef.current) {
cancelAnimationFrame(animationFrameRef.current);
}
animationFrameRef.current = requestAnimationFrame(() => {
const element = containerRef.current;
if (!element) return;
const { left, top, width, height } = element.getBoundingClientRect();
const mouseX = e?.x ?? lastPosition.current.x;
const mouseY = e?.y ?? lastPosition.current.y;
if (e) {
lastPosition.current = { x: mouseX, y: mouseY };
}
const center = [left + width * 0.5, top + height * 0.5];
const distanceFromCenter = Math.hypot(
mouseX - center[0],
mouseY - center[1]
);
const inactiveRadius = 0.5 * Math.min(width, height) * inactiveZone;
if (distanceFromCenter < inactiveRadius) {
element.style.setProperty("--active", "0");
return;
}
const isActive =
mouseX > left - proximity &&
mouseX < left + width + proximity &&
mouseY > top - proximity &&
mouseY < top + height + proximity;
element.style.setProperty("--active", isActive ? "1" : "0");
if (!isActive) return;
const currentAngle =
parseFloat(element.style.getPropertyValue("--start")) || 0;
let targetAngle =
(180 * Math.atan2(mouseY - center[1], mouseX - center[0])) /
Math.PI +
90;
const angleDiff = ((targetAngle - currentAngle + 180) % 360) - 180;
const newAngle = currentAngle + angleDiff;
animate(currentAngle, newAngle, {
duration: movementDuration,
ease: [0.16, 1, 0.3, 1],
onUpdate: (value) => {
element.style.setProperty("--start", String(value));
},
});
});
},
[inactiveZone, proximity, movementDuration]
);
useEffect(() => {
if (disabled) return;
const handleScroll = () => handleMove();
const handlePointerMove = (e: PointerEvent) => handleMove(e);
window.addEventListener("scroll", handleScroll, { passive: true });
document.body.addEventListener("pointermove", handlePointerMove, {
passive: true,
});
return () => {
if (animationFrameRef.current) {
cancelAnimationFrame(animationFrameRef.current);
}
window.removeEventListener("scroll", handleScroll);
document.body.removeEventListener("pointermove", handlePointerMove);
};
}, [handleMove, disabled]);
return (
<>
<div
className={cn(
"pointer-events-none absolute -inset-px hidden rounded-[inherit] border opacity-0 transition-opacity",
glow && "opacity-100",
variant === "white" && "border-white",
disabled && "!block"
)}
/>
<div
ref={containerRef}
style={
{
"--blur": `${blur}px`,
"--spread": spread,
"--start": "0",
"--active": "0",
"--glowingeffect-border-width": `${borderWidth}px`,
"--repeating-conic-gradient-times": "5",
"--gradient":
variant === "white"
? `repeating-conic-gradient(
from 236.84deg at 50% 50%,
var(--black),
var(--black) calc(25% / var(--repeating-conic-gradient-times))
)`
: `radial-gradient(circle, #dd7bbb 10%, #dd7bbb00 20%),
radial-gradient(circle at 40% 40%, #d79f1e 5%, #d79f1e00 15%),
radial-gradient(circle at 60% 60%, #5a922c 10%, #5a922c00 20%),
radial-gradient(circle at 40% 60%, #4c7894 10%, #4c789400 20%),
repeating-conic-gradient(
from 236.84deg at 50% 50%,
#dd7bbb 0%,
#d79f1e calc(25% / var(--repeating-conic-gradient-times)),
#5a922c calc(50% / var(--repeating-conic-gradient-times)),
#4c7894 calc(75% / var(--repeating-conic-gradient-times)),
#dd7bbb calc(100% / var(--repeating-conic-gradient-times))
)`,
} as React.CSSProperties
}
className={cn(
"pointer-events-none absolute inset-0 rounded-[inherit] opacity-100 transition-opacity",
glow && "opacity-100",
blur > 0 && "blur-[var(--blur)] ",
className,
disabled && "!hidden"
)}
>
<div
className={cn(
"glow",
"rounded-[inherit]",
'after:content-[""] after:rounded-[inherit] after:absolute after:inset-[calc(-1*var(--glowingeffect-border-width))]',
"after:[border:var(--glowingeffect-border-width)_solid_transparent]",
"after:[background:var(--gradient)] after:[background-attachment:fixed]",
"after:opacity-[var(--active)] after:transition-opacity after:duration-300",
"after:[mask-clip:padding-box,border-box]",
"after:[mask-composite:intersect]",
"after:[mask-image:linear-gradient(#0000,#0000),conic-gradient(from_calc((var(--start)-var(--spread))*1deg),#00000000_0deg,#fff,#00000000_calc(var(--spread)*2deg))]"
)}
/>
</div>
</>
);
}
);
GlowingEffect.displayName = "GlowingEffect";
export { GlowingEffect };

View File

@@ -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

View File

@@ -0,0 +1,42 @@
"use client";
import { cn } from "@/lib/utils";
import { type HTMLAttributes, useEffect, useState } from "react";
interface SonOfAGlitchProps extends HTMLAttributes<HTMLHeadingElement> {
text: string;
textClassName?: string;
glitchClassName?: string;
showGlitch?: boolean;
}
export const SonOfAGlitch = ({
text,
className,
textClassName,
glitchClassName,
showGlitch = true,
}: SonOfAGlitchProps) => {
const [isGlitching, setIsGlitching] = useState(showGlitch);
useEffect(() => {
setIsGlitching(showGlitch);
}, [showGlitch]);
return (
<h1 className={cn("relative font-mono", className)}>
<span
className={cn(
"absolute top-0 left-0 w-full h-full bg-transparent",
isGlitching &&
"before:content-[attr(data-text)] before:absolute before:top-0 before:w-full before:h-full before:bg-transparent before:left-[-2px] before:text-red-500 before:overflow-hidden before:animate-glitch-1",
isGlitching &&
"after:content-[attr(data-text)] after:absolute after:top-0 after:w-full after:h-full after:bg-transparent after:left-[2px] after:text-blue-500 after:overflow-hidden after:animate-glitch-2",
glitchClassName,
)}
data-text={text}
></span>
<span className={cn(textClassName)}>{text}</span>
</h1>
);
};

View File

@@ -0,0 +1,23 @@
import React, { useEffect } from "react";
export const useOutsideClick = (
ref: React.RefObject<HTMLDivElement>,
callback: Function
) => {
useEffect(() => {
const listener = (event: any) => {
if (!ref.current || ref.current.contains(event.target)) {
return;
}
callback(event);
};
document.addEventListener("mousedown", listener);
document.addEventListener("touchstart", listener);
return () => {
document.removeEventListener("mousedown", listener);
document.removeEventListener("touchstart", listener);
};
}, [ref, callback]);
};

View File

@@ -0,0 +1,24 @@
import React, { useEffect } from "react";
export const useOutsideClick = (
ref: React.RefObject<HTMLDivElement>,
callback: Function
) => {
useEffect(() => {
const listener = (event: any) => {
// DO NOTHING if the element being clicked is the target element or their children
if (!ref.current || ref.current.contains(event.target)) {
return;
}
callback(event);
};
document.addEventListener("mousedown", listener);
document.addEventListener("touchstart", listener);
return () => {
document.removeEventListener("mousedown", listener);
document.removeEventListener("touchstart", listener);
};
}, [ref, callback]);
};

BIN
src/images/agent1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 110 KiB

After

Width:  |  Height:  |  Size: 66 KiB

BIN
src/images/logos/logo_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
src/images/slider/gpu1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

BIN
src/images/storage.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

@@ -0,0 +1,36 @@
"use client";
import { H2, H5 } from "@/components/Texts";
import { ScrollDownArrow } from '@/components/ScrollDownArrow';
export function AgentsHeroAlt() {
return (
<div
style={{
backgroundImage: "url(/images/agentshero2.png)",
backgroundSize: "cover",
backgroundPosition: "center",
}}
className="relative mx-auto flex min-h-screen flex-col items-center justify-center px-4 text-white"
>
<div className="absolute inset-0 bg-white/30" />
<div className="relative flex flex-col items-center gap-6">
<div className="text-center drop-shadow-lg">
<H2>
<span className="">
Sovereign AI Agents, Coming Soon.
</span>
</H2>
</div>
<div className="max-w-4xl text-center font-normal drop-shadow-lg">
<H5>
Hero is the autonomous agent layer for the Mycelium platformtrusted, policy-aware AI that runs on infrastructure you control and remembers what matters.
</H5>
</div>
</div>
<div className="absolute bottom-10">
<ScrollDownArrow />
</div>
</div>
);
}

View File

@@ -1,15 +1,15 @@
import { AnimatedSection } from '../../components/AnimatedSection'
import { AgentsHero } from './AgentsHero'
import { DeploySection } from './DeploySection'
import { GallerySection } from './GallerySection'
import { Companies } from './Companies'
import { BentoSection } from './BentoSection'
import { AgentsHeroAlt } from './AgentsHeroAlt'
export default function AgentsPage() {
return (
<div>
<AnimatedSection>
<AgentsHero />
<AgentsHeroAlt />
</AnimatedSection>
<AnimatedSection>

Some files were not shown because too many files have changed in this diff Show More