Compare commits
	
		
			13 Commits
		
	
	
		
			main_sasha
			...
			45b1c43b97
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					45b1c43b97 | ||
| 
						 | 
					26fbea3ec4 | ||
| 
						 | 
					3a7aa82ff7 | ||
| 644bb34419 | |||
| 9b3c620706 | |||
| 987b46588b | |||
| df88c4a14f | |||
| dfb469e7f7 | |||
| a3cd28fc6b | |||
| 758a004ce9 | |||
| 73832e2686 | |||
| 4cc98af570 | |||
| 
						 | 
					4c30524504 | 
@@ -4,8 +4,8 @@
 | 
			
		||||
    <meta charset="UTF-8" />
 | 
			
		||||
    <link rel="icon" type="image/x-icon" href="/favicon.ico" />
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 | 
			
		||||
    <title>Mycelium - Unleash the Power of Decentralized Networks</title>
 | 
			
		||||
    <meta name="description" content="Discover Mycelium, an end-to-end encrypted IPv6 overlay network. The future of secure, efficient, and scalable networking." />
 | 
			
		||||
    <title>Project Mycelium - Unleash the Power of Decentralized Networks</title>
 | 
			
		||||
    <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 />
 | 
			
		||||
  </head>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										3758
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										3758
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -10,6 +10,7 @@
 | 
			
		||||
    "preview": "vite preview"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@emailjs/browser": "^4.4.1",
 | 
			
		||||
    "@headlessui/react": "^2.2.9",
 | 
			
		||||
    "@heroicons/react": "^2.2.0",
 | 
			
		||||
    "@lobehub/icons": "^1.97.2",
 | 
			
		||||
@@ -28,8 +29,6 @@
 | 
			
		||||
    "framer-motion": "^10.18.0",
 | 
			
		||||
    "lucide-react": "^0.544.0",
 | 
			
		||||
    "motion": "^12.23.24",
 | 
			
		||||
    "next": "^14.2.33",
 | 
			
		||||
    "next-themes": "^0.4.6",
 | 
			
		||||
    "popmotion": "^11.0.5",
 | 
			
		||||
    "react": "^18.3.1",
 | 
			
		||||
    "react-countup": "^6.5.3",
 | 
			
		||||
@@ -49,7 +48,6 @@
 | 
			
		||||
    "@vitejs/plugin-react": "^5.0.4",
 | 
			
		||||
    "autoprefixer": "^10.4.20",
 | 
			
		||||
    "eslint": "^8.57.1",
 | 
			
		||||
    "eslint-config-next": "^14.2.33",
 | 
			
		||||
    "prettier": "^3.6.2",
 | 
			
		||||
    "prettier-plugin-tailwindcss": "^0.6.14",
 | 
			
		||||
    "sharp": "^0.33.1",
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								public/images/mchip2.webp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public/images/mchip2.webp
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 126 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								public/videos/chip_vid.mp4
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public/videos/chip_vid.mp4
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -4,6 +4,7 @@ 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'
 | 
			
		||||
 | 
			
		||||
function App() {
 | 
			
		||||
  return (
 | 
			
		||||
@@ -14,6 +15,7 @@ function App() {
 | 
			
		||||
          <Route path="cloud" element={<CloudPage />} />
 | 
			
		||||
          <Route path="network" element={<NetworkPage />} />
 | 
			
		||||
          <Route path="agents" element={<AgentsPage />} />
 | 
			
		||||
          <Route path="download" element={<DownloadPage />} />
 | 
			
		||||
        </Route>
 | 
			
		||||
      </Routes>
 | 
			
		||||
    </BrowserRouter>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,20 +1,20 @@
 | 
			
		||||
import { useRef } from 'react'
 | 
			
		||||
import { motion, useInView } from 'framer-motion'
 | 
			
		||||
import { motion } from 'framer-motion'
 | 
			
		||||
 | 
			
		||||
export function AnimatedSection({ children, id }: { children: React.ReactNode; id?: string }) {
 | 
			
		||||
  const ref = useRef(null)
 | 
			
		||||
  const isInView = useInView(ref, { once: true, margin: '-20% 0px -20% 0px' })
 | 
			
		||||
type AnimatedSectionProps = {
 | 
			
		||||
  children: React.ReactNode
 | 
			
		||||
  id?: string
 | 
			
		||||
  className?: string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function AnimatedSection({ children, id, className }: AnimatedSectionProps) {
 | 
			
		||||
  return (
 | 
			
		||||
    <motion.section
 | 
			
		||||
      id={id}
 | 
			
		||||
      ref={ref}
 | 
			
		||||
      initial={{ opacity: 0, y: 50 }}
 | 
			
		||||
      animate={{
 | 
			
		||||
        opacity: isInView ? 1 : 0,
 | 
			
		||||
        y: isInView ? 0 : 50,
 | 
			
		||||
      }}
 | 
			
		||||
      transition={{ duration: 0.5 }}
 | 
			
		||||
      className={className}
 | 
			
		||||
      initial={{ opacity: 0, y: 40 }}
 | 
			
		||||
      whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
      viewport={{ once: true, margin: '-25% 0px -20% 0px' }}
 | 
			
		||||
      transition={{ duration: 0.5, ease: 'easeOut' }}
 | 
			
		||||
    >
 | 
			
		||||
      {children}
 | 
			
		||||
    </motion.section>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										220
									
								
								src/components/ContactForm.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										220
									
								
								src/components/ContactForm.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,220 @@
 | 
			
		||||
'use client'
 | 
			
		||||
 | 
			
		||||
import { AnimatePresence, motion } from 'framer-motion'
 | 
			
		||||
import { useState, type ChangeEvent, type FormEvent } from 'react'
 | 
			
		||||
import emailjs from '@emailjs/browser'
 | 
			
		||||
import { CheckCircle, Send, X } from 'lucide-react'
 | 
			
		||||
 | 
			
		||||
interface ContactFormProps {
 | 
			
		||||
  isOpen: boolean
 | 
			
		||||
  onClose: () => void
 | 
			
		||||
  title?: string
 | 
			
		||||
  formType?: 'investor' | 'partner' | 'agent_waitlist'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const initialFormState = {
 | 
			
		||||
  name: '',
 | 
			
		||||
  email: '',
 | 
			
		||||
  company: '',
 | 
			
		||||
  message: '',
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export default function ContactForm({
 | 
			
		||||
  isOpen,
 | 
			
		||||
  onClose,
 | 
			
		||||
  title = 'Book a Meeting',
 | 
			
		||||
  formType,
 | 
			
		||||
}: ContactFormProps) {
 | 
			
		||||
  const [formData, setFormData] = useState(initialFormState)
 | 
			
		||||
  const [isSubmitting, setIsSubmitting] = useState(false)
 | 
			
		||||
  const [isSubmitted, setIsSubmitted] = useState(false)
 | 
			
		||||
 | 
			
		||||
  const handleInputChange = (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => {
 | 
			
		||||
    const { name, value } = e.target
 | 
			
		||||
    setFormData((prev) => ({
 | 
			
		||||
      ...prev,
 | 
			
		||||
      [name]: value,
 | 
			
		||||
    }))
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  const handleSubmit = async (e: FormEvent<HTMLFormElement>) => {
 | 
			
		||||
    e.preventDefault()
 | 
			
		||||
    setIsSubmitting(true)
 | 
			
		||||
 | 
			
		||||
    try {
 | 
			
		||||
      const templateParams = {
 | 
			
		||||
        from_name: formData.name,
 | 
			
		||||
        from_email: formData.email,
 | 
			
		||||
        company: formData.company,
 | 
			
		||||
        message: formData.message,
 | 
			
		||||
        to_email: 'emre@incubaid.com',
 | 
			
		||||
        form_type: formType || 'General Inquiry',
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      await emailjs.send(
 | 
			
		||||
        'service_03d0vf8',
 | 
			
		||||
        'template_6o6e8oe',
 | 
			
		||||
        templateParams,
 | 
			
		||||
        'bhkly3gzrO-SA9w7v',
 | 
			
		||||
      )
 | 
			
		||||
 | 
			
		||||
      setIsSubmitted(true)
 | 
			
		||||
      setTimeout(() => {
 | 
			
		||||
        setIsSubmitted(false)
 | 
			
		||||
        setFormData(initialFormState)
 | 
			
		||||
        onClose()
 | 
			
		||||
      }, 3000)
 | 
			
		||||
    } catch (error) {
 | 
			
		||||
      console.error('Email sending failed:', error)
 | 
			
		||||
      alert('Failed to send message. Please try again.')
 | 
			
		||||
    } finally {
 | 
			
		||||
      setIsSubmitting(false)
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <AnimatePresence>
 | 
			
		||||
      {isOpen && (
 | 
			
		||||
        <motion.div
 | 
			
		||||
          className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4 backdrop-blur-sm"
 | 
			
		||||
          initial={{ opacity: 0 }}
 | 
			
		||||
          animate={{ opacity: 1 }}
 | 
			
		||||
          exit={{ opacity: 0 }}
 | 
			
		||||
        >
 | 
			
		||||
          <motion.div
 | 
			
		||||
            className="relative w-full max-w-md overflow-hidden rounded-2xl bg-card shadow-2xl"
 | 
			
		||||
            initial={{ scale: 0.9, opacity: 0 }}
 | 
			
		||||
            animate={{ scale: 1, opacity: 1 }}
 | 
			
		||||
            exit={{ scale: 0.9, opacity: 0 }}
 | 
			
		||||
            transition={{ type: 'spring', damping: 25, stiffness: 300 }}
 | 
			
		||||
          >
 | 
			
		||||
            <div className="flex items-center justify-between border-b border-border p-6">
 | 
			
		||||
              <h3 className="text-xl font-bold text-foreground">{title}</h3>
 | 
			
		||||
              <button
 | 
			
		||||
                onClick={onClose}
 | 
			
		||||
                className="rounded-lg p-2 transition-colors hover:bg-muted"
 | 
			
		||||
                aria-label="Close form"
 | 
			
		||||
              >
 | 
			
		||||
                <X className="h-5 w-5 text-muted-foreground" />
 | 
			
		||||
              </button>
 | 
			
		||||
            </div>
 | 
			
		||||
 | 
			
		||||
            <div className="p-6">
 | 
			
		||||
              {isSubmitted ? (
 | 
			
		||||
                <motion.div
 | 
			
		||||
                  className="py-8 text-center"
 | 
			
		||||
                  initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
                  animate={{ opacity: 1, y: 0 }}
 | 
			
		||||
                >
 | 
			
		||||
                  <CheckCircle className="mx-auto mb-4 h-16 w-16 text-primary" />
 | 
			
		||||
                  <h4 className="mb-2 text-lg font-semibold text-foreground">Thank you!</h4>
 | 
			
		||||
                  <p className="text-muted-foreground">We'll get back to you soon.</p>
 | 
			
		||||
                </motion.div>
 | 
			
		||||
              ) : (
 | 
			
		||||
                <form onSubmit={handleSubmit} className="space-y-4">
 | 
			
		||||
                  <div>
 | 
			
		||||
                    <label
 | 
			
		||||
                      htmlFor="name"
 | 
			
		||||
                      className="mb-1 block text-sm font-medium text-muted-foreground"
 | 
			
		||||
                    >
 | 
			
		||||
                      Full Name *
 | 
			
		||||
                    </label>
 | 
			
		||||
                    <input
 | 
			
		||||
                      type="text"
 | 
			
		||||
                      id="name"
 | 
			
		||||
                      name="name"
 | 
			
		||||
                      value={formData.name}
 | 
			
		||||
                      onChange={handleInputChange}
 | 
			
		||||
                      required
 | 
			
		||||
                      className="w-full rounded-lg border border-border bg-muted/30 px-4 py-3 text-foreground placeholder:text-muted-foreground focus:border-transparent focus:outline-none focus:ring-2 focus:ring-primary"
 | 
			
		||||
                      placeholder="Your full name"
 | 
			
		||||
                    />
 | 
			
		||||
                  </div>
 | 
			
		||||
 | 
			
		||||
                  <div>
 | 
			
		||||
                    <label
 | 
			
		||||
                      htmlFor="email"
 | 
			
		||||
                      className="mb-1 block text-sm font-medium text-muted-foreground"
 | 
			
		||||
                    >
 | 
			
		||||
                      Email Address *
 | 
			
		||||
                    </label>
 | 
			
		||||
                    <input
 | 
			
		||||
                      type="email"
 | 
			
		||||
                      id="email"
 | 
			
		||||
                      name="email"
 | 
			
		||||
                      value={formData.email}
 | 
			
		||||
                      onChange={handleInputChange}
 | 
			
		||||
                      required
 | 
			
		||||
                      className="w-full rounded-lg border border-border bg-muted/30 px-4 py-3 text-foreground placeholder:text-muted-foreground focus:border-transparent focus:outline-none focus:ring-2 focus:ring-primary"
 | 
			
		||||
                      placeholder="your.email@company.com"
 | 
			
		||||
                    />
 | 
			
		||||
                  </div>
 | 
			
		||||
 | 
			
		||||
                  <div>
 | 
			
		||||
                    <label
 | 
			
		||||
                      htmlFor="company"
 | 
			
		||||
                      className="mb-1 block text-sm font-medium text-muted-foreground"
 | 
			
		||||
                    >
 | 
			
		||||
                      Company
 | 
			
		||||
                    </label>
 | 
			
		||||
                    <input
 | 
			
		||||
                      type="text"
 | 
			
		||||
                      id="company"
 | 
			
		||||
                      name="company"
 | 
			
		||||
                      value={formData.company}
 | 
			
		||||
                      onChange={handleInputChange}
 | 
			
		||||
                      className="w-full rounded-lg border border-border bg-muted/30 px-4 py-3 text-foreground placeholder:text-muted-foreground focus:border-transparent focus:outline-none focus:ring-2 focus:ring-primary"
 | 
			
		||||
                      placeholder="Your company name"
 | 
			
		||||
                    />
 | 
			
		||||
                  </div>
 | 
			
		||||
 | 
			
		||||
                  <div>
 | 
			
		||||
                    <label
 | 
			
		||||
                      htmlFor="message"
 | 
			
		||||
                      className="mb-1 block text-sm font-medium text-muted-foreground"
 | 
			
		||||
                    >
 | 
			
		||||
                      Message
 | 
			
		||||
                    </label>
 | 
			
		||||
                    <textarea
 | 
			
		||||
                      id="message"
 | 
			
		||||
                      name="message"
 | 
			
		||||
                      value={formData.message}
 | 
			
		||||
                      onChange={handleInputChange}
 | 
			
		||||
                      rows={4}
 | 
			
		||||
                      className="w-full resize-none rounded-lg border border-border bg-muted/30 px-4 py-3 text-foreground placeholder:text-muted-foreground focus:border-transparent focus:outline-none focus:ring-2 focus:ring-primary"
 | 
			
		||||
                      placeholder={
 | 
			
		||||
                        formType === 'investor'
 | 
			
		||||
                          ? 'Tell us about your investment interests and how we can collaborate.'
 | 
			
		||||
                          : formType === 'agent_waitlist'
 | 
			
		||||
                            ? 'Tell us about your sovereign agent requirements.'
 | 
			
		||||
                            : 'Tell us about your project or how we can help.'
 | 
			
		||||
                      }
 | 
			
		||||
                    />
 | 
			
		||||
                  </div>
 | 
			
		||||
 | 
			
		||||
                  <button
 | 
			
		||||
                    type="submit"
 | 
			
		||||
                    disabled={isSubmitting}
 | 
			
		||||
                    className="flex w-full items-center justify-center rounded-lg bg-primary px-6 py-3 font-semibold text-primary-foreground transition-opacity disabled:cursor-not-allowed disabled:opacity-50"
 | 
			
		||||
                  >
 | 
			
		||||
                    {isSubmitting ? (
 | 
			
		||||
                      <>
 | 
			
		||||
                        <div className="mr-2 h-5 w-5 animate-spin rounded-full border-2 border-primary-foreground/30 border-t-primary-foreground" />
 | 
			
		||||
                        Sending...
 | 
			
		||||
                      </>
 | 
			
		||||
                    ) : (
 | 
			
		||||
                      <>
 | 
			
		||||
                        <Send className="h-5 w-5" />
 | 
			
		||||
                        <span className="ml-2">Send Message</span>
 | 
			
		||||
                      </>
 | 
			
		||||
                    )}
 | 
			
		||||
                  </button>
 | 
			
		||||
                </form>
 | 
			
		||||
              )}
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
        </motion.div>
 | 
			
		||||
      )}
 | 
			
		||||
    </AnimatePresence>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -18,11 +18,10 @@ export function FadeIn({ children, transition, className }: FadeInProps) {
 | 
			
		||||
      className={className}
 | 
			
		||||
      initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
      whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
      viewport={{ once: false, margin: isMobile ? '0px 0px -50px 0px' : '0px 0px -100px 0px' }}
 | 
			
		||||
      transition={transition || { duration: 0.5 }}
 | 
			
		||||
      viewport={{ once: true, amount: isMobile ? 0.2 : 0.3 }}
 | 
			
		||||
      transition={transition || { duration: 0.5, ease: 'easeOut' }}
 | 
			
		||||
    >
 | 
			
		||||
      {children}
 | 
			
		||||
    </motion.div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -10,8 +10,8 @@ export function Footer() {
 | 
			
		||||
            <div className="flex items-center text-gray-900">
 | 
			
		||||
              <img src="/src/images/logomark.svg" alt="Mycelium Logomark" className="h-20 w-20 flex-none" />
 | 
			
		||||
              <div className="ml-4">
 | 
			
		||||
                <p className="text-base font-semibold">Mycelium</p>
 | 
			
		||||
                <p className="mt-1 text-sm">Unleash the Power of Decentralized Networks</p>
 | 
			
		||||
                <p className="text-base font-semibold">Project Mycelium</p>
 | 
			
		||||
                <p className="mt-1 text-sm">Unleash the Power of Decentralization</p>
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <nav className="mt-10 flex gap-8">
 | 
			
		||||
@@ -35,10 +35,10 @@ export function Footer() {
 | 
			
		||||
            </div>
 | 
			
		||||
            <div className="ml-4 lg:w-72">
 | 
			
		||||
              <p className="text-base font-semibold text-gray-900">
 | 
			
		||||
                <a href="https://github.com/threefoldtech/mycelium/releases/" target="_blank" rel="noopener noreferrer">
 | 
			
		||||
                <Link to="/download">
 | 
			
		||||
                  <span className="absolute inset-0 sm:rounded-2xl" />
 | 
			
		||||
                  Download Mycelium
 | 
			
		||||
                </a>
 | 
			
		||||
                  Download Mycelium Connector
 | 
			
		||||
                </Link>
 | 
			
		||||
              </p>
 | 
			
		||||
              <p className="mt-1 text-sm text-gray-700">
 | 
			
		||||
                Head to the GitHub to access the latest Mycelium builds for your devices.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,124 +1,56 @@
 | 
			
		||||
'use client'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
import { useEffect, useRef, useState } from 'react'
 | 
			
		||||
import { Link } from 'react-router-dom'
 | 
			
		||||
import { AnimatePresence, motion } from 'framer-motion'
 | 
			
		||||
import clsx from 'clsx'
 | 
			
		||||
import { Container } from './Container'
 | 
			
		||||
import { Button } from './Button'
 | 
			
		||||
import pmyceliumLogo from '../images/logos/pmyceliumlogo.png'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
function NavLinks() {
 | 
			
		||||
  let [hoveredIndex, setHoveredIndex] = useState<number | null>(null)
 | 
			
		||||
  let timeoutRef = useRef<number | null>(null)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
export function Header() {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="flex items-center gap-x-5">
 | 
			
		||||
      <Link to="/" aria-label="Home">
 | 
			
		||||
        <img src="/src/images/logomark.svg" alt="Mycelium" className="h-10 w-auto" />
 | 
			
		||||
      </Link>
 | 
			
		||||
      <div className="flex items-center gap-x-5 border-l border-white/10 pl-5">
 | 
			
		||||
        {[
 | 
			
		||||
          ['Home', '/'],
 | 
			
		||||
          ['Cloud', '/cloud'],
 | 
			
		||||
          ['Network', '/network'],
 | 
			
		||||
          ['Agents', '/agents'],
 | 
			
		||||
        ].map(([label, href], index) => (
 | 
			
		||||
          <Link
 | 
			
		||||
            key={label}
 | 
			
		||||
            to={href}
 | 
			
		||||
            className={clsx(
 | 
			
		||||
              'relative rounded-lg px-3 py-2 text-sm text-black transition-colors delay-150 hover:text-cyan-500 hover:delay-0',
 | 
			
		||||
            )}
 | 
			
		||||
            onMouseEnter={() => {
 | 
			
		||||
              if (timeoutRef.current) {
 | 
			
		||||
                window.clearTimeout(timeoutRef.current)
 | 
			
		||||
              }
 | 
			
		||||
              setHoveredIndex(index)
 | 
			
		||||
            }}
 | 
			
		||||
            onMouseLeave={() => {
 | 
			
		||||
              timeoutRef.current = window.setTimeout(() => {
 | 
			
		||||
                setHoveredIndex(null)
 | 
			
		||||
              }, 200)
 | 
			
		||||
            }}
 | 
			
		||||
          >
 | 
			
		||||
            <AnimatePresence>
 | 
			
		||||
              {hoveredIndex === index && (
 | 
			
		||||
                <motion.span
 | 
			
		||||
                  className="absolute inset-0 rounded-lg bg-white/10"
 | 
			
		||||
                  layoutId="hoverBackground"
 | 
			
		||||
                  initial={{ opacity: 0 }}
 | 
			
		||||
                  animate={{ opacity: 1, transition: { duration: 0.15 } }}
 | 
			
		||||
                  exit={{
 | 
			
		||||
                    opacity: 0,
 | 
			
		||||
                    transition: { duration: 0.15 },
 | 
			
		||||
                  }}
 | 
			
		||||
                />
 | 
			
		||||
              )}
 | 
			
		||||
            </AnimatePresence>
 | 
			
		||||
            <span className="relative z-10">{label}</span>
 | 
			
		||||
          </Link>
 | 
			
		||||
        ))}
 | 
			
		||||
      </div>
 | 
			
		||||
       <div className="flex items-center gap-8">
 | 
			
		||||
    <header>
 | 
			
		||||
      <nav>
 | 
			
		||||
                <Container className="relative z-50 flex justify-between py-4">
 | 
			
		||||
          <div className="relative z-10 flex items-center gap-16">
 | 
			
		||||
            <Link to="/" aria-label="Home">
 | 
			
		||||
              <img src={pmyceliumLogo} alt="Mycelium" className="h-8 w-auto" />
 | 
			
		||||
            </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>
 | 
			
		||||
              <Link
 | 
			
		||||
                to="/network"
 | 
			
		||||
                className="text-base/7 tracking-tight text-gray-700 hover:text-cyan-500 transition-colors"
 | 
			
		||||
              >
 | 
			
		||||
                Network
 | 
			
		||||
              </Link>
 | 
			
		||||
              <Link
 | 
			
		||||
                to="/agents"
 | 
			
		||||
                className="text-base/7 tracking-tight text-gray-700 hover:text-cyan-500 transition-colors"
 | 
			
		||||
              >
 | 
			
		||||
                Agents
 | 
			
		||||
              </Link>
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div className="flex items-center gap-6">
 | 
			
		||||
            <div className="flex items-center gap-6 max-lg:hidden">
 | 
			
		||||
              <Button
 | 
			
		||||
                to="https://threefold.info/mycelium_network/docs/"
 | 
			
		||||
                to="https://myceliumcloud.tf"
 | 
			
		||||
                variant="outline"
 | 
			
		||||
                as="a"
 | 
			
		||||
                target="_blank"
 | 
			
		||||
                rel="noopener noreferrer"
 | 
			
		||||
              >
 | 
			
		||||
                Docs
 | 
			
		||||
                Start Deployment
 | 
			
		||||
              </Button>
 | 
			
		||||
              <Button to="/download" variant="solid" color="cyan">
 | 
			
		||||
                Get Mycelium
 | 
			
		||||
                Get Mycelium Connector
 | 
			
		||||
              </Button>
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
export function Header() {
 | 
			
		||||
  const [isVisible, setIsVisible] = useState(true);
 | 
			
		||||
  const [lastScrollY, setLastScrollY] = useState(0);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  const controlHeader = () => {
 | 
			
		||||
    if (typeof window !== 'undefined') {
 | 
			
		||||
      if (window.scrollY > lastScrollY && window.scrollY > 100) { // Hides when scrolling down past 100px
 | 
			
		||||
        setIsVisible(false);
 | 
			
		||||
      } else { // Shows when scrolling up
 | 
			
		||||
        setIsVisible(true);
 | 
			
		||||
      }
 | 
			
		||||
      setLastScrollY(window.scrollY);
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  useEffect(() => {
 | 
			
		||||
    if (typeof window !== 'undefined') {
 | 
			
		||||
      window.addEventListener('scroll', controlHeader);
 | 
			
		||||
      return () => {
 | 
			
		||||
        window.removeEventListener('scroll', controlHeader);
 | 
			
		||||
      };
 | 
			
		||||
    }
 | 
			
		||||
  }, [lastScrollY]);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <motion.header 
 | 
			
		||||
      className="fixed top-4 left-0 right-0 z-50 flex justify-center"
 | 
			
		||||
      initial={{ y: 0, opacity: 1 }}
 | 
			
		||||
      animate={{ y: isVisible ? 0 : -100, opacity: isVisible ? 1 : 0 }}
 | 
			
		||||
      transition={{ duration: 0.3, ease: 'easeInOut' }}
 | 
			
		||||
    >
 | 
			
		||||
      <div className="rounded-full bg-white/10 px-5 py-3 shadow-lg ring-1 ring-white/10 backdrop-blur-sm">
 | 
			
		||||
        <NavLinks />
 | 
			
		||||
      </div>
 | 
			
		||||
    </motion.header>
 | 
			
		||||
        </Container>
 | 
			
		||||
      </nav>
 | 
			
		||||
    </header>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,20 +1,13 @@
 | 
			
		||||
import { Outlet } from 'react-router-dom'
 | 
			
		||||
import { FloatingNav } from './ui/floating-navbar'
 | 
			
		||||
import { Footer } from './Footer'
 | 
			
		||||
import { Header } from './Header'
 | 
			
		||||
 | 
			
		||||
export function Layout() {
 | 
			
		||||
  const navItems = [
 | 
			
		||||
    { name: 'Home', link: '/' },
 | 
			
		||||
    { name: 'Cloud', link: '/cloud' },
 | 
			
		||||
    { name: 'Network', link: '/network' },
 | 
			
		||||
    { name: 'Agents', link: '/agents' },
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="bg-white antialiased" style={{ fontFamily: 'var(--font-inter)' }}>
 | 
			
		||||
      <Header />
 | 
			
		||||
      <main>
 | 
			
		||||
            <main className="">
 | 
			
		||||
        <Outlet />
 | 
			
		||||
      </main>
 | 
			
		||||
      <Footer />
 | 
			
		||||
 
 | 
			
		||||
@@ -23,6 +23,7 @@ type TextOwnProps = {
 | 
			
		||||
  font?: keyof typeof fontVariants
 | 
			
		||||
  color?: keyof typeof colorVariants
 | 
			
		||||
  className?: string
 | 
			
		||||
  children?: React.ReactNode
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Polymorphic helpers
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										138
									
								
								src/components/features-section-demo-1.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										138
									
								
								src/components/features-section-demo-1.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,138 @@
 | 
			
		||||
import { useId } from "react";
 | 
			
		||||
 | 
			
		||||
export default function FeaturesSectionDemo() {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="py-20 lg:py-40">
 | 
			
		||||
      <div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-10 md:gap-2 max-w-7xl mx-auto">
 | 
			
		||||
        {grid.map((feature) => (
 | 
			
		||||
          <div
 | 
			
		||||
            key={feature.title}
 | 
			
		||||
            className="relative bg-gradient-to-b dark:from-neutral-900 from-neutral-100 dark:to-neutral-950 to-white p-6 rounded-3xl overflow-hidden"
 | 
			
		||||
          >
 | 
			
		||||
            <Grid size={20} />
 | 
			
		||||
            <p className="text-base font-bold text-neutral-800 dark:text-white relative z-20">
 | 
			
		||||
              {feature.title}
 | 
			
		||||
            </p>
 | 
			
		||||
            <p className="text-neutral-600 dark:text-neutral-400 mt-4 text-base font-normal relative z-20">
 | 
			
		||||
              {feature.description}
 | 
			
		||||
            </p>
 | 
			
		||||
          </div>
 | 
			
		||||
        ))}
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const grid = [
 | 
			
		||||
  {
 | 
			
		||||
    title: "HIPAA and SOC2 Compliant",
 | 
			
		||||
    description:
 | 
			
		||||
      "Our applications are HIPAA and SOC2 compliant, your data is safe with us, always.",
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: "Automated Social Media Posting",
 | 
			
		||||
    description:
 | 
			
		||||
      "Schedule and automate your social media posts across multiple platforms to save time and maintain a consistent online presence.",
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: "Advanced Analytics",
 | 
			
		||||
    description:
 | 
			
		||||
      "Gain insights into your social media performance with detailed analytics and reporting tools to measure engagement and ROI.",
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: "Content Calendar",
 | 
			
		||||
    description:
 | 
			
		||||
      "Plan and organize your social media content with an intuitive calendar view, ensuring you never miss a post.",
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: "Audience Targeting",
 | 
			
		||||
    description:
 | 
			
		||||
      "Reach the right audience with advanced targeting options, including demographics, interests, and behaviors.",
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: "Social Listening",
 | 
			
		||||
    description:
 | 
			
		||||
      "Monitor social media conversations and trends to stay informed about what your audience is saying and respond in real-time.",
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: "Customizable Templates",
 | 
			
		||||
    description:
 | 
			
		||||
      "Create stunning social media posts with our customizable templates, designed to fit your brand's unique style and voice.",
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: "Collaboration Tools",
 | 
			
		||||
    description:
 | 
			
		||||
      "Work seamlessly with your team using our collaboration tools, allowing you to assign tasks, share drafts, and provide feedback in real-time.",
 | 
			
		||||
  },
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
export const Grid = ({
 | 
			
		||||
  pattern,
 | 
			
		||||
  size,
 | 
			
		||||
}: {
 | 
			
		||||
  pattern?: number[][];
 | 
			
		||||
  size?: number;
 | 
			
		||||
}) => {
 | 
			
		||||
  const p = pattern ?? [
 | 
			
		||||
    [Math.floor(Math.random() * 4) + 7, Math.floor(Math.random() * 6) + 1],
 | 
			
		||||
    [Math.floor(Math.random() * 4) + 7, Math.floor(Math.random() * 6) + 1],
 | 
			
		||||
    [Math.floor(Math.random() * 4) + 7, Math.floor(Math.random() * 6) + 1],
 | 
			
		||||
    [Math.floor(Math.random() * 4) + 7, Math.floor(Math.random() * 6) + 1],
 | 
			
		||||
    [Math.floor(Math.random() * 4) + 7, Math.floor(Math.random() * 6) + 1],
 | 
			
		||||
  ];
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="pointer-events-none absolute left-1/2 top-0  -ml-20 -mt-2 h-full w-full [mask-image:linear-gradient(white,transparent)]">
 | 
			
		||||
      <div className="absolute inset-0 bg-gradient-to-r  [mask-image:radial-gradient(farthest-side_at_top,white,transparent)] dark:from-zinc-900/30 from-zinc-100/30 to-zinc-300/30 dark:to-zinc-900/30 opacity-100">
 | 
			
		||||
        <GridPattern
 | 
			
		||||
          width={size ?? 20}
 | 
			
		||||
          height={size ?? 20}
 | 
			
		||||
          x="-12"
 | 
			
		||||
          y="4"
 | 
			
		||||
          squares={p}
 | 
			
		||||
          className="absolute inset-0 h-full w-full  mix-blend-overlay dark:fill-white/10 dark:stroke-white/10 stroke-black/10 fill-black/10"
 | 
			
		||||
        />
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export function GridPattern({ width, height, x, y, squares, ...props }: any) {
 | 
			
		||||
  const patternId = useId();
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <svg aria-hidden="true" {...props}>
 | 
			
		||||
      <defs>
 | 
			
		||||
        <pattern
 | 
			
		||||
          id={patternId}
 | 
			
		||||
          width={width}
 | 
			
		||||
          height={height}
 | 
			
		||||
          patternUnits="userSpaceOnUse"
 | 
			
		||||
          x={x}
 | 
			
		||||
          y={y}
 | 
			
		||||
        >
 | 
			
		||||
          <path d={`M.5 ${height}V.5H${width}`} fill="none" />
 | 
			
		||||
        </pattern>
 | 
			
		||||
      </defs>
 | 
			
		||||
      <rect
 | 
			
		||||
        width="100%"
 | 
			
		||||
        height="100%"
 | 
			
		||||
        strokeWidth={0}
 | 
			
		||||
        fill={`url(#${patternId})`}
 | 
			
		||||
      />
 | 
			
		||||
      {squares && (
 | 
			
		||||
        <svg x={x} y={y} className="overflow-visible">
 | 
			
		||||
          {squares.map(([x, y]: any) => (
 | 
			
		||||
            <rect
 | 
			
		||||
              strokeWidth="0"
 | 
			
		||||
              key={`${x}-${y}`}
 | 
			
		||||
              width={width + 1}
 | 
			
		||||
              height={height + 1}
 | 
			
		||||
              x={x * width}
 | 
			
		||||
              y={y * height}
 | 
			
		||||
            />
 | 
			
		||||
          ))}
 | 
			
		||||
        </svg>
 | 
			
		||||
      )}
 | 
			
		||||
    </svg>
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										109
									
								
								src/components/features-section-demo-2.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										109
									
								
								src/components/features-section-demo-2.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,109 @@
 | 
			
		||||
import { cn } from "@/lib/utils";
 | 
			
		||||
import {
 | 
			
		||||
  IconAdjustmentsBolt,
 | 
			
		||||
  IconCloud,
 | 
			
		||||
  IconCurrencyDollar,
 | 
			
		||||
  IconEaseInOut,
 | 
			
		||||
  IconHeart,
 | 
			
		||||
  IconHelp,
 | 
			
		||||
  IconRouteAltLeft,
 | 
			
		||||
  IconTerminal2,
 | 
			
		||||
} from "@tabler/icons-react";
 | 
			
		||||
 | 
			
		||||
export default function FeaturesSectionDemo() {
 | 
			
		||||
  const features = [
 | 
			
		||||
    {
 | 
			
		||||
      title: "Built for developers",
 | 
			
		||||
      description:
 | 
			
		||||
        "Built for engineers, developers, dreamers, thinkers and doers.",
 | 
			
		||||
      icon: <IconTerminal2 />,
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "Ease of use",
 | 
			
		||||
      description:
 | 
			
		||||
        "It's as easy as using an Apple, and as expensive as buying one.",
 | 
			
		||||
      icon: <IconEaseInOut />,
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "Pricing like no other",
 | 
			
		||||
      description:
 | 
			
		||||
        "Our prices are best in the market. No cap, no lock, no credit card required.",
 | 
			
		||||
      icon: <IconCurrencyDollar />,
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "100% Uptime guarantee",
 | 
			
		||||
      description: "We just cannot be taken down by anyone.",
 | 
			
		||||
      icon: <IconCloud />,
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "Multi-tenant Architecture",
 | 
			
		||||
      description: "You can simply share passwords instead of buying new seats",
 | 
			
		||||
      icon: <IconRouteAltLeft />,
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "24/7 Customer Support",
 | 
			
		||||
      description:
 | 
			
		||||
        "We are available a 100% of the time. Atleast our AI Agents are.",
 | 
			
		||||
      icon: <IconHelp />,
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "Money back guarantee",
 | 
			
		||||
      description:
 | 
			
		||||
        "If you donot like EveryAI, we will convince you to like us.",
 | 
			
		||||
      icon: <IconAdjustmentsBolt />,
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "And everything else",
 | 
			
		||||
      description: "I just ran out of copy ideas. Accept my sincere apologies",
 | 
			
		||||
      icon: <IconHeart />,
 | 
			
		||||
    },
 | 
			
		||||
  ];
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4  relative z-10 py-10 max-w-7xl mx-auto">
 | 
			
		||||
      {features.map((feature, index) => (
 | 
			
		||||
        <Feature key={feature.title} {...feature} index={index} />
 | 
			
		||||
      ))}
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const Feature = ({
 | 
			
		||||
  title,
 | 
			
		||||
  description,
 | 
			
		||||
  icon,
 | 
			
		||||
  index,
 | 
			
		||||
}: {
 | 
			
		||||
  title: string;
 | 
			
		||||
  description: string;
 | 
			
		||||
  icon: React.ReactNode;
 | 
			
		||||
  index: number;
 | 
			
		||||
}) => {
 | 
			
		||||
  return (
 | 
			
		||||
    <div
 | 
			
		||||
      className={cn(
 | 
			
		||||
        "flex flex-col lg:border-r  py-10 relative group/feature dark:border-neutral-800",
 | 
			
		||||
        (index === 0 || index === 4) && "lg:border-l dark:border-neutral-800",
 | 
			
		||||
        index < 4 && "lg:border-b dark:border-neutral-800"
 | 
			
		||||
      )}
 | 
			
		||||
    >
 | 
			
		||||
      {index < 4 && (
 | 
			
		||||
        <div className="opacity-0 group-hover/feature:opacity-100 transition duration-200 absolute inset-0 h-full w-full bg-gradient-to-t from-neutral-100 dark:from-neutral-800 to-transparent pointer-events-none" />
 | 
			
		||||
      )}
 | 
			
		||||
      {index >= 4 && (
 | 
			
		||||
        <div className="opacity-0 group-hover/feature:opacity-100 transition duration-200 absolute inset-0 h-full w-full bg-gradient-to-b from-neutral-100 dark:from-neutral-800 to-transparent pointer-events-none" />
 | 
			
		||||
      )}
 | 
			
		||||
      <div className="mb-4 relative z-10 px-10 text-neutral-600 dark:text-neutral-400">
 | 
			
		||||
        {icon}
 | 
			
		||||
      </div>
 | 
			
		||||
      <div className="text-lg font-bold mb-2 relative z-10 px-10">
 | 
			
		||||
        <div className="absolute left-0 inset-y-0 h-6 group-hover/feature:h-8 w-1 rounded-tr-full rounded-br-full bg-neutral-300 dark:bg-neutral-700 group-hover/feature:bg-blue-500 transition-all duration-200 origin-center" />
 | 
			
		||||
        <span className="group-hover/feature:translate-x-2 transition duration-200 inline-block text-neutral-800 dark:text-neutral-100">
 | 
			
		||||
          {title}
 | 
			
		||||
        </span>
 | 
			
		||||
      </div>
 | 
			
		||||
      <p className="text-sm text-neutral-600 dark:text-neutral-300 max-w-xs relative z-10 px-10">
 | 
			
		||||
        {description}
 | 
			
		||||
      </p>
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										281
									
								
								src/components/features-section-demo-3.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										281
									
								
								src/components/features-section-demo-3.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,281 @@
 | 
			
		||||
import React from "react";
 | 
			
		||||
import { cn } from "@/lib/utils";
 | 
			
		||||
import createGlobe from "cobe";
 | 
			
		||||
import { useEffect, useRef } from "react";
 | 
			
		||||
import { motion } from "motion/react";
 | 
			
		||||
import { IconBrandYoutubeFilled } from "@tabler/icons-react";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
export default function FeaturesSectionDemo() {
 | 
			
		||||
  const features = [
 | 
			
		||||
    {
 | 
			
		||||
      title: "Track issues effectively",
 | 
			
		||||
      description:
 | 
			
		||||
        "Track and manage your project issues with ease using our intuitive interface.",
 | 
			
		||||
      skeleton: <SkeletonOne />,
 | 
			
		||||
      className:
 | 
			
		||||
        "col-span-1 lg:col-span-4 border-b lg:border-r dark:border-neutral-800",
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "Capture pictures with AI",
 | 
			
		||||
      description:
 | 
			
		||||
        "Capture stunning photos effortlessly using our advanced AI technology.",
 | 
			
		||||
      skeleton: <SkeletonTwo />,
 | 
			
		||||
      className: "border-b col-span-1 lg:col-span-2 dark:border-neutral-800",
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "Watch our AI on YouTube",
 | 
			
		||||
      description:
 | 
			
		||||
        "Whether its you or Tyler Durden, you can get to know about our product on YouTube",
 | 
			
		||||
      skeleton: <SkeletonThree />,
 | 
			
		||||
      className:
 | 
			
		||||
        "col-span-1 lg:col-span-3 lg:border-r  dark:border-neutral-800",
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "Deploy in seconds",
 | 
			
		||||
      description:
 | 
			
		||||
        "With our blazing fast, state of the art, cutting edge, we are so back cloud servies (read AWS) - you can deploy your model in seconds.",
 | 
			
		||||
      skeleton: <SkeletonFour />,
 | 
			
		||||
      className: "col-span-1 lg:col-span-3 border-b lg:border-none",
 | 
			
		||||
    },
 | 
			
		||||
  ];
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="relative z-20 py-10 lg:py-40 max-w-7xl mx-auto">
 | 
			
		||||
      <div className="px-8">
 | 
			
		||||
        <h4 className="text-3xl lg:text-5xl lg:leading-tight max-w-5xl mx-auto text-center tracking-tight font-medium text-black dark:text-white">
 | 
			
		||||
          Packed with thousands of features
 | 
			
		||||
        </h4>
 | 
			
		||||
 | 
			
		||||
        <p className="text-sm lg:text-base  max-w-2xl  my-4 mx-auto text-neutral-500 text-center font-normal dark:text-neutral-300">
 | 
			
		||||
          From Image generation to video generation, Everything AI has APIs for
 | 
			
		||||
          literally everything. It can even create this website copy for you.
 | 
			
		||||
        </p>
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      <div className="relative ">
 | 
			
		||||
        <div className="grid grid-cols-1 lg:grid-cols-6 mt-12 xl:border rounded-md dark:border-neutral-800">
 | 
			
		||||
          {features.map((feature) => (
 | 
			
		||||
            <FeatureCard key={feature.title} className={feature.className}>
 | 
			
		||||
              <FeatureTitle>{feature.title}</FeatureTitle>
 | 
			
		||||
              <FeatureDescription>{feature.description}</FeatureDescription>
 | 
			
		||||
              <div className=" h-full w-full">{feature.skeleton}</div>
 | 
			
		||||
            </FeatureCard>
 | 
			
		||||
          ))}
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const FeatureCard = ({
 | 
			
		||||
  children,
 | 
			
		||||
  className,
 | 
			
		||||
}: {
 | 
			
		||||
  children?: React.ReactNode;
 | 
			
		||||
  className?: string;
 | 
			
		||||
}) => {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className={cn(`p-4 sm:p-8 relative overflow-hidden`, className)}>
 | 
			
		||||
      {children}
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const FeatureTitle = ({ children }: { children?: React.ReactNode }) => {
 | 
			
		||||
  return (
 | 
			
		||||
    <p className=" max-w-5xl mx-auto text-left tracking-tight text-black dark:text-white text-xl md:text-2xl md:leading-snug">
 | 
			
		||||
      {children}
 | 
			
		||||
    </p>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const FeatureDescription = ({ children }: { children?: React.ReactNode }) => {
 | 
			
		||||
  return (
 | 
			
		||||
    <p
 | 
			
		||||
      className={cn(
 | 
			
		||||
        "text-sm md:text-base  max-w-4xl text-left mx-auto",
 | 
			
		||||
        "text-neutral-500 text-center font-normal dark:text-neutral-300",
 | 
			
		||||
        "text-left max-w-sm mx-0 md:text-sm my-2"
 | 
			
		||||
      )}
 | 
			
		||||
    >
 | 
			
		||||
      {children}
 | 
			
		||||
    </p>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const SkeletonOne = () => {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="relative flex py-8 px-2 gap-10 h-full">
 | 
			
		||||
      <div className="w-full  p-5  mx-auto bg-white dark:bg-neutral-900 shadow-2xl group h-full">
 | 
			
		||||
        <div className="flex flex-1 w-full h-full flex-col space-y-2  ">
 | 
			
		||||
          {/* TODO */}
 | 
			
		||||
          <img
 | 
			
		||||
            src="/linear.webp"
 | 
			
		||||
            alt="header"
 | 
			
		||||
            width={800}
 | 
			
		||||
            height={800}
 | 
			
		||||
            className="h-full w-full aspect-square object-cover object-left-top rounded-sm"
 | 
			
		||||
          />
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      <div className="absolute bottom-0 z-40 inset-x-0 h-60 bg-gradient-to-t from-white dark:from-black via-white dark:via-black to-transparent w-full pointer-events-none" />
 | 
			
		||||
      <div className="absolute top-0 z-40 inset-x-0 h-60 bg-gradient-to-b from-white dark:from-black via-transparent to-transparent w-full pointer-events-none" />
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const SkeletonThree = () => {
 | 
			
		||||
  return (
 | 
			
		||||
    <a
 | 
			
		||||
      href="https://www.youtube.com/watch?v=RPa3_AD1_Vs"
 | 
			
		||||
      target="__blank"
 | 
			
		||||
      className="relative flex gap-10  h-full group/image"
 | 
			
		||||
    >
 | 
			
		||||
      <div className="w-full  mx-auto bg-transparent dark:bg-transparent group h-full">
 | 
			
		||||
        <div className="flex flex-1 w-full h-full flex-col space-y-2  relative">
 | 
			
		||||
          {/* TODO */}
 | 
			
		||||
          <IconBrandYoutubeFilled className="h-20 w-20 absolute z-10 inset-0 text-red-500 m-auto " />
 | 
			
		||||
          <img
 | 
			
		||||
            src="https://assets.aceternity.com/fireship.jpg"
 | 
			
		||||
            alt="header"
 | 
			
		||||
            width={800}
 | 
			
		||||
            height={800}
 | 
			
		||||
            className="h-full w-full aspect-square object-cover object-center rounded-sm blur-none group-hover/image:blur-md transition-all duration-200"
 | 
			
		||||
          />
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </a>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const SkeletonTwo = () => {
 | 
			
		||||
  const images = [
 | 
			
		||||
    "https://images.unsplash.com/photo-1517322048670-4fba75cbbb62?q=80&w=3000&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
 | 
			
		||||
    "https://images.unsplash.com/photo-1573790387438-4da905039392?q=80&w=3425&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
 | 
			
		||||
    "https://images.unsplash.com/photo-1555400038-63f5ba517a47?q=80&w=3540&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
 | 
			
		||||
    "https://images.unsplash.com/photo-1554931670-4ebfabf6e7a9?q=80&w=3387&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
 | 
			
		||||
    "https://images.unsplash.com/photo-1546484475-7f7bd55792da?q=80&w=2581&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  const imageVariants = {
 | 
			
		||||
    whileHover: {
 | 
			
		||||
      scale: 1.1,
 | 
			
		||||
      rotate: 0,
 | 
			
		||||
      zIndex: 100,
 | 
			
		||||
    },
 | 
			
		||||
    whileTap: {
 | 
			
		||||
      scale: 1.1,
 | 
			
		||||
      rotate: 0,
 | 
			
		||||
      zIndex: 100,
 | 
			
		||||
    },
 | 
			
		||||
  };
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="relative flex flex-col items-start p-8 gap-10 h-full overflow-hidden">
 | 
			
		||||
      {/* TODO */}
 | 
			
		||||
      <div className="flex flex-row -ml-20">
 | 
			
		||||
        {images.map((image, idx) => (
 | 
			
		||||
          <motion.div
 | 
			
		||||
            variants={imageVariants}
 | 
			
		||||
            key={"images-first" + idx}
 | 
			
		||||
            style={{
 | 
			
		||||
              rotate: Math.random() * 20 - 10,
 | 
			
		||||
            }}
 | 
			
		||||
            whileHover="whileHover"
 | 
			
		||||
            whileTap="whileTap"
 | 
			
		||||
            className="rounded-xl -mr-4 mt-4 p-1 bg-white dark:bg-neutral-800 dark:border-neutral-700 border border-neutral-100 shrink-0 overflow-hidden"
 | 
			
		||||
          >
 | 
			
		||||
            <img
 | 
			
		||||
              src={image}
 | 
			
		||||
              alt="bali images"
 | 
			
		||||
              width="500"
 | 
			
		||||
              height="500"
 | 
			
		||||
              className="rounded-lg h-20 w-20 md:h-40 md:w-40 object-cover shrink-0"
 | 
			
		||||
            />
 | 
			
		||||
          </motion.div>
 | 
			
		||||
        ))}
 | 
			
		||||
      </div>
 | 
			
		||||
      <div className="flex flex-row">
 | 
			
		||||
        {images.map((image, idx) => (
 | 
			
		||||
          <motion.div
 | 
			
		||||
            key={"images-second" + idx}
 | 
			
		||||
            style={{
 | 
			
		||||
              rotate: Math.random() * 20 - 10,
 | 
			
		||||
            }}
 | 
			
		||||
            variants={imageVariants}
 | 
			
		||||
            whileHover="whileHover"
 | 
			
		||||
            whileTap="whileTap"
 | 
			
		||||
            className="rounded-xl -mr-4 mt-4 p-1 bg-white dark:bg-neutral-800 dark:border-neutral-700 border border-neutral-100 shrink-0 overflow-hidden"
 | 
			
		||||
          >
 | 
			
		||||
            <img
 | 
			
		||||
              src={image}
 | 
			
		||||
              alt="bali images"
 | 
			
		||||
              width="500"
 | 
			
		||||
              height="500"
 | 
			
		||||
              className="rounded-lg h-20 w-20 md:h-40 md:w-40 object-cover shrink-0"
 | 
			
		||||
            />
 | 
			
		||||
          </motion.div>
 | 
			
		||||
        ))}
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      <div className="absolute left-0 z-[100] inset-y-0 w-20 bg-gradient-to-r from-white dark:from-black to-transparent  h-full pointer-events-none" />
 | 
			
		||||
      <div className="absolute right-0 z-[100] inset-y-0 w-20 bg-gradient-to-l from-white dark:from-black  to-transparent h-full pointer-events-none" />
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const SkeletonFour = () => {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="h-60 md:h-60  flex flex-col items-center relative bg-transparent dark:bg-transparent mt-10">
 | 
			
		||||
      <Globe className="absolute -right-10 md:-right-10 -bottom-80 md:-bottom-72" />
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const Globe = ({ className }: { className?: string }) => {
 | 
			
		||||
  const canvasRef = useRef<HTMLCanvasElement>(null);
 | 
			
		||||
 | 
			
		||||
  useEffect(() => {
 | 
			
		||||
    let phi = 0;
 | 
			
		||||
 | 
			
		||||
    if (!canvasRef.current) return;
 | 
			
		||||
 | 
			
		||||
    const globe = createGlobe(canvasRef.current, {
 | 
			
		||||
      devicePixelRatio: 2,
 | 
			
		||||
      width: 600 * 2,
 | 
			
		||||
      height: 600 * 2,
 | 
			
		||||
      phi: 0,
 | 
			
		||||
      theta: 0,
 | 
			
		||||
      dark: 1,
 | 
			
		||||
      diffuse: 1.2,
 | 
			
		||||
      mapSamples: 16000,
 | 
			
		||||
      mapBrightness: 6,
 | 
			
		||||
      baseColor: [0.3, 0.3, 0.3],
 | 
			
		||||
      markerColor: [0.1, 0.8, 1],
 | 
			
		||||
      glowColor: [1, 1, 1],
 | 
			
		||||
      markers: [
 | 
			
		||||
        // longitude latitude
 | 
			
		||||
        { location: [37.7595, -122.4367], size: 0.03 },
 | 
			
		||||
        { location: [40.7128, -74.006], size: 0.1 },
 | 
			
		||||
      ],
 | 
			
		||||
      onRender: (state) => {
 | 
			
		||||
        // Called on every animation frame.
 | 
			
		||||
        // `state` will be an empty object, return updated params.
 | 
			
		||||
        state.phi = phi;
 | 
			
		||||
        phi += 0.01;
 | 
			
		||||
      },
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    return () => {
 | 
			
		||||
      globe.destroy();
 | 
			
		||||
    };
 | 
			
		||||
  }, []);
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <canvas
 | 
			
		||||
      ref={canvasRef}
 | 
			
		||||
      style={{ width: 600, height: 600, maxWidth: "100%", aspectRatio: 1 }}
 | 
			
		||||
      className={className}
 | 
			
		||||
    />
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										18
									
								
								src/components/ui/CountUpNumber.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								src/components/ui/CountUpNumber.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
'use client'
 | 
			
		||||
 | 
			
		||||
import CountUp from 'react-countup'
 | 
			
		||||
import { SectionHeader } from '@/components/Texts'
 | 
			
		||||
 | 
			
		||||
interface CountUpNumberProps {
 | 
			
		||||
  end: number
 | 
			
		||||
  className?: string
 | 
			
		||||
  color?: 'light' | 'primary' | 'secondary' | 'white'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function CountUpNumber({ end, className, color }: CountUpNumberProps) {
 | 
			
		||||
  return (
 | 
			
		||||
    <SectionHeader color={color} className={className}>
 | 
			
		||||
      <CountUp end={end} duration={2.75} separator="," />
 | 
			
		||||
    </SectionHeader>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										27
									
								
								src/components/ui/FadeIn.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								src/components/ui/FadeIn.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
'use client'
 | 
			
		||||
 | 
			
		||||
import { motion, type Transition } from 'framer-motion'
 | 
			
		||||
import React from 'react'
 | 
			
		||||
import { useMediaQuery } from '@/hooks/useMediaQuery'
 | 
			
		||||
 | 
			
		||||
type FadeInProps = {
 | 
			
		||||
  children: React.ReactNode
 | 
			
		||||
  transition?: Transition
 | 
			
		||||
  className?: string
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function FadeIn({ children, transition, className }: FadeInProps) {
 | 
			
		||||
  const isMobile = useMediaQuery('(max-width: 768px)')
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <motion.div
 | 
			
		||||
      className={className}
 | 
			
		||||
      initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
      whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
      viewport={{ once: true, amount: isMobile ? 0.2 : 0.3 }}
 | 
			
		||||
      transition={transition || { duration: 0.5, ease: 'easeOut' }}
 | 
			
		||||
    >
 | 
			
		||||
      {children}
 | 
			
		||||
    </motion.div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -1,47 +1,159 @@
 | 
			
		||||
import { useEffect, useRef } from 'react'
 | 
			
		||||
import createGlobe from 'cobe'
 | 
			
		||||
"use client";
 | 
			
		||||
 | 
			
		||||
export function Globe({ className }: { className?: string }) {
 | 
			
		||||
  const canvasRef = useRef<HTMLCanvasElement>(null)
 | 
			
		||||
import createGlobe, { type COBEOptions } from "cobe";
 | 
			
		||||
import { useMotionValue, useSpring } from "motion/react";
 | 
			
		||||
import { useEffect, useRef } from "react";
 | 
			
		||||
 | 
			
		||||
import { cn } from "@/lib/utils";
 | 
			
		||||
 | 
			
		||||
const MOVEMENT_DAMPING = 1400;
 | 
			
		||||
 | 
			
		||||
const GLOBE_CONFIG: COBEOptions = {
 | 
			
		||||
  width: 800,
 | 
			
		||||
  height: 800,
 | 
			
		||||
  onRender: () => {},
 | 
			
		||||
  devicePixelRatio: 2,
 | 
			
		||||
  phi: 0,
 | 
			
		||||
  theta: 0.3,
 | 
			
		||||
  dark: 0,
 | 
			
		||||
  diffuse: 0.25, // softer shading for premium look
 | 
			
		||||
  mapSamples: 16000,
 | 
			
		||||
  mapBrightness: 1.1,
 | 
			
		||||
  baseColor: [0.8, 0.8, 0.8], // sleek dark gray globe
 | 
			
		||||
  markerColor: [0.02, 0.71, 0.83], // cyan-500
 | 
			
		||||
  glowColor: [0.8, 0.8, 0.85], // grey
 | 
			
		||||
  
 | 
			
		||||
  markers: [
 | 
			
		||||
    // --- Core Global Markers ---
 | 
			
		||||
    { location: [14.5995, 120.9842], size: 0.03 }, // Manila
 | 
			
		||||
    { location: [19.076, 72.8777], size: 0.1 }, // Mumbai
 | 
			
		||||
    { location: [23.8103, 90.4125], size: 0.05 }, // Dhaka
 | 
			
		||||
    { location: [30.0444, 31.2357], size: 0.07 }, // Cairo
 | 
			
		||||
    { location: [39.9042, 116.4074], size: 0.08 }, // Beijing
 | 
			
		||||
    { location: [-23.5505, -46.6333], size: 0.1 }, // São Paulo
 | 
			
		||||
    { location: [19.4326, -99.1332], size: 0.1 }, // Mexico City
 | 
			
		||||
    { location: [40.7128, -74.006], size: 0.1 }, // New York
 | 
			
		||||
    { location: [34.6937, 135.5022], size: 0.05 }, // Osaka
 | 
			
		||||
    { location: [41.0082, 28.9784], size: 0.06 }, // Istanbul
 | 
			
		||||
    { location: [48.8566, 2.3522], size: 0.08 }, // Paris
 | 
			
		||||
    { location: [51.5072, -0.1276], size: 0.08 }, // London
 | 
			
		||||
    { location: [52.52, 13.405], size: 0.07 }, // Berlin
 | 
			
		||||
    { location: [35.6895, 139.6917], size: 0.06 }, // Tokyo
 | 
			
		||||
    { location: [-33.8688, 151.2093], size: 0.06 }, // Sydney
 | 
			
		||||
    { location: [-1.2921, 36.8219], size: 0.05 }, // Nairobi
 | 
			
		||||
    { location: [-34.6037, -58.3816], size: 0.07 }, // Buenos Aires
 | 
			
		||||
    { location: [37.7749, -122.4194], size: 0.08 }, // San Francisco
 | 
			
		||||
    { location: [1.3521, 103.8198], size: 0.06 }, // Singapore
 | 
			
		||||
    { location: [28.6139, 77.2090], size: 0.08 }, // New Delhi
 | 
			
		||||
    { location: [13.7563, 100.5018], size: 0.06 }, // Bangkok
 | 
			
		||||
    { location: [59.9343, 30.3351], size: 0.05 }, // St. Petersburg
 | 
			
		||||
    { location: [33.6844, 73.0479], size: 0.05 }, // Islamabad
 | 
			
		||||
    { location: [25.276987, 55.296249], size: 0.07 }, // Dubai
 | 
			
		||||
    { location: [60.1699, 24.9384], size: 0.05 }, // Helsinki
 | 
			
		||||
    { location: [43.6532, -79.3832], size: 0.07 }, // Toronto
 | 
			
		||||
    { location: [6.5244, 3.3792], size: 0.08 }, // Lagos
 | 
			
		||||
    { location: [50.1109, 8.6821], size: 0.06 }, // Frankfurt
 | 
			
		||||
 | 
			
		||||
    // --- 12 New US + European Cities ---
 | 
			
		||||
    { location: [34.0522, -118.2437], size: 0.08 }, // Los Angeles
 | 
			
		||||
    { location: [41.8781, -87.6298], size: 0.07 }, // Chicago
 | 
			
		||||
    { location: [29.7604, -95.3698], size: 0.07 }, // Houston
 | 
			
		||||
    { location: [25.7617, -80.1918], size: 0.07 }, // Miami
 | 
			
		||||
    { location: [45.5017, -73.5673], size: 0.06 }, // Montreal
 | 
			
		||||
    { location: [47.6062, -122.3321], size: 0.06 }, // Seattle
 | 
			
		||||
    { location: [40.4406, -79.9959], size: 0.05 }, // Pittsburgh
 | 
			
		||||
    { location: [41.3851, 2.1734], size: 0.06 }, // Barcelona
 | 
			
		||||
    { location: [45.4642, 9.19], size: 0.06 }, // Milan
 | 
			
		||||
    { location: [52.3676, 4.9041], size: 0.06 }, // Amsterdam
 | 
			
		||||
    { location: [38.7169, -9.139], size: 0.05 }, // Lisbon
 | 
			
		||||
    { location: [59.3293, 18.0686], size: 0.05 }, // Stockholmx
 | 
			
		||||
  ],
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export function Globe({
 | 
			
		||||
  className,
 | 
			
		||||
  config = GLOBE_CONFIG,
 | 
			
		||||
}: {
 | 
			
		||||
  className?: string;
 | 
			
		||||
  config?: COBEOptions;
 | 
			
		||||
}) {
 | 
			
		||||
  let phi = 0;
 | 
			
		||||
  let width = 0;
 | 
			
		||||
  const canvasRef = useRef<HTMLCanvasElement>(null);
 | 
			
		||||
  const pointerInteracting = useRef<number | null>(null);
 | 
			
		||||
 | 
			
		||||
  const r = useMotionValue(0);
 | 
			
		||||
  const rs = useSpring(r, {
 | 
			
		||||
    mass: 1,
 | 
			
		||||
    damping: 35, // slightly smoother motion
 | 
			
		||||
    stiffness: 100,
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  const updatePointerInteraction = (value: number | null) => {
 | 
			
		||||
    pointerInteracting.current = value;
 | 
			
		||||
    if (canvasRef.current) {
 | 
			
		||||
      canvasRef.current.style.cursor = value !== null ? "grabbing" : "grab";
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  const updateMovement = (clientX: number) => {
 | 
			
		||||
    if (pointerInteracting.current !== null) {
 | 
			
		||||
      const delta = clientX - pointerInteracting.current;
 | 
			
		||||
      r.set(r.get() + delta / MOVEMENT_DAMPING);
 | 
			
		||||
    }
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  useEffect(() => {
 | 
			
		||||
    let phi = 0
 | 
			
		||||
    const onResize = () => {
 | 
			
		||||
      if (canvasRef.current) width = canvasRef.current.offsetWidth;
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    if (!canvasRef.current) return
 | 
			
		||||
    window.addEventListener("resize", onResize);
 | 
			
		||||
    onResize();
 | 
			
		||||
 | 
			
		||||
    const globe = createGlobe(canvasRef.current, {
 | 
			
		||||
      devicePixelRatio: 2,
 | 
			
		||||
      width: 600 * 2,
 | 
			
		||||
      height: 600 * 2,
 | 
			
		||||
      phi: 0,
 | 
			
		||||
      theta: 0,
 | 
			
		||||
      dark: 0,
 | 
			
		||||
      diffuse: 1.2,
 | 
			
		||||
      mapSamples: 16000,
 | 
			
		||||
      mapBrightness: 6,
 | 
			
		||||
      baseColor: [0.3, 0.3, 0.3],
 | 
			
		||||
      markerColor: [0.1, 0.8, 1],
 | 
			
		||||
      glowColor: [1, 1, 1],
 | 
			
		||||
      markers: [
 | 
			
		||||
        { location: [37.7595, -122.4367], size: 0.03 },
 | 
			
		||||
        { location: [40.7128, -74.006], size: 0.1 },
 | 
			
		||||
      ],
 | 
			
		||||
    const globe = createGlobe(canvasRef.current!, {
 | 
			
		||||
      ...config,
 | 
			
		||||
      width: width * 2,
 | 
			
		||||
      height: width * 2,
 | 
			
		||||
      onRender: (state) => {
 | 
			
		||||
        state.phi = phi
 | 
			
		||||
        phi += 0.01
 | 
			
		||||
        if (!pointerInteracting.current) phi += 0.004; // slightly slower rotation for elegance
 | 
			
		||||
        state.phi = phi + rs.get();
 | 
			
		||||
        state.width = width * 2;
 | 
			
		||||
        state.height = width * 2;
 | 
			
		||||
      },
 | 
			
		||||
    })
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    setTimeout(() => (canvasRef.current!.style.opacity = "1"), 0);
 | 
			
		||||
    return () => {
 | 
			
		||||
      globe.destroy()
 | 
			
		||||
    }
 | 
			
		||||
  }, [])
 | 
			
		||||
      globe.destroy();
 | 
			
		||||
      window.removeEventListener("resize", onResize);
 | 
			
		||||
    };
 | 
			
		||||
  }, [rs, config]);
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <canvas
 | 
			
		||||
      ref={canvasRef}
 | 
			
		||||
      className={className}
 | 
			
		||||
      style={{ width: '100%', height: '100%', maxWidth: '100%', aspectRatio: 1 }}
 | 
			
		||||
    />
 | 
			
		||||
  )
 | 
			
		||||
    <div
 | 
			
		||||
      className={cn(
 | 
			
		||||
        // Radial gradient background that fades to pure black at edges
 | 
			
		||||
        "absolute inset-0 mx-auto aspect-[1/1] w-full max-w-[600px] rounded-full",
 | 
			
		||||
        className,
 | 
			
		||||
      )}
 | 
			
		||||
    >
 | 
			
		||||
      <canvas
 | 
			
		||||
        className={cn(
 | 
			
		||||
          "size-full opacity-0 transition-opacity duration-500 [contain:layout_paint_size]",
 | 
			
		||||
        )}
 | 
			
		||||
        ref={canvasRef}
 | 
			
		||||
        onPointerDown={(e) => {
 | 
			
		||||
          pointerInteracting.current = e.clientX;
 | 
			
		||||
          updatePointerInteraction(e.clientX);
 | 
			
		||||
        }}
 | 
			
		||||
        onPointerUp={() => updatePointerInteraction(null)}
 | 
			
		||||
        onPointerOut={() => updatePointerInteraction(null)}
 | 
			
		||||
        onMouseMove={(e) => updateMovement(e.clientX)}
 | 
			
		||||
        onTouchMove={(e) =>
 | 
			
		||||
          e.touches[0] && updateMovement(e.touches[0].clientX)
 | 
			
		||||
        }
 | 
			
		||||
      />
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										47
									
								
								src/components/ui/Globe2.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								src/components/ui/Globe2.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,47 @@
 | 
			
		||||
import { useEffect, useRef } from 'react'
 | 
			
		||||
import createGlobe from 'cobe'
 | 
			
		||||
 | 
			
		||||
export function Globe({ className }: { className?: string }) {
 | 
			
		||||
  const canvasRef = useRef<HTMLCanvasElement>(null)
 | 
			
		||||
 | 
			
		||||
  useEffect(() => {
 | 
			
		||||
    let phi = 0
 | 
			
		||||
 | 
			
		||||
    if (!canvasRef.current) return
 | 
			
		||||
 | 
			
		||||
    const globe = createGlobe(canvasRef.current, {
 | 
			
		||||
      devicePixelRatio: 2,
 | 
			
		||||
      width: 600 * 2,
 | 
			
		||||
      height: 600 * 2,
 | 
			
		||||
      phi: 0,
 | 
			
		||||
      theta: 0,
 | 
			
		||||
      dark: 0,
 | 
			
		||||
      diffuse: 1.2,
 | 
			
		||||
      mapSamples: 16000,
 | 
			
		||||
      mapBrightness: 6,
 | 
			
		||||
      baseColor: [0.3, 0.3, 0.3],
 | 
			
		||||
      markerColor: [0.1, 0.8, 1],
 | 
			
		||||
      glowColor: [1, 1, 1],
 | 
			
		||||
      markers: [
 | 
			
		||||
        { location: [37.7595, -122.4367], size: 0.03 },
 | 
			
		||||
        { location: [40.7128, -74.006], size: 0.1 },
 | 
			
		||||
      ],
 | 
			
		||||
      onRender: (state) => {
 | 
			
		||||
        state.phi = phi
 | 
			
		||||
        phi += 0.01
 | 
			
		||||
      },
 | 
			
		||||
    })
 | 
			
		||||
 | 
			
		||||
    return () => {
 | 
			
		||||
      globe.destroy()
 | 
			
		||||
    }
 | 
			
		||||
  }, [])
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <canvas
 | 
			
		||||
      ref={canvasRef}
 | 
			
		||||
      className={className}
 | 
			
		||||
      style={{ width: '100%', height: '100%', maxWidth: '100%', aspectRatio: 1 }}
 | 
			
		||||
    />
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -1,12 +1,15 @@
 | 
			
		||||
"use client";
 | 
			
		||||
 | 
			
		||||
import * as THREE from "three";
 | 
			
		||||
import { Canvas, useFrame } from "@react-three/fiber";
 | 
			
		||||
import { OrbitControls, useTexture } from "@react-three/drei";
 | 
			
		||||
import { useRef } from "react";
 | 
			
		||||
import { Line, OrbitControls, useTexture } from "@react-three/drei";
 | 
			
		||||
import { useMemo, useRef } from "react";
 | 
			
		||||
 | 
			
		||||
type RotatableGroup = {
 | 
			
		||||
  rotation: { y: number };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
function Globe() {
 | 
			
		||||
  const groupRef = useRef<THREE.Group>(null);
 | 
			
		||||
  const groupRef = useRef<RotatableGroup | null>(null);
 | 
			
		||||
  const cloudTexture = useTexture("/images/cloud1.png");
 | 
			
		||||
 | 
			
		||||
  // Rotate the globe slowly
 | 
			
		||||
@@ -17,7 +20,7 @@ function Globe() {
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  // Coordinates for markers (half-globe)
 | 
			
		||||
  const points = [
 | 
			
		||||
  const markers = [
 | 
			
		||||
    [0, 1, 0],
 | 
			
		||||
    [0.7, 0.5, 0.2],
 | 
			
		||||
    [-0.5, 0.4, 0.5],
 | 
			
		||||
@@ -25,42 +28,47 @@ function Globe() {
 | 
			
		||||
    [-0.6, -0.1, 0.3],
 | 
			
		||||
    [0.3, -0.2, 0.8],
 | 
			
		||||
  ];
 | 
			
		||||
  const arcPoints = useMemo(() => {
 | 
			
		||||
    const radius = 2.5;
 | 
			
		||||
    const verticalRadius = radius / 2;
 | 
			
		||||
    const segments = 120;
 | 
			
		||||
 | 
			
		||||
    return Array.from({ length: 8 }, () => {
 | 
			
		||||
      const points: number[] = [];
 | 
			
		||||
      for (let i = 0; i < segments; i++) {
 | 
			
		||||
        const t = (i / (segments - 1)) * Math.PI;
 | 
			
		||||
        const x = Math.cos(t) * radius;
 | 
			
		||||
        const z = Math.sin(t) * verticalRadius;
 | 
			
		||||
        const y = Math.sin(x / radius) * 0.5;
 | 
			
		||||
        points.push(x, y, z);
 | 
			
		||||
      }
 | 
			
		||||
      return points;
 | 
			
		||||
    });
 | 
			
		||||
  }, []);
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <group ref={groupRef}>
 | 
			
		||||
      {/* Cyan arcs */}
 | 
			
		||||
      {Array.from({ length: 8 }).map((_, i) => {
 | 
			
		||||
        const radius = 2.5;
 | 
			
		||||
        const curve = new THREE.EllipseCurve(
 | 
			
		||||
          0,
 | 
			
		||||
          0,
 | 
			
		||||
          radius,
 | 
			
		||||
          radius / 2,
 | 
			
		||||
          0,
 | 
			
		||||
          Math.PI,
 | 
			
		||||
          false,
 | 
			
		||||
          0
 | 
			
		||||
        );
 | 
			
		||||
        const points = curve.getPoints(100);
 | 
			
		||||
        const geometry = new THREE.BufferGeometry().setFromPoints(
 | 
			
		||||
          points.map((p) => new THREE.Vector3(p.x, Math.sin(p.x / radius) * 0.5, p.y))
 | 
			
		||||
        );
 | 
			
		||||
        return (
 | 
			
		||||
          <line key={i} geometry={geometry}>
 | 
			
		||||
            <lineBasicMaterial color="#00e5ff" linewidth={1} transparent opacity={0.5} />
 | 
			
		||||
          </line>
 | 
			
		||||
        );
 | 
			
		||||
      })}
 | 
			
		||||
      {arcPoints.map((points, i) => (
 | 
			
		||||
        <Line
 | 
			
		||||
          key={i}
 | 
			
		||||
          points={points}
 | 
			
		||||
          color="#00e5ff"
 | 
			
		||||
          lineWidth={1}
 | 
			
		||||
          transparent
 | 
			
		||||
          opacity={0.5}
 | 
			
		||||
        />
 | 
			
		||||
      ))}
 | 
			
		||||
 | 
			
		||||
      {/* Cloud markers */}
 | 
			
		||||
      {points.map(([x, y, z], i) => (
 | 
			
		||||
      {markers.map(([x, y, z], i) => (
 | 
			
		||||
        <mesh key={i} position={[x * 2.5, y * 2.5, z * 2.5]}>
 | 
			
		||||
          <planeGeometry args={[0.3, 0.3]} />
 | 
			
		||||
          <meshBasicMaterial
 | 
			
		||||
            map={cloudTexture}
 | 
			
		||||
            transparent
 | 
			
		||||
            opacity={1}
 | 
			
		||||
            side={THREE.DoubleSide}
 | 
			
		||||
            side={2 /* DoubleSide */}
 | 
			
		||||
          />
 | 
			
		||||
        </mesh>
 | 
			
		||||
      ))}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,8 @@
 | 
			
		||||
"use client";
 | 
			
		||||
import { cn } from "@/lib/utils";
 | 
			
		||||
import React, { ReactNode } from "react";
 | 
			
		||||
import type { CSSProperties, HTMLProps, ReactNode } from "react";
 | 
			
		||||
 | 
			
		||||
interface AuroraBackgroundProps extends React.HTMLProps<HTMLDivElement> {
 | 
			
		||||
interface AuroraBackgroundProps extends HTMLProps<HTMLDivElement> {
 | 
			
		||||
  children: ReactNode;
 | 
			
		||||
  showRadialGradient?: boolean;
 | 
			
		||||
}
 | 
			
		||||
@@ -44,7 +44,7 @@ export const AuroraBackground = ({
 | 
			
		||||
              "--black": "#000",
 | 
			
		||||
              "--white": "#fff",
 | 
			
		||||
              "--transparent": "transparent",
 | 
			
		||||
            } as React.CSSProperties
 | 
			
		||||
            } as CSSProperties
 | 
			
		||||
          }
 | 
			
		||||
        >
 | 
			
		||||
          <div
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,5 @@
 | 
			
		||||
import { cn } from "@/lib/utils";
 | 
			
		||||
import { CT, CP } from "@/components/Texts";
 | 
			
		||||
import Image from 'next/image';
 | 
			
		||||
import React from 'react';
 | 
			
		||||
import { motion } from 'framer-motion';
 | 
			
		||||
 | 
			
		||||
@@ -55,11 +54,9 @@ export const BentoGridItem = React.forwardRef<HTMLDivElement, BentoGridItemProps
 | 
			
		||||
              className="w-full h-full object-cover opacity-90 group-hover/bento:opacity-100 transition-opacity duration-300"
 | 
			
		||||
            />
 | 
			
		||||
          ) : img ? (
 | 
			
		||||
            <Image
 | 
			
		||||
            <img
 | 
			
		||||
              src={img}
 | 
			
		||||
              alt={title as string}
 | 
			
		||||
              width={300}
 | 
			
		||||
              height={300}
 | 
			
		||||
              className="w-full h-full object-cover opacity-90 group-hover/bento:opacity-100 transition-opacity duration-300"
 | 
			
		||||
            />
 | 
			
		||||
          ) : null}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
"use client";
 | 
			
		||||
 | 
			
		||||
import React, { useEffect, useRef, useState } from "react";
 | 
			
		||||
import { useEffect, useRef, useState } from "react";
 | 
			
		||||
 | 
			
		||||
type DottedGlowBackgroundProps = {
 | 
			
		||||
  className?: string;
 | 
			
		||||
@@ -203,12 +203,8 @@ export function DottedGlowBackground({
 | 
			
		||||
 | 
			
		||||
    regenDots();
 | 
			
		||||
 | 
			
		||||
    let last = performance.now();
 | 
			
		||||
 | 
			
		||||
    const draw = (now: number) => {
 | 
			
		||||
      if (stopped) return;
 | 
			
		||||
      const dt = (now - last) / 1000; // seconds
 | 
			
		||||
      last = now;
 | 
			
		||||
      const { width, height } = container.getBoundingClientRect();
 | 
			
		||||
 | 
			
		||||
      ctx.clearRect(0, 0, el.width, el.height);
 | 
			
		||||
 
 | 
			
		||||
@@ -81,7 +81,7 @@ export const FloatingNav = ({
 | 
			
		||||
            <span className="hidden sm:block text-sm">Docs</span>
 | 
			
		||||
          </a>
 | 
			
		||||
          <Button to="/download" variant="solid" color="cyan">
 | 
			
		||||
            Get Mycelium
 | 
			
		||||
            Get Mycelium Connector
 | 
			
		||||
          </Button>
 | 
			
		||||
        </div>
 | 
			
		||||
      </motion.div>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
"use client";
 | 
			
		||||
import React, { useState, useEffect } from "react";
 | 
			
		||||
import { motion, AnimatePresence } from "motion/react";
 | 
			
		||||
import { useState, useEffect } from "react";
 | 
			
		||||
import { motion, AnimatePresence } from "framer-motion";
 | 
			
		||||
import { cn } from "@/lib/utils";
 | 
			
		||||
 | 
			
		||||
export const LayoutTextFlip = ({
 | 
			
		||||
@@ -33,7 +33,7 @@ export const LayoutTextFlip = ({
 | 
			
		||||
 | 
			
		||||
      <motion.span
 | 
			
		||||
        layout
 | 
			
		||||
        className="relative w-fit overflow-hidden px-2 py-2 font-neuton font-medium italic tracking-tight"
 | 
			
		||||
        className="relative w-fit overflow-hidden px-2 py-2 font-medium italic tracking-tight"
 | 
			
		||||
      >
 | 
			
		||||
        <AnimatePresence mode="popLayout">
 | 
			
		||||
          <motion.span
 | 
			
		||||
 
 | 
			
		||||
@@ -4,8 +4,6 @@ import { useRef } from "react";
 | 
			
		||||
import { motion } from "motion/react";
 | 
			
		||||
import DottedMap from "dotted-map";
 | 
			
		||||
 | 
			
		||||
import { useTheme } from "next-themes";
 | 
			
		||||
 | 
			
		||||
interface MapProps {
 | 
			
		||||
  dots?: Array<{
 | 
			
		||||
    start: { lat: number; lng: number; label?: string };
 | 
			
		||||
@@ -21,13 +19,11 @@ export default function WorldMap({
 | 
			
		||||
  const svgRef = useRef<SVGSVGElement>(null);
 | 
			
		||||
  const map = new DottedMap({ height: 100, grid: "diagonal" });
 | 
			
		||||
 | 
			
		||||
  const { theme } = useTheme();
 | 
			
		||||
 | 
			
		||||
  const svgMap = map.getSVG({
 | 
			
		||||
    radius: 0.22,
 | 
			
		||||
    color: theme === "dark" ? "#FFFFFF40" : "#00000040",
 | 
			
		||||
    color: "#FFFFFF40", // Hardcoded for dark theme
 | 
			
		||||
    shape: "circle",
 | 
			
		||||
    backgroundColor: theme === "dark" ? "black" : "white",
 | 
			
		||||
    backgroundColor: "black", // Hardcoded for dark theme
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  const projectPoint = (lat: number, lng: number) => {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								src/images/desktop.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/images/desktop.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 62 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								src/images/logos/pmyceliumlogo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/images/logos/pmyceliumlogo.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 7.0 KiB  | 
							
								
								
									
										125
									
								
								src/pages/agents/AgentsHero.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										125
									
								
								src/pages/agents/AgentsHero.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,125 @@
 | 
			
		||||
'use client'
 | 
			
		||||
 | 
			
		||||
import { useId, useState } from 'react'
 | 
			
		||||
 | 
			
		||||
import { Button } from '../../components/Button'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
import ContactForm from '../../components/ContactForm'
 | 
			
		||||
 | 
			
		||||
function BackgroundIllustration(props: React.ComponentPropsWithoutRef<'div'>) {
 | 
			
		||||
  const id = useId()
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <div {...props}>
 | 
			
		||||
      <svg
 | 
			
		||||
        viewBox="0 0 1026 1026"
 | 
			
		||||
        fill="none"
 | 
			
		||||
        aria-hidden="true"
 | 
			
		||||
        className="absolute inset-0 h-full w-full animate-spin-slow"
 | 
			
		||||
      >
 | 
			
		||||
        <path
 | 
			
		||||
          d="M1025 513c0 282.77-229.23 512-512 512S1 795.77 1 513 230.23 1 513 1s512 229.23 512 512Z"
 | 
			
		||||
          stroke="#D4D4D4"
 | 
			
		||||
          strokeOpacity="0.7"
 | 
			
		||||
        />
 | 
			
		||||
        <path
 | 
			
		||||
          d="M513 1025C230.23 1025 1 795.77 1 513"
 | 
			
		||||
          stroke={`url(#${id}-gradient-1)`}
 | 
			
		||||
          strokeLinecap="round"
 | 
			
		||||
        />
 | 
			
		||||
        <defs>
 | 
			
		||||
          <linearGradient
 | 
			
		||||
            id={`${id}-gradient-1`}
 | 
			
		||||
            x1="1"
 | 
			
		||||
            y1="513"
 | 
			
		||||
            x2="1"
 | 
			
		||||
            y2="1025"
 | 
			
		||||
            gradientUnits="userSpaceOnUse"
 | 
			
		||||
          >
 | 
			
		||||
            <stop stopColor="#06b6d4" />
 | 
			
		||||
            <stop offset="1" stopColor="#06b6d4" stopOpacity="0" />
 | 
			
		||||
          </linearGradient>
 | 
			
		||||
        </defs>
 | 
			
		||||
      </svg>
 | 
			
		||||
      <svg
 | 
			
		||||
        viewBox="0 0 1026 1026"
 | 
			
		||||
        fill="none"
 | 
			
		||||
        aria-hidden="true"
 | 
			
		||||
        className="absolute inset-0 h-full w-full animate-spin-reverse-slower"
 | 
			
		||||
      >
 | 
			
		||||
        <path
 | 
			
		||||
          d="M913 513c0 220.914-179.086 400-400 400S113 733.914 113 513s179.086-400 400-400 400 179.086 400 400Z"
 | 
			
		||||
          stroke="#D4D4D4"
 | 
			
		||||
          strokeOpacity="0.7"
 | 
			
		||||
        />
 | 
			
		||||
        <path
 | 
			
		||||
          d="M913 513c0 220.914-179.086 400-400 400"
 | 
			
		||||
          stroke={`url(#${id}-gradient-2)`}
 | 
			
		||||
          strokeLinecap="round"
 | 
			
		||||
        />
 | 
			
		||||
        <defs>
 | 
			
		||||
          <linearGradient
 | 
			
		||||
            id={`${id}-gradient-2`}
 | 
			
		||||
            x1="913"
 | 
			
		||||
            y1="513"
 | 
			
		||||
            x2="913"
 | 
			
		||||
            y2="913"
 | 
			
		||||
            gradientUnits="userSpaceOnUse"
 | 
			
		||||
          >
 | 
			
		||||
            <stop stopColor="#06b6d4" />
 | 
			
		||||
            <stop offset="1" stopColor="#06b6d4" stopOpacity="0" />
 | 
			
		||||
          </linearGradient>
 | 
			
		||||
        </defs>
 | 
			
		||||
      </svg>
 | 
			
		||||
    </div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function AgentsHero() {
 | 
			
		||||
  const [isContactOpen, setIsContactOpen] = useState(false)
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <>
 | 
			
		||||
      <div className="overflow-hidden pb-24 lg:py-32 lg:pb-0">
 | 
			
		||||
        <Container>
 | 
			
		||||
          <div className="flex flex-col-reverse gap-y-16 lg:grid lg:grid-cols-12 lg:gap-x-8 lg:gap-y-20">
 | 
			
		||||
            <div className="relative z-10 mx-auto max-w-2xl lg:col-span-7 lg:max-w-none lg:pt-6 xl:col-span-6">
 | 
			
		||||
              <h1 className="text-4xl font-medium tracking-tight text-gray-900 lg:text-6xl">
 | 
			
		||||
                Mycelium Agents
 | 
			
		||||
              </h1>
 | 
			
		||||
              <h2 className="mt-6 text-xl leading-normal tracking-tight text-gray-600 lg:text-2xl">
 | 
			
		||||
                Sovereign AI agents, coming soon.
 | 
			
		||||
              </h2>
 | 
			
		||||
              <p className="mt-6 text-lg leading-tight text-gray-600 lg:text-xl lg:leading-normal">
 | 
			
		||||
                Hero is the autonomous agent layer for the Mycelium platform—trusted, policy-aware AI that runs on infrastructure you control and remembers what matters.
 | 
			
		||||
              </p>
 | 
			
		||||
              <div className="mt-8 flex flex-wrap gap-x-6 gap-y-4">
 | 
			
		||||
                <Button variant="solid" color="cyan" onClick={() => setIsContactOpen(true)}>
 | 
			
		||||
                  Join the Waitlist
 | 
			
		||||
                </Button>
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
            <div className="relative mt-0 lg:mt-10 lg:col-span-5 lg:row-span-2 xl:col-span-6">
 | 
			
		||||
              <BackgroundIllustration className="absolute left-1/2 top-4 h-[1026px] w-[1026px] -translate-x-1/2 stroke-gray-300/70 sm:top-16 lg:-top-12 lg:ml-12" />
 | 
			
		||||
              <div className="mx-auto h-[420px] max-w-[640px] mask-[linear-gradient(to_bottom,white_60%,transparent)] lg:absolute lg:-inset-x-10 lg:-top-24 lg:h-auto lg:pt-10 xl:-bottom-36">
 | 
			
		||||
                <img
 | 
			
		||||
                  src="/images/agent_icon.png"
 | 
			
		||||
                  alt="Preview of Hero sovereign agent orchestration"
 | 
			
		||||
                  className="mx-auto w-full max-w-[520px]"
 | 
			
		||||
                  width={1024}
 | 
			
		||||
                  height={1024}
 | 
			
		||||
                />
 | 
			
		||||
              </div>
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
        </Container>
 | 
			
		||||
      </div>
 | 
			
		||||
      <ContactForm
 | 
			
		||||
        isOpen={isContactOpen}
 | 
			
		||||
        onClose={() => setIsContactOpen(false)}
 | 
			
		||||
        title="Join the Waitlist"
 | 
			
		||||
        formType="agent_waitlist"
 | 
			
		||||
      />
 | 
			
		||||
    </>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -1,4 +1,5 @@
 | 
			
		||||
import { AnimatedSection } from '../../components/AnimatedSection'
 | 
			
		||||
import { AgentsHero } from './AgentsHero'
 | 
			
		||||
import { DeploySection } from './DeploySection'
 | 
			
		||||
import { GallerySection } from './GallerySection'
 | 
			
		||||
import { Companies } from './Companies'
 | 
			
		||||
@@ -7,6 +8,10 @@ import { BentoSection } from './BentoSection'
 | 
			
		||||
export default function AgentsPage() {
 | 
			
		||||
  return (
 | 
			
		||||
    <div>
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <AgentsHero />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <DeploySection />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
@@ -15,7 +20,6 @@ export default function AgentsPage() {
 | 
			
		||||
        <Companies />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <GallerySection />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 
 | 
			
		||||
@@ -48,16 +48,16 @@ export function BentoSection() {
 | 
			
		||||
        <motion.div
 | 
			
		||||
          initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
          whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
          viewport={{ once: true }}
 | 
			
		||||
          transition={{ duration: 0.8 }}
 | 
			
		||||
          className="mx-auto max-w-3xl text-center mb-16"
 | 
			
		||||
          viewport={{ once: true, amount: 0.3 }}
 | 
			
		||||
          transition={{ duration: 0.6, ease: 'easeOut' }}
 | 
			
		||||
          className="mx-auto mb-16 max-w-3xl text-center"
 | 
			
		||||
        >
 | 
			
		||||
          <Eyebrow color="accent">Components</Eyebrow>
 | 
			
		||||
          <SectionHeader color="light">
 | 
			
		||||
            Augmented Intelligence Fabric
 | 
			
		||||
            Intelligence Fabric
 | 
			
		||||
          </SectionHeader>
 | 
			
		||||
          <P className="mt-6" color="lightSecondary">
 | 
			
		||||
            A complete infrastructure for building and deploying AI agents with enterprise-grade security and performance.
 | 
			
		||||
            A complete infrastructure for building and deploying sovereign AI agents with enterprise-grade security and performance. Your data never leaves your control.
 | 
			
		||||
          </P>
 | 
			
		||||
        </motion.div>
 | 
			
		||||
 | 
			
		||||
@@ -67,9 +67,9 @@ export function BentoSection() {
 | 
			
		||||
              key={index}
 | 
			
		||||
              initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
              whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
              viewport={{ once: true }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: index * 0.1 }}
 | 
			
		||||
              className="rounded-2xl bg-gray-900 border border-gray-800 p-6 hover:border-cyan-500 hover:shadow-lg transition-all duration-300 hover:scale-105 overflow-hidden"
 | 
			
		||||
              viewport={{ once: true, amount: 0.2 }}
 | 
			
		||||
              transition={{ duration: 0.45, delay: index * 0.1, ease: 'easeOut' }}
 | 
			
		||||
              className="overflow-hidden rounded-2xl border border-gray-800 bg-gray-900 p-6 transition-all duration-300 hover:scale-105 hover:border-cyan-500 hover:shadow-lg"
 | 
			
		||||
            >
 | 
			
		||||
              <video
 | 
			
		||||
                src={item.video}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,7 @@
 | 
			
		||||
"use client";
 | 
			
		||||
 | 
			
		||||
import React from "react";
 | 
			
		||||
import { motion } from "framer-motion";
 | 
			
		||||
import { P, Eyebrow } from '@/components/Texts';
 | 
			
		||||
import { P, Eyebrow } from "@/components/Texts";
 | 
			
		||||
import { InfiniteMovingCards } from "@/components/magicui/infinite-moving-cards";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -47,8 +46,9 @@ export function Companies() {
 | 
			
		||||
        <motion.div
 | 
			
		||||
          className="flex flex-col justify-center max-w-4xl items-center mb-8 mx-auto"
 | 
			
		||||
          initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
          animate={{ opacity: 1, y: 0 }}
 | 
			
		||||
          transition={{ duration: 1 }}
 | 
			
		||||
          whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
          viewport={{ once: true, amount: 0.3 }}
 | 
			
		||||
          transition={{ duration: 0.6, ease: "easeOut" }}
 | 
			
		||||
        >
 | 
			
		||||
          <Eyebrow color="accent"></Eyebrow>
 | 
			
		||||
          <P className="hidden min-xl:text-gray-100 text-center mb-6">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,46 +1,63 @@
 | 
			
		||||
'use client'
 | 
			
		||||
"use client";
 | 
			
		||||
 | 
			
		||||
import { useRef } from 'react'
 | 
			
		||||
import { motion, useInView } from 'framer-motion'
 | 
			
		||||
import { SectionHeader, P, Eyebrow, CT, CP } from '@/components/Texts'
 | 
			
		||||
import { TbCircleNumber1Filled, TbCircleNumber2Filled, TbCircleNumber3Filled } from 'react-icons/tb'
 | 
			
		||||
import { motion } from "framer-motion";
 | 
			
		||||
import { SectionHeader, P, Eyebrow, CT, CP } from "@/components/Texts";
 | 
			
		||||
import type { ComponentPropsWithoutRef } from "react";
 | 
			
		||||
 | 
			
		||||
type CircleIconProps = ComponentPropsWithoutRef<"svg">;
 | 
			
		||||
 | 
			
		||||
const CircleNumber1Icon = (props: CircleIconProps) => (
 | 
			
		||||
  <svg viewBox="0 0 24 24" fill="currentColor" {...props}>
 | 
			
		||||
    <path d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm.994 5.886c-.083-.777-1.008-1.16-1.617-.67l-.084.077-2 2-.083.094a1 1 0 000 1.226l.083.094.094.083a1 1 0 001.226 0l.094-.083.293-.293v5.586l.007.117a1 1 0 001.986 0l.007-.117v-8l-.006-.114z" />
 | 
			
		||||
  </svg>
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
const CircleNumber2Icon = (props: CircleIconProps) => (
 | 
			
		||||
  <svg viewBox="0 0 24 24" fill="currentColor" {...props}>
 | 
			
		||||
    <path d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm1 5h-3l-.117.007a1 1 0 000 1.986l.117.007h3v2h-2l-.15.005a2 2 0 00-1.844 1.838l-.006.157v2l.005.15a2 2 0 001.838 1.844l.157.006h3l.117-.007a1 1 0 000-1.986l-.117-.007h-3v-2h2l.15-.005a2 2 0 001.844-1.838l.006-.157v-2l-.005-.15a2 2 0 00-1.838-1.844l-.157-.006z" />
 | 
			
		||||
  </svg>
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
const CircleNumber3Icon = (props: CircleIconProps) => (
 | 
			
		||||
  <svg viewBox="0 0 24 24" fill="currentColor" {...props}>
 | 
			
		||||
    <path d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm1 5h-2l-.15.005a2 2 0 00-1.85 1.995 1 1 0 001.974.23l.02-.113.006-.117h2v2h-2l-.133.007c-1.111.12-1.154 1.73-.128 1.965l.128.021.133.007h2v2h-2l-.007-.117a1 1 0 00-1.993.117 2 2 0 001.85 1.995l.15.005h2l.15-.005a2 2 0 001.844-1.838l.006-.157v-2l-.005-.15a1.988 1.988 0 00-.17-.667l-.075-.152-.019-.032.02-.03a2.01 2.01 0 00.242-.795l.007-.174v-2l-.005-.15a2 2 0 00-1.838-1.844l-.157-.006z" />
 | 
			
		||||
  </svg>
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
const features = [
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Choose Your Intelligence',
 | 
			
		||||
    description: 'Explore a library of leading LLMs and agentic functions. Pick the ones that fit your use case, from general assistants to specialized reasoning models.',
 | 
			
		||||
    icon: TbCircleNumber1Filled,
 | 
			
		||||
    icon: CircleNumber1Icon,
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Add Your Knowledge',
 | 
			
		||||
    description:
 | 
			
		||||
      'Connect your data or knowledge base to enable personalized, context-aware results while keeping your information private.',
 | 
			
		||||
    icon: TbCircleNumber2Filled,
 | 
			
		||||
    icon: CircleNumber2Icon,
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Define Your Network',
 | 
			
		||||
    description:
 | 
			
		||||
      'Set up and manage your nodes with ease. Scale compute and storage as you grow, while staying fully sovereign and decentralized.',
 | 
			
		||||
    icon: TbCircleNumber3Filled,
 | 
			
		||||
    icon: CircleNumber3Icon,
 | 
			
		||||
  },
 | 
			
		||||
]
 | 
			
		||||
];
 | 
			
		||||
 | 
			
		||||
export function DeploySection() {
 | 
			
		||||
  const ref = useRef(null);
 | 
			
		||||
  const isInView = useInView(ref, { once: true });
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <section id="benefits" ref={ref} className="relative pt-12 lg:pt-24 pb-4 px-4 lg:px-12  text-white bg-black">
 | 
			
		||||
    <section id="benefits" className="relative bg-black px-4 pb-4 pt-12 text-white lg:px-12 lg:pt-24">
 | 
			
		||||
      <div className="relative px-6 lg:px-12">
 | 
			
		||||
        <motion.div
 | 
			
		||||
          initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
          animate={isInView ? { opacity: 1, y: 0 } : { opacity: 0, y: 20 }}
 | 
			
		||||
          transition={{ duration: 0.8, delay: 0.1 }}
 | 
			
		||||
          whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
          viewport={{ once: true, amount: 0.3 }}
 | 
			
		||||
          transition={{ duration: 0.6, ease: "easeOut", delay: 0.1 }}
 | 
			
		||||
          className="mx-auto max-w-5xl text-center"
 | 
			
		||||
        >
 | 
			
		||||
          <Eyebrow color="accent">Get Started</Eyebrow>
 | 
			
		||||
          <SectionHeader className="text-3xl font-medium tracking-tight" color="light">
 | 
			
		||||
            Deploy Scalable LLMs and AI Agents in Seconds
 | 
			
		||||
            Deploy Scalable LLMs and AI Agents
 | 
			
		||||
          </SectionHeader>
 | 
			
		||||
          <P className="mt-6" color="light">
 | 
			
		||||
            Launch and scale intelligence on your own terms. Mycelium Cloud makes it simple to deploy models, integrate knowledge, and run everything on a network you control.
 | 
			
		||||
@@ -48,25 +65,31 @@ export function DeploySection() {
 | 
			
		||||
        </motion.div>
 | 
			
		||||
        <motion.ul
 | 
			
		||||
          initial={{ opacity: 0 }}
 | 
			
		||||
          animate={isInView ? { opacity: 1 } : { opacity: 0 }}
 | 
			
		||||
          transition={{ duration: 0.5, delay: 0.2, staggerChildren: 0.2 }}
 | 
			
		||||
          className="mx-auto lg:mt-12 mt-8 grid max-w-2xl grid-cols-1 gap-x-8 gap-y-8 text-base/7 sm:grid-cols-2 sm:gap-y-16 lg:mx-12 lg:max-w-7xl lg:grid-cols-3"
 | 
			
		||||
          whileInView={{ opacity: 1 }}
 | 
			
		||||
          viewport={{ once: true, amount: 0.2 }}
 | 
			
		||||
          transition={{ duration: 0.5, delay: 0.2 }}
 | 
			
		||||
          className="mx-auto mt-8 grid max-w-2xl grid-cols-1 gap-x-8 gap-y-8 text-base/7 sm:grid-cols-2 sm:gap-y-16 lg:mx-12 lg:mt-12 lg:max-w-7xl lg:grid-cols-3"
 | 
			
		||||
        >
 | 
			
		||||
          {features.map((feature, index) => (
 | 
			
		||||
            <motion.li
 | 
			
		||||
              key={feature.name}
 | 
			
		||||
              initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
              animate={isInView ? { opacity: 1, y: 0 } : { opacity: 0, y: 20 }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: 0.3 + index * 0.2 }}
 | 
			
		||||
              className="rounded-2xl border border-gray-300 p-8 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 bg-white/5 backdrop-blur-md"
 | 
			
		||||
              whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
              viewport={{ once: true, amount: 0.2 }}
 | 
			
		||||
              transition={{ duration: 0.45, delay: 0.3 + index * 0.15, ease: "easeOut" }}
 | 
			
		||||
              className="rounded-2xl border border-gray-300 bg-white/5 p-8 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 backdrop-blur-md"
 | 
			
		||||
            >
 | 
			
		||||
              <feature.icon className="h-8 w-8 mb-4 text-white" />
 | 
			
		||||
              <CT as="span" className="font-semibold text-left" color="light">{feature.name}</CT>
 | 
			
		||||
              <CP className="mt-2 text-sm text-left" color="light">{feature.description}</CP>
 | 
			
		||||
              <feature.icon className="mb-4 h-8 w-8 text-white" />
 | 
			
		||||
              <CT as="span" className="text-left font-semibold" color="light">
 | 
			
		||||
                {feature.name}
 | 
			
		||||
              </CT>
 | 
			
		||||
              <CP className="mt-2 text-left text-sm" color="light">
 | 
			
		||||
                {feature.description}
 | 
			
		||||
              </CP>
 | 
			
		||||
            </motion.li>
 | 
			
		||||
          ))}
 | 
			
		||||
        </motion.ul>
 | 
			
		||||
      </div>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,35 +1,33 @@
 | 
			
		||||
import { motion } from 'framer-motion'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
import { Button } from '../../components/Button'
 | 
			
		||||
import { CircleBackground } from '../../components/CircleBackground'
 | 
			
		||||
 | 
			
		||||
export function CloudCTA() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="relative bg-white py-20 lg:py-32 overflow-hidden">
 | 
			
		||||
      <CircleBackground color="cyan" className="absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2" />
 | 
			
		||||
    <section className="relative overflow-hidden py-24 lg:py-32">
 | 
			
		||||
      <Container className="relative">
 | 
			
		||||
        <motion.div
 | 
			
		||||
          initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
          whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
          viewport={{ once: true }}
 | 
			
		||||
          transition={{ duration: 0.8 }}
 | 
			
		||||
          className="mx-auto max-w-3xl text-center"
 | 
			
		||||
        >
 | 
			
		||||
          <h2 className="text-3xl lg:text-5xl font-medium tracking-tight text-gray-900">
 | 
			
		||||
            Ready to Transform Your Kubernetes Experience?
 | 
			
		||||
          </h2>
 | 
			
		||||
          <p className="mt-6 text-lg lg:text-xl text-gray-600">
 | 
			
		||||
            Join thousands of developers and DevOps engineers who trust Mycelium Cloud for their production workloads.
 | 
			
		||||
        <div className="mx-auto max-w-3xl text-center">
 | 
			
		||||
          <p className="text-sm font-semibold uppercase tracking-[0.3em] text-cyan-500">
 | 
			
		||||
            Ready Today
 | 
			
		||||
          </p>
 | 
			
		||||
          <div className="mt-10 flex flex-wrap gap-4 justify-center">
 | 
			
		||||
            <Button to="/download" variant="solid" color="cyan">
 | 
			
		||||
              Start Your Free Trial
 | 
			
		||||
            </Button>
 | 
			
		||||
            <Button to="https://manual.grid.tf" variant="outline" color="gray">
 | 
			
		||||
              Read Documentation
 | 
			
		||||
          <h2 className="mt-6 text-3xl font-semibold tracking-tight text-gray-900 lg:text-5xl">
 | 
			
		||||
            Join thousands of developers and DevOps engineers who trust Mycelium Cloud for their production workloads.
 | 
			
		||||
          </h2>
 | 
			
		||||
          <p className="mt-6 text-lg text-gray-600">
 | 
			
		||||
            Revolutionary Kubernetes automation, deterministic compute, and quantum-safe storage—delivered as a turnkey platform so your team can deploy, scale, and operate cloud-native applications with confidence.
 | 
			
		||||
          </p>
 | 
			
		||||
          <div className="mt-10 flex justify-center">
 | 
			
		||||
            <Button
 | 
			
		||||
              to="https://myceliumcloud.tf"
 | 
			
		||||
              as="a"
 | 
			
		||||
              variant="solid"
 | 
			
		||||
              color="cyan"
 | 
			
		||||
              target="_blank"
 | 
			
		||||
              rel="noreferrer"
 | 
			
		||||
            >
 | 
			
		||||
              Start Deployment
 | 
			
		||||
            </Button>
 | 
			
		||||
          </div>
 | 
			
		||||
        </motion.div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
 
 | 
			
		||||
@@ -1,65 +1,113 @@
 | 
			
		||||
import { motion } from 'framer-motion'
 | 
			
		||||
import { Globe } from '../../components/ui/Globe'
 | 
			
		||||
import { CountUpNumber } from '../../components/CountUpNumber'
 | 
			
		||||
import { useId } from 'react'
 | 
			
		||||
 | 
			
		||||
import { Button } from '../../components/Button'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
 | 
			
		||||
const stats = [
 | 
			
		||||
  { value: 54958, label: 'CPU Cores' },
 | 
			
		||||
  { value: 1493, label: 'Nodes' },
 | 
			
		||||
  { value: 5388956, label: 'GB Storage' },
 | 
			
		||||
  { value: 44, label: 'Countries' },
 | 
			
		||||
]
 | 
			
		||||
function BackgroundIllustration(props: React.ComponentPropsWithoutRef<'div'>) {
 | 
			
		||||
  const id = useId()
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <div {...props}>
 | 
			
		||||
      <svg
 | 
			
		||||
        viewBox="0 0 1026 1026"
 | 
			
		||||
        fill="none"
 | 
			
		||||
        aria-hidden="true"
 | 
			
		||||
        className="absolute inset-0 h-full w-full animate-spin-slow"
 | 
			
		||||
      >
 | 
			
		||||
        <path
 | 
			
		||||
          d="M1025 513c0 282.77-229.23 512-512 512S1 795.77 1 513 230.23 1 513 1s512 229.23 512 512Z"
 | 
			
		||||
          stroke="#D4D4D4"
 | 
			
		||||
          strokeOpacity="0.7"
 | 
			
		||||
        />
 | 
			
		||||
        <path
 | 
			
		||||
          d="M513 1025C230.23 1025 1 795.77 1 513"
 | 
			
		||||
          stroke={`url(#${id}-gradient-1)`}
 | 
			
		||||
          strokeLinecap="round"
 | 
			
		||||
        />
 | 
			
		||||
        <defs>
 | 
			
		||||
          <linearGradient
 | 
			
		||||
            id={`${id}-gradient-1`}
 | 
			
		||||
            x1="1"
 | 
			
		||||
            y1="513"
 | 
			
		||||
            x2="1"
 | 
			
		||||
            y2="1025"
 | 
			
		||||
            gradientUnits="userSpaceOnUse"
 | 
			
		||||
          >
 | 
			
		||||
            <stop stopColor="#06b6d4" />
 | 
			
		||||
            <stop offset="1" stopColor="#06b6d4" stopOpacity="0" />
 | 
			
		||||
          </linearGradient>
 | 
			
		||||
        </defs>
 | 
			
		||||
      </svg>
 | 
			
		||||
      <svg
 | 
			
		||||
        viewBox="0 0 1026 1026"
 | 
			
		||||
        fill="none"
 | 
			
		||||
        aria-hidden="true"
 | 
			
		||||
        className="absolute inset-0 h-full w-full animate-spin-reverse-slower"
 | 
			
		||||
      >
 | 
			
		||||
        <path
 | 
			
		||||
          d="M913 513c0 220.914-179.086 400-400 400S113 733.914 113 513s179.086-400 400-400 400 179.086 400 400Z"
 | 
			
		||||
          stroke="#D4D4D4"
 | 
			
		||||
          strokeOpacity="0.7"
 | 
			
		||||
        />
 | 
			
		||||
        <path
 | 
			
		||||
          d="M913 513c0 220.914-179.086 400-400 400"
 | 
			
		||||
          stroke={`url(#${id}-gradient-2)`}
 | 
			
		||||
          strokeLinecap="round"
 | 
			
		||||
        />
 | 
			
		||||
        <defs>
 | 
			
		||||
          <linearGradient
 | 
			
		||||
            id={`${id}-gradient-2`}
 | 
			
		||||
            x1="913"
 | 
			
		||||
            y1="513"
 | 
			
		||||
            x2="913"
 | 
			
		||||
            y2="913"
 | 
			
		||||
            gradientUnits="userSpaceOnUse"
 | 
			
		||||
          >
 | 
			
		||||
            <stop stopColor="#06b6d4" />
 | 
			
		||||
            <stop offset="1" stopColor="#06b6d4" stopOpacity="0" />
 | 
			
		||||
          </linearGradient>
 | 
			
		||||
        </defs>
 | 
			
		||||
      </svg>
 | 
			
		||||
    </div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function CloudHero() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="relative bg-white py-20 lg:py-32">
 | 
			
		||||
    <div className="overflow-hidden pb-24 lg:py-32 lg:pb-0">
 | 
			
		||||
      <Container>
 | 
			
		||||
        <div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
 | 
			
		||||
          {/* Text Content */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
            animate={{ opacity: 1, y: 0 }}
 | 
			
		||||
            transition={{ duration: 0.8 }}
 | 
			
		||||
          >
 | 
			
		||||
            <h1 className="text-4xl lg:text-6xl font-medium tracking-tight text-gray-900">
 | 
			
		||||
        <div className="flex flex-col-reverse gap-y-16 lg:grid lg:grid-cols-12 lg:gap-x-8 lg:gap-y-20">
 | 
			
		||||
          <div className="relative z-10 mx-auto max-w-2xl lg:col-span-7 lg:max-w-none lg:pt-6 xl:col-span-6">
 | 
			
		||||
            <h1 className="text-4xl font-medium tracking-tight text-gray-900 lg:text-6xl">
 | 
			
		||||
              Mycelium Cloud
 | 
			
		||||
            </h1>
 | 
			
		||||
            <p className="mt-6 text-lg lg:text-xl text-gray-600">
 | 
			
		||||
              Revolutionary Kubernetes platform that transforms how teams deploy and manage cloud-native applications at scale
 | 
			
		||||
            <h2 className="mt-6 text-xl leading-normal tracking-tight text-gray-600 lg:text-2xl">
 | 
			
		||||
              Own every workload with certainty.
 | 
			
		||||
            </h2>
 | 
			
		||||
            <p className="mt-6 text-lg text-gray-600 leading-tight lg:text-xl lg:leading-normal">
 | 
			
		||||
              Mycelium Cloud blends deterministic compute with quantum-safe storage, delivering a sovereign platform built for zero-ops automation.
 | 
			
		||||
            </p>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
            <div className="mt-8 flex flex-wrap gap-x-6 gap-y-4">
 | 
			
		||||
              <Button to="https://myceliumcloud.tf" variant="solid" color="cyan">
 | 
			
		||||
                Start Deployment
 | 
			
		||||
              </Button>
 | 
			
		||||
              
 | 
			
		||||
          {/* Globe */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, scale: 0.9 }}
 | 
			
		||||
            animate={{ opacity: 1, scale: 1 }}
 | 
			
		||||
            transition={{ duration: 0.8, delay: 0.2 }}
 | 
			
		||||
            className="flex items-center justify-center"
 | 
			
		||||
          >
 | 
			
		||||
            <div className="relative w-full max-w-[500px] aspect-square">
 | 
			
		||||
              <Globe className="w-full h-full" />
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        {/* Stats */}
 | 
			
		||||
        <div className="mt-16 grid grid-cols-2 md:grid-cols-4 gap-6">
 | 
			
		||||
          {stats.map((stat, index) => (
 | 
			
		||||
            <motion.div
 | 
			
		||||
              key={stat.label}
 | 
			
		||||
              initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
              animate={{ opacity: 1, y: 0 }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: 0.4 + index * 0.1 }}
 | 
			
		||||
              className="rounded-2xl bg-gray-50 border border-gray-200 p-6 text-center hover:shadow-md transition-shadow"
 | 
			
		||||
            >
 | 
			
		||||
              <div className="text-2xl lg:text-3xl font-bold text-cyan-500">
 | 
			
		||||
                <CountUpNumber end={stat.value} />
 | 
			
		||||
              </div>
 | 
			
		||||
              <p className="mt-2 text-sm text-gray-600">{stat.label}</p>
 | 
			
		||||
            </motion.div>
 | 
			
		||||
          ))}
 | 
			
		||||
          </div>
 | 
			
		||||
          <div className="relative mt-0 lg:mt-10 lg:col-span-5 lg:row-span-2 xl:col-span-6">
 | 
			
		||||
            <BackgroundIllustration className="absolute left-1/2 top-4 h-[1026px] w-[1026px] -translate-x-1/2 stroke-gray-300/70 sm:top-16 lg:-top-12 lg:ml-12" />
 | 
			
		||||
            <div className="mx-auto h-[420px] max-w-[640px] mask-[linear-gradient(to_bottom,white_60%,transparent)] lg:absolute lg:-inset-x-10 lg:-top-24 lg:h-auto lg:pt-10 xl:-bottom-36">
 | 
			
		||||
              <img
 | 
			
		||||
                src="/src/images/desktop.png"
 | 
			
		||||
                alt="Mycelium Cloud dashboard preview"
 | 
			
		||||
                className="mx-auto w-full max-w-[640px]"
 | 
			
		||||
                width={1366}
 | 
			
		||||
                height={768}
 | 
			
		||||
              />
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
    </div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										65
									
								
								src/pages/cloud/CloudOverview.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										65
									
								
								src/pages/cloud/CloudOverview.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,65 @@
 | 
			
		||||
import { CircleBackground } from '../../components/CircleBackground'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
 | 
			
		||||
const focusAreas = [
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Sovereign by Design',
 | 
			
		||||
    description:
 | 
			
		||||
      'Control jurisdiction, residency, and governance for every workload with transparent, verifiable operations.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Secure by Default',
 | 
			
		||||
    description:
 | 
			
		||||
      'Cryptographic verification, secure boot, and zero-image delivery protect the entire lifecycle automatically.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Ready to Scale',
 | 
			
		||||
    description:
 | 
			
		||||
      'Autonomous orchestration keeps the platform elastic, cost-efficient, and always available across the globe.',
 | 
			
		||||
  },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
export function CloudOverview() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="relative overflow-hidden bg-gray-900 py-24 lg:py-32">
 | 
			
		||||
      <div className="pointer-events-none absolute inset-0">
 | 
			
		||||
        <CircleBackground
 | 
			
		||||
          color="#06b6d4"
 | 
			
		||||
          className="absolute left-1/2 top-full -translate-x-1/2 -translate-y-1/2 opacity-40"
 | 
			
		||||
        />
 | 
			
		||||
        <CircleBackground
 | 
			
		||||
          color="#22d3ee"
 | 
			
		||||
          className="absolute -top-24 right-1/4 h-[420px] w-[420px] opacity-30 sm:opacity-40"
 | 
			
		||||
        />
 | 
			
		||||
      </div>
 | 
			
		||||
      <Container className="relative">
 | 
			
		||||
        <div className="mx-auto max-w-3xl text-center">
 | 
			
		||||
          <p className="text-sm font-semibold uppercase tracking-[0.3em] text-cyan-400">
 | 
			
		||||
            Mycelium Cloud
 | 
			
		||||
          </p>
 | 
			
		||||
          <h2 className="mt-6 text-3xl font-medium tracking-tight text-white lg:text-5xl">
 | 
			
		||||
            A sovereign, self-healing cloud built for trusted automation.
 | 
			
		||||
          </h2>
 | 
			
		||||
          <p className="mt-6 text-lg text-gray-300">
 | 
			
		||||
            Run critical workloads on a programmable substrate that keeps data private, compute deterministic, and operations autonomous.
 | 
			
		||||
          </p>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div className="mt-16 grid gap-8 lg:grid-cols-3">
 | 
			
		||||
          {focusAreas.map((item) => (
 | 
			
		||||
            <div
 | 
			
		||||
              key={item.title}
 | 
			
		||||
              className="rounded-3xl p-8 text-left transition hover:-translate-y-1"
 | 
			
		||||
            >
 | 
			
		||||
              <div className="text-lg font-semibold text-white">
 | 
			
		||||
                {item.title}
 | 
			
		||||
              </div>
 | 
			
		||||
              <p className="mt-4 text-sm leading-relaxed text-gray-300">
 | 
			
		||||
                {item.description}
 | 
			
		||||
              </p>
 | 
			
		||||
            </div>
 | 
			
		||||
          ))}
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -1,42 +1,28 @@
 | 
			
		||||
import { AnimatedSection } from '../../components/AnimatedSection'
 | 
			
		||||
import { CloudHero } from './CloudHero'
 | 
			
		||||
import { FeaturesSection } from './FeaturesSection'
 | 
			
		||||
import { MyceliumNetworking } from './MyceliumNetworking'
 | 
			
		||||
import { WebGateway } from './WebGateway'
 | 
			
		||||
import { MultiMaster } from './MultiMaster'
 | 
			
		||||
import { LoadBalancing } from './LoadBalancing'
 | 
			
		||||
import { CloudOverview } from './CloudOverview'
 | 
			
		||||
import { ComputeStorageSplit } from './ComputeStorageSplit'
 | 
			
		||||
import { SecurityPillars } from './SecurityPillars'
 | 
			
		||||
import { CloudCTA } from './CloudCTA'
 | 
			
		||||
 | 
			
		||||
export default function CloudPage() {
 | 
			
		||||
  return (
 | 
			
		||||
    <div>
 | 
			
		||||
    <>
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <CloudHero />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
      
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <FeaturesSection />
 | 
			
		||||
        <CloudOverview />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <MyceliumNetworking />
 | 
			
		||||
        <ComputeStorageSplit />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <WebGateway />
 | 
			
		||||
        <SecurityPillars />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <MultiMaster />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <LoadBalancing />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <CloudCTA />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
    </div>
 | 
			
		||||
    </>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										144
									
								
								src/pages/cloud/ComputeStorageSplit.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										144
									
								
								src/pages/cloud/ComputeStorageSplit.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,144 @@
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
 | 
			
		||||
const computeFeatures = [
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Deterministic Deployments',
 | 
			
		||||
    description:
 | 
			
		||||
      'Cryptographic verification ensures every workload deploys exactly as intended—no tampering, no drift.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Self-Managing & Stateless Infrastructure',
 | 
			
		||||
    description:
 | 
			
		||||
      'Fully autonomous infrastructure that scales globally without manual intervention.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Zero-Image Technology (100x Compression)',
 | 
			
		||||
    description:
 | 
			
		||||
      'Metadata-driven zero-images cut artifacts up to 100x, slashing bandwidth and deployment overhead.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Smart Contract-Based Deployment',
 | 
			
		||||
    description:
 | 
			
		||||
      'Cryptographically signed contracts orchestrate every workload with transparent, tamper-proof execution.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Multi-Workload Compatibility with Secure Boot',
 | 
			
		||||
    description:
 | 
			
		||||
      'Run containers, VMs, and Linux workloads anywhere with stateless secure boot and continuous verification.',
 | 
			
		||||
  },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
const storageFeatures = [
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Quantum-Safe Storage (QSS)',
 | 
			
		||||
    description:
 | 
			
		||||
      'Quantum-resistant encryption secures data beyond the app layer so ownership and control stay yours.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Self-Healing Storage System',
 | 
			
		||||
    description:
 | 
			
		||||
      'Autonomous recovery heals failures or corruption instantly, preserving integrity without human intervention.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Multi-Protocol Data Access',
 | 
			
		||||
    description:
 | 
			
		||||
      'Serve the same data via IPFS, S3, WebDAV, HTTP, and native file systems for seamless integration.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Geo-Aware Data Placement & Replication',
 | 
			
		||||
    description:
 | 
			
		||||
      'Define residency, redundancy, and distribution per workload while zone-to-zone replication hardens resilience.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Ultra-Efficient Zero-Images (Flists)',
 | 
			
		||||
    description:
 | 
			
		||||
      'Metadata-only flists shrink images up to 100x, replacing heavy VMs and powering instant Zero-OS deployments.',
 | 
			
		||||
  },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
export function ComputeStorageSplit() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="relative overflow-hidden bg-white">
 | 
			
		||||
      <div className="absolute inset-0 bg-gradient-to-br from-cyan-50 via-white to-slate-50" />
 | 
			
		||||
      <Container className="relative py-24 lg:py-32">
 | 
			
		||||
        <div className="grid gap-12 lg:grid-cols-12 lg:gap-16">
 | 
			
		||||
          <div className="flex flex-col items-center gap-10 text-center lg:col-span-5 lg:items-center lg:text-center">
 | 
			
		||||
            <div className="max-w-xs">
 | 
			
		||||
              <p className="text-xs font-semibold uppercase tracking-[0.35em] text-cyan-500">
 | 
			
		||||
                Compute
 | 
			
		||||
              </p>
 | 
			
		||||
              <h2 className="mt-4 text-3xl font-medium tracking-tight text-gray-900">
 | 
			
		||||
                Deterministic compute fabric.
 | 
			
		||||
              </h2>
 | 
			
		||||
              <p className="mt-4 text-sm text-gray-500">
 | 
			
		||||
                Launch workloads with cryptographic certainty and autonomous operations.
 | 
			
		||||
              </p>
 | 
			
		||||
            </div>
 | 
			
		||||
            <ul className="grid w-full gap-4">
 | 
			
		||||
              {computeFeatures.map((item) => (
 | 
			
		||||
                <li
 | 
			
		||||
                  key={item.title}
 | 
			
		||||
                  className="flex flex-col gap-1 rounded-2xl border border-cyan-100 bg-white/80 p-4 text-center transition hover:border-cyan-400/70 hover:bg-cyan-50/60 dark:bg-white/10"
 | 
			
		||||
                >
 | 
			
		||||
                  <span className="text-sm font-semibold text-gray-900">
 | 
			
		||||
                    {item.title}
 | 
			
		||||
                  </span>
 | 
			
		||||
                  <span
 | 
			
		||||
                    className="text-xs text-gray-500 leading-relaxed"
 | 
			
		||||
                    style={{
 | 
			
		||||
                      display: '-webkit-box',
 | 
			
		||||
                      WebkitLineClamp: 2,
 | 
			
		||||
                      WebkitBoxOrient: 'vertical',
 | 
			
		||||
                      overflow: 'hidden',
 | 
			
		||||
                    }}
 | 
			
		||||
                  >
 | 
			
		||||
                    {item.description}
 | 
			
		||||
                  </span>
 | 
			
		||||
                </li>
 | 
			
		||||
              ))}
 | 
			
		||||
            </ul>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div className="hidden lg:flex lg:col-span-2 lg:items-center lg:justify-center">
 | 
			
		||||
            <span className="h-full w-px bg-gradient-to-b from-transparent via-cyan-200 to-transparent" />
 | 
			
		||||
          </div>
 | 
			
		||||
          <div className="flex flex-col items-center gap-10 text-center lg:col-span-5 lg:items-center lg:text-center">
 | 
			
		||||
            <div className="max-w-xs">
 | 
			
		||||
              <p className="text-xs font-semibold uppercase tracking-[0.35em] text-slate-500">
 | 
			
		||||
                Storage
 | 
			
		||||
              </p>
 | 
			
		||||
              <h2 className="mt-4 text-3xl font-medium tracking-tight text-gray-900">
 | 
			
		||||
                Quantum-safe, sovereign data plane.
 | 
			
		||||
              </h2>
 | 
			
		||||
              <p className="mt-4 text-sm text-gray-500">
 | 
			
		||||
                Protect and place data precisely while keeping access effortless.
 | 
			
		||||
              </p>
 | 
			
		||||
            </div>
 | 
			
		||||
            <ul className="grid w-full gap-4">
 | 
			
		||||
              {storageFeatures.map((item) => (
 | 
			
		||||
                <li
 | 
			
		||||
                  key={item.title}
 | 
			
		||||
                  className="flex flex-col gap-1 rounded-2xl border border-slate-200 bg-white/80 p-4 text-center transition hover:border-cyan-400/60 hover:bg-cyan-50/40 dark:bg-white/10"
 | 
			
		||||
                >
 | 
			
		||||
                  <span className="text-sm font-semibold text-gray-900">
 | 
			
		||||
                    {item.title}
 | 
			
		||||
                  </span>
 | 
			
		||||
                  <span
 | 
			
		||||
                    className="text-xs text-gray-500 leading-relaxed"
 | 
			
		||||
                    style={{
 | 
			
		||||
                      display: '-webkit-box',
 | 
			
		||||
                      WebkitLineClamp: 2,
 | 
			
		||||
                      WebkitBoxOrient: 'vertical',
 | 
			
		||||
                      overflow: 'hidden',
 | 
			
		||||
                    }}
 | 
			
		||||
                  >
 | 
			
		||||
                    {item.description}
 | 
			
		||||
                  </span>
 | 
			
		||||
                </li>
 | 
			
		||||
              ))}
 | 
			
		||||
            </ul>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -1,75 +0,0 @@
 | 
			
		||||
import { motion } from 'framer-motion'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
 | 
			
		||||
const features = [
 | 
			
		||||
  {
 | 
			
		||||
    icon: '☁️',
 | 
			
		||||
    title: 'Cloud-Native Architecture',
 | 
			
		||||
    description: 'Built for the cloud with support for all major cloud providers and on-premise deployments.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    icon: '🛡️',
 | 
			
		||||
    title: 'Enterprise Security',
 | 
			
		||||
    description: 'Advanced security features including RBAC, network policies, and compliance monitoring.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    icon: '📊',
 | 
			
		||||
    title: 'Real-time Monitoring',
 | 
			
		||||
    description: 'Comprehensive monitoring and alerting with detailed metrics and performance insights.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    icon: '🚀',
 | 
			
		||||
    title: 'One-Click Deployments',
 | 
			
		||||
    description: 'Streamlined deployment process with automated CI/CD pipelines and rollback capabilities.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    icon: '👥',
 | 
			
		||||
    title: 'Team Collaboration',
 | 
			
		||||
    description: 'Built-in collaboration tools for teams with role-based access and shared workspaces.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    icon: '⚙️',
 | 
			
		||||
    title: 'Advanced Configuration',
 | 
			
		||||
    description: 'Flexible configuration management with support for Helm charts and custom resources.',
 | 
			
		||||
  },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
export function FeaturesSection() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="bg-gray-50 py-20 lg:py-32">
 | 
			
		||||
      <Container>
 | 
			
		||||
        <motion.div
 | 
			
		||||
          initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
          whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
          viewport={{ once: true }}
 | 
			
		||||
          transition={{ duration: 0.8 }}
 | 
			
		||||
          className="text-center mb-16"
 | 
			
		||||
        >
 | 
			
		||||
          <h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900">
 | 
			
		||||
            Everything You Need to Succeed
 | 
			
		||||
          </h2>
 | 
			
		||||
          <p className="mt-6 text-lg text-gray-600 max-w-3xl mx-auto">
 | 
			
		||||
            Powerful tools and features designed for modern cloud-native applications
 | 
			
		||||
          </p>
 | 
			
		||||
        </motion.div>
 | 
			
		||||
 | 
			
		||||
        <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
 | 
			
		||||
          {features.map((feature, index) => (
 | 
			
		||||
            <motion.div
 | 
			
		||||
              key={feature.title}
 | 
			
		||||
              initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
              whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
              viewport={{ once: true }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: index * 0.1 }}
 | 
			
		||||
              className="rounded-2xl bg-white border border-gray-200 p-8 hover:border-cyan-500 hover:shadow-lg transition-all duration-300 text-center"
 | 
			
		||||
            >
 | 
			
		||||
              <div className="text-4xl mb-4">{feature.icon}</div>
 | 
			
		||||
              <h3 className="text-xl font-semibold text-gray-900 mb-3">{feature.title}</h3>
 | 
			
		||||
              <p className="text-gray-600">{feature.description}</p>
 | 
			
		||||
            </motion.div>
 | 
			
		||||
          ))}
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -1,52 +0,0 @@
 | 
			
		||||
import { motion } from 'framer-motion'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
 | 
			
		||||
export function LoadBalancing() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="bg-gray-50 py-20 lg:py-32">
 | 
			
		||||
      <Container>
 | 
			
		||||
        <div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
 | 
			
		||||
          {/* Visual Placeholder */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, x: -20 }}
 | 
			
		||||
            whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
            viewport={{ once: true }}
 | 
			
		||||
            transition={{ duration: 0.8 }}
 | 
			
		||||
            className="relative aspect-square rounded-2xl bg-gradient-to-br from-blue-50 to-cyan-50 border border-gray-200 flex items-center justify-center"
 | 
			
		||||
          >
 | 
			
		||||
            <div className="text-center p-8">
 | 
			
		||||
              <div className="text-6xl mb-4">⚖️</div>
 | 
			
		||||
              <p className="text-gray-600">Auto-scaling & Load Balancing</p>
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
 | 
			
		||||
          {/* Content */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, x: 20 }}
 | 
			
		||||
            whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
            viewport={{ once: true }}
 | 
			
		||||
            transition={{ duration: 0.8 }}
 | 
			
		||||
          >
 | 
			
		||||
            <h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900">
 | 
			
		||||
              Effortless Load Balancing & Scaling
 | 
			
		||||
            </h2>
 | 
			
		||||
            <p className="mt-6 text-lg text-gray-600">
 | 
			
		||||
              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.
 | 
			
		||||
            </p>
 | 
			
		||||
            <div className="mt-6 flex flex-wrap gap-3">
 | 
			
		||||
              <span className="inline-flex items-center rounded-full border border-cyan-500 px-4 py-2 text-sm font-medium text-cyan-500">
 | 
			
		||||
                Auto-scaling
 | 
			
		||||
              </span>
 | 
			
		||||
              <span className="inline-flex items-center rounded-full border border-cyan-500 px-4 py-2 text-sm font-medium text-cyan-500">
 | 
			
		||||
                Built-in load balancing
 | 
			
		||||
              </span>
 | 
			
		||||
              <span className="inline-flex items-center rounded-full border border-cyan-500 px-4 py-2 text-sm font-medium text-cyan-500">
 | 
			
		||||
                High availability
 | 
			
		||||
              </span>
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -1,52 +0,0 @@
 | 
			
		||||
import { motion } from 'framer-motion'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
 | 
			
		||||
export function MultiMaster() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="bg-white py-20 lg:py-32">
 | 
			
		||||
      <Container>
 | 
			
		||||
        <div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
 | 
			
		||||
          {/* Content */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, x: -20 }}
 | 
			
		||||
            whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
            viewport={{ once: true }}
 | 
			
		||||
            transition={{ duration: 0.8 }}
 | 
			
		||||
          >
 | 
			
		||||
            <h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900">
 | 
			
		||||
              Multi-Master Clusters
 | 
			
		||||
            </h2>
 | 
			
		||||
            <p className="mt-6 text-lg text-gray-600">
 | 
			
		||||
              High-availability Kubernetes clusters with multiple control plane nodes. Automatic failover, leader election, and zero-downtime upgrades built-in.
 | 
			
		||||
            </p>
 | 
			
		||||
            <div className="mt-6 flex flex-wrap gap-3">
 | 
			
		||||
              <span className="inline-flex items-center rounded-full border border-cyan-500 px-4 py-2 text-sm font-medium text-cyan-500">
 | 
			
		||||
                HA Control Plane
 | 
			
		||||
              </span>
 | 
			
		||||
              <span className="inline-flex items-center rounded-full border border-cyan-500 px-4 py-2 text-sm font-medium text-cyan-500">
 | 
			
		||||
                Automatic Failover
 | 
			
		||||
              </span>
 | 
			
		||||
              <span className="inline-flex items-center rounded-full border border-cyan-500 px-4 py-2 text-sm font-medium text-cyan-500">
 | 
			
		||||
                Zero-downtime Upgrades
 | 
			
		||||
              </span>
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
 | 
			
		||||
          {/* Visual Placeholder */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, x: 20 }}
 | 
			
		||||
            whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
            viewport={{ once: true }}
 | 
			
		||||
            transition={{ duration: 0.8 }}
 | 
			
		||||
            className="relative aspect-square rounded-2xl bg-gradient-to-br from-cyan-50 to-blue-50 border border-gray-200 flex items-center justify-center"
 | 
			
		||||
          >
 | 
			
		||||
            <div className="text-center p-8">
 | 
			
		||||
              <div className="text-6xl mb-4">⚡</div>
 | 
			
		||||
              <p className="text-gray-600">High Availability Clusters</p>
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -1,49 +0,0 @@
 | 
			
		||||
import { motion } from 'framer-motion'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
 | 
			
		||||
export function MyceliumNetworking() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="bg-white py-20 lg:py-32">
 | 
			
		||||
      <Container>
 | 
			
		||||
        <div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
 | 
			
		||||
          {/* Content */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, x: -20 }}
 | 
			
		||||
            whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
            viewport={{ once: true }}
 | 
			
		||||
            transition={{ duration: 0.8 }}
 | 
			
		||||
          >
 | 
			
		||||
            <h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900">
 | 
			
		||||
              Mycelium Networking
 | 
			
		||||
            </h2>
 | 
			
		||||
            <p className="mt-6 text-lg text-gray-600">
 | 
			
		||||
              Ultra-fast, decentralized networking inspired by nature. Mycelium Networking forms a resilient, adaptive mesh that routes around failures and optimizes for speed and security.
 | 
			
		||||
            </p>
 | 
			
		||||
            <div className="mt-6 flex flex-wrap gap-3">
 | 
			
		||||
              <span className="inline-flex items-center rounded-full border border-cyan-500 px-4 py-2 text-sm font-medium text-cyan-500">
 | 
			
		||||
                End-to-end encrypted
 | 
			
		||||
              </span>
 | 
			
		||||
              <span className="inline-flex items-center rounded-full border border-cyan-500 px-4 py-2 text-sm font-medium text-cyan-500">
 | 
			
		||||
                Nature-inspired
 | 
			
		||||
              </span>
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
 | 
			
		||||
          {/* Visual Placeholder */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, x: 20 }}
 | 
			
		||||
            whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
            viewport={{ once: true }}
 | 
			
		||||
            transition={{ duration: 0.8 }}
 | 
			
		||||
            className="relative aspect-square rounded-2xl bg-gradient-to-br from-cyan-50 to-blue-50 border border-gray-200 flex items-center justify-center"
 | 
			
		||||
          >
 | 
			
		||||
            <div className="text-center p-8">
 | 
			
		||||
              <div className="text-6xl mb-4">🕸️</div>
 | 
			
		||||
              <p className="text-gray-600">Decentralized Mesh Network</p>
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										62
									
								
								src/pages/cloud/SecurityPillars.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								src/pages/cloud/SecurityPillars.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,62 @@
 | 
			
		||||
import { CircleBackground } from '../../components/CircleBackground'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
 | 
			
		||||
const pillars = [
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Provable Sovereignty',
 | 
			
		||||
    description:
 | 
			
		||||
      'Assign workloads to trusted zones, verify state with cryptographic proofs, and maintain full lineage for every byte.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Autonomous Zero-Trust',
 | 
			
		||||
    description:
 | 
			
		||||
      'Identity, policy, and attestation are enforced continuously—no manual keys, no hidden backdoors, no shared control.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    title: 'Planetary-Scale Resilience',
 | 
			
		||||
    description:
 | 
			
		||||
      'Mesh-connected infrastructure routes around failure, keeping applications responsive even when regions go dark.',
 | 
			
		||||
  },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
export function SecurityPillars() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="relative overflow-hidden bg-gray-900 py-24 lg:py-32">
 | 
			
		||||
      <div className="pointer-events-none absolute inset-0">
 | 
			
		||||
        <CircleBackground
 | 
			
		||||
          color="#22d3ee"
 | 
			
		||||
          className="absolute -top-20 left-1/2 h-[520px] w-[520px] -translate-x-1/2 opacity-30"
 | 
			
		||||
        />
 | 
			
		||||
        <div className="absolute inset-x-0 bottom-0 h-40 bg-gradient-to-t from-gray-900 to-transparent" />
 | 
			
		||||
      </div>
 | 
			
		||||
      <Container className="relative">
 | 
			
		||||
        <div className="mx-auto max-w-3xl text-center">
 | 
			
		||||
          <p className="text-sm font-semibold uppercase tracking-[0.3em] text-cyan-400">
 | 
			
		||||
            Sovereign Architecture
 | 
			
		||||
          </p>
 | 
			
		||||
          <h2 className="mt-6 text-3xl font-medium tracking-tight text-white lg:text-5xl">
 | 
			
		||||
            Built for security, trust, and unstoppable continuity.
 | 
			
		||||
          </h2>
 | 
			
		||||
          <p className="mt-6 text-lg text-gray-300">
 | 
			
		||||
            Every control surface is auditable and automated, enabling critical workloads to run with confidence.
 | 
			
		||||
          </p>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div className="mt-16 grid gap-8 lg:grid-cols-3">
 | 
			
		||||
          {pillars.map((pillar) => (
 | 
			
		||||
            <div
 | 
			
		||||
              key={pillar.title}
 | 
			
		||||
              className="rounded-3xl p-8 text-left transition hover:-translate-y-1"
 | 
			
		||||
            >
 | 
			
		||||
              <div className="text-lg font-semibold text-white">
 | 
			
		||||
                {pillar.title}
 | 
			
		||||
              </div>
 | 
			
		||||
              <p className="mt-4 text-sm leading-relaxed text-gray-300">
 | 
			
		||||
                {pillar.description}
 | 
			
		||||
              </p>
 | 
			
		||||
            </div>
 | 
			
		||||
          ))}
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -1,52 +0,0 @@
 | 
			
		||||
import { motion } from 'framer-motion'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
 | 
			
		||||
export function WebGateway() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="bg-gray-50 py-20 lg:py-32">
 | 
			
		||||
      <Container>
 | 
			
		||||
        <div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
 | 
			
		||||
          {/* Visual Placeholder */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, x: -20 }}
 | 
			
		||||
            whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
            viewport={{ once: true }}
 | 
			
		||||
            transition={{ duration: 0.8 }}
 | 
			
		||||
            className="relative aspect-square rounded-2xl bg-gradient-to-br from-blue-50 to-cyan-50 border border-gray-200 flex items-center justify-center"
 | 
			
		||||
          >
 | 
			
		||||
            <div className="text-center p-8">
 | 
			
		||||
              <div className="text-6xl mb-4">🌐</div>
 | 
			
		||||
              <p className="text-gray-600">Simple Web Gateway</p>
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
 | 
			
		||||
          {/* Content */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, x: 20 }}
 | 
			
		||||
            whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
            viewport={{ once: true }}
 | 
			
		||||
            transition={{ duration: 0.8 }}
 | 
			
		||||
          >
 | 
			
		||||
            <h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900">
 | 
			
		||||
              Simple Web Gateway Access
 | 
			
		||||
            </h2>
 | 
			
		||||
            <p className="mt-6 text-lg text-gray-600">
 | 
			
		||||
              Expose any service to the public web with a simple Kubernetes resource. No complex Ingress controllers. Domain and prefix-based routing is built-in.
 | 
			
		||||
            </p>
 | 
			
		||||
            <div className="mt-6 flex flex-wrap gap-3">
 | 
			
		||||
              <span className="inline-flex items-center rounded-full border border-cyan-500 px-4 py-2 text-sm font-medium text-cyan-500">
 | 
			
		||||
                Simple configuration
 | 
			
		||||
              </span>
 | 
			
		||||
              <span className="inline-flex items-center rounded-full border border-cyan-500 px-4 py-2 text-sm font-medium text-cyan-500">
 | 
			
		||||
                Built-in routing
 | 
			
		||||
              </span>
 | 
			
		||||
              <span className="inline-flex items-center rounded-full border border-cyan-500 px-4 py-2 text-sm font-medium text-cyan-500">
 | 
			
		||||
                No ingress controllers
 | 
			
		||||
              </span>
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										69
									
								
								src/pages/download/DevHub.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										69
									
								
								src/pages/download/DevHub.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,69 @@
 | 
			
		||||
'use client'
 | 
			
		||||
 | 
			
		||||
import {
 | 
			
		||||
  BookOpenIcon,
 | 
			
		||||
  ChatBubbleOvalLeftEllipsisIcon,
 | 
			
		||||
  LifebuoyIcon,
 | 
			
		||||
  UserGroupIcon,
 | 
			
		||||
} from '@heroicons/react/24/outline'
 | 
			
		||||
 | 
			
		||||
const features = [
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Documentation',
 | 
			
		||||
    description: 'Documentation for Mycelium.',
 | 
			
		||||
    href: 'https://threefold.info/mycelium_network/docs/',
 | 
			
		||||
    icon: BookOpenIcon,
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Support',
 | 
			
		||||
    description: 'Talk to an expert.',
 | 
			
		||||
    href: 'https://threefoldfaq.crisp.help/en/',
 | 
			
		||||
    icon: LifebuoyIcon,
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Forum',
 | 
			
		||||
    description: 'Forum for all your questions.',
 | 
			
		||||
    href: 'https://forum.threefold.io/',
 | 
			
		||||
    icon: ChatBubbleOvalLeftEllipsisIcon,
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Community',
 | 
			
		||||
    description: 'Join our Developers community on telegram.',
 | 
			
		||||
    href: 'https://t.me/threefoldtesting',
 | 
			
		||||
    icon: UserGroupIcon,
 | 
			
		||||
  },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
export function DevHub() {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="bg-gray-900 py-24 sm:py-32">
 | 
			
		||||
      <div className="mx-auto max-w-7xl px-6 lg:px-8">
 | 
			
		||||
        <div className="mx-auto grid max-w-2xl grid-cols-1 gap-x-8 gap-y-16 sm:gap-y-20 lg:mx-0 lg:max-w-none lg:grid-cols-5">
 | 
			
		||||
          <div className="col-span-2">
 | 
			
		||||
            <h2 className="mb-2 text-base font-semibold leading-7 text-cyan-500">Get Started</h2>
 | 
			
		||||
            <p className="text-3xl font-medium tracking-tight text-white lg:text-4xl">Developer Hub</p>
 | 
			
		||||
            <p className="mt-6 text-lg text-gray-300">
 | 
			
		||||
              Our Developer Hub is a resource center for developers looking to build on top of Mycelium.
 | 
			
		||||
              Join our Developers community on telegram to get started.
 | 
			
		||||
            </p>
 | 
			
		||||
          </div>
 | 
			
		||||
          <dl className="col-span-3 grid grid-cols-1 gap-8 sm:grid-cols-2">
 | 
			
		||||
            {features.map((feature) => (
 | 
			
		||||
              <a
 | 
			
		||||
                key={feature.name}
 | 
			
		||||
                href={feature.href}
 | 
			
		||||
                target="_blank"
 | 
			
		||||
                rel="noopener noreferrer"
 | 
			
		||||
                className="block rounded-2xl border border-gray-700 bg-gray-900/40 p-6 shadow-sm transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:bg-gray-800 hover:shadow-lg hover:shadow-cyan-500/20"
 | 
			
		||||
              >
 | 
			
		||||
                <feature.icon aria-hidden="true" className="mb-4 h-6 w-6 flex-none text-cyan-500" />
 | 
			
		||||
                <dt className="font-semibold text-white">{feature.name}</dt>
 | 
			
		||||
                <dd className="mt-2 text-gray-400">{feature.description}</dd>
 | 
			
		||||
              </a>
 | 
			
		||||
            ))}
 | 
			
		||||
          </dl>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										104
									
								
								src/pages/download/DownloadHero.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										104
									
								
								src/pages/download/DownloadHero.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,104 @@
 | 
			
		||||
'use client'
 | 
			
		||||
 | 
			
		||||
import { motion } from 'framer-motion'
 | 
			
		||||
 | 
			
		||||
import appleIcon from '@/images/apple.svg'
 | 
			
		||||
import windowsIcon from '@/images/windows.svg'
 | 
			
		||||
import androidIcon from '@/images/android.svg'
 | 
			
		||||
import linuxIcon from '@/images/linux.svg'
 | 
			
		||||
 | 
			
		||||
const features = [
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Download for iOS & MacOS',
 | 
			
		||||
    description: 'Download Mycelium App from the Apple Store.',
 | 
			
		||||
    href: 'https://apps.apple.com/us/app/mycelium-network/id6504277565',
 | 
			
		||||
    icon: appleIcon,
 | 
			
		||||
    alt: 'Apple logo',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Download for Windows',
 | 
			
		||||
    description: 'Download the Mycelium App for Windows directly from its Github repository.',
 | 
			
		||||
    href: 'https://github.com/threefoldtech/myceliumflut/releases',
 | 
			
		||||
    icon: windowsIcon,
 | 
			
		||||
    alt: 'Windows logo',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Download for Android',
 | 
			
		||||
    description: 'Download Mycelium from the Google Play Store.',
 | 
			
		||||
    href: 'https://play.google.com/store/apps/details?id=tech.threefold.mycelium&pli=1',
 | 
			
		||||
    icon: androidIcon,
 | 
			
		||||
    alt: 'Android logo',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Download for Linux',
 | 
			
		||||
    description: 'Download the Mycelium binary for Linux directly from its Github repository.',
 | 
			
		||||
    href: 'https://github.com/threefoldtech/mycelium/releases',
 | 
			
		||||
    icon: linuxIcon,
 | 
			
		||||
    alt: 'Linux logo',
 | 
			
		||||
  },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
export function DownloadHero() {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="py-16 sm:py-32">
 | 
			
		||||
      <div className="mx-auto max-w-7xl px-6 lg:px-8">
 | 
			
		||||
        <div className="mx-auto max-w-2xl lg:mx-0">
 | 
			
		||||
          <motion.h2
 | 
			
		||||
            initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
            animate={{ opacity: 1, y: 0 }}
 | 
			
		||||
            transition={{ duration: 0.5 }}
 | 
			
		||||
            className="text-5xl font-medium tracking-tight text-gray-900 lg:text-6xl"
 | 
			
		||||
          >
 | 
			
		||||
            Download Mycelium Network
 | 
			
		||||
          </motion.h2>
 | 
			
		||||
          <motion.p
 | 
			
		||||
            initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
            animate={{ opacity: 1, y: 0 }}
 | 
			
		||||
            transition={{ duration: 0.5, delay: 0.2 }}
 | 
			
		||||
            className="mt-6 text-lg text-gray-600 lg:leading-8"
 | 
			
		||||
          >
 | 
			
		||||
            Get Mycelium Network for Android, Windows, macOS, and iOS to securely connect, store, and interact with the decentralized network—seamlessly and efficiently. Not sure how it works?{' '}
 | 
			
		||||
            <a
 | 
			
		||||
              href="https://threefold.info/mycelium_network/docs/"
 | 
			
		||||
              className="font-semibold text-gray-900 underline transition-colors hover:text-cyan-500"
 | 
			
		||||
              target="_blank"
 | 
			
		||||
              rel="noopener noreferrer"
 | 
			
		||||
            >
 | 
			
		||||
              Read the manual.
 | 
			
		||||
            </a>
 | 
			
		||||
          </motion.p>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div className="mx-auto mt-16 max-w-2xl sm:mt-20 lg:mt-24 lg:max-w-none">
 | 
			
		||||
          <dl className="grid max-w-xl grid-cols-1 gap-x-8 gap-y-16 md:grid-cols-2 lg:max-w-none lg:grid-cols-4">
 | 
			
		||||
            {features.map((feature) => (
 | 
			
		||||
              <div
 | 
			
		||||
                key={feature.name}
 | 
			
		||||
                className="flex flex-col rounded-lg border border-gray-200 p-8 shadow-sm transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20"
 | 
			
		||||
              >
 | 
			
		||||
                <dt className="text-base font-semibold leading-7 text-gray-900">
 | 
			
		||||
                  <div className="mb-6 flex h-10 w-10 items-center justify-center">
 | 
			
		||||
                    <img src={feature.icon} alt={feature.alt} className="h-10 w-10" />
 | 
			
		||||
                  </div>
 | 
			
		||||
                  {feature.name}
 | 
			
		||||
                </dt>
 | 
			
		||||
                <dd className="mt-1 flex flex-auto flex-col text-base leading-7 text-gray-600">
 | 
			
		||||
                  <p className="flex-auto">{feature.description}</p>
 | 
			
		||||
                  <p className="mt-6">
 | 
			
		||||
                    <a
 | 
			
		||||
                      href={feature.href}
 | 
			
		||||
                      className="text-sm font-semibold leading-6 text-cyan-500 transition-colors hover:text-cyan-400"
 | 
			
		||||
                      target="_blank"
 | 
			
		||||
                      rel="noopener noreferrer"
 | 
			
		||||
                    >
 | 
			
		||||
                      Download Now <span aria-hidden="true">→</span>
 | 
			
		||||
                    </a>
 | 
			
		||||
                  </p>
 | 
			
		||||
                </dd>
 | 
			
		||||
              </div>
 | 
			
		||||
            ))}
 | 
			
		||||
          </dl>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								src/pages/download/DownloadPage.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								src/pages/download/DownloadPage.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
import { AnimatedSection } from '@/components/AnimatedSection'
 | 
			
		||||
 | 
			
		||||
import { DownloadHero } from './DownloadHero'
 | 
			
		||||
import { DevHub } from './DevHub'
 | 
			
		||||
 | 
			
		||||
export default function DownloadPage() {
 | 
			
		||||
  return (
 | 
			
		||||
    <>
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <DownloadHero />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <DevHub />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
    </>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										43
									
								
								src/pages/home/CallToAction.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								src/pages/home/CallToAction.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,43 @@
 | 
			
		||||
import { CircleBackground } from '../../components/CircleBackground'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
import { Button } from '../../components/Button'
 | 
			
		||||
 | 
			
		||||
export function CallToAction() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section
 | 
			
		||||
      id="get-started"
 | 
			
		||||
      className="relative overflow-hidden bg-gray-900 py-32"
 | 
			
		||||
    >
 | 
			
		||||
      <div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
 | 
			
		||||
        <CircleBackground color="#06b6d4" className="animate-spin-slower" />
 | 
			
		||||
      </div>
 | 
			
		||||
      <Container className="relative">
 | 
			
		||||
        <div className="mx-auto max-w-2xl text-center">
 | 
			
		||||
          <h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
 | 
			
		||||
            Activate Your Sovereign <br />Mycelium Stack
 | 
			
		||||
          </h2>
 | 
			
		||||
          <p className="mt-6 text-lg text-gray-300">
 | 
			
		||||
            Provision cloud workloads, mesh them through the encrypted Mycelium Network, and unlock AI experiences without surrendering control of your infrastructure or your data.
 | 
			
		||||
          </p>
 | 
			
		||||
          <div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
 | 
			
		||||
            <Button to="/cloud" variant="solid" color="white">
 | 
			
		||||
              Start Deployment
 | 
			
		||||
            </Button>
 | 
			
		||||
            <Button to="/download" variant="solid" color="cyan">
 | 
			
		||||
              Get Mycelium Connector
 | 
			
		||||
            </Button>
 | 
			
		||||
            <Button
 | 
			
		||||
              to="https://threefold.info/mycelium_network/docs/"
 | 
			
		||||
              as="a"
 | 
			
		||||
              target="_blank"
 | 
			
		||||
              variant="outline"
 | 
			
		||||
              color="white"
 | 
			
		||||
            >
 | 
			
		||||
              Read Docs
 | 
			
		||||
            </Button>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -9,7 +9,7 @@ export function HomeAgent() {
 | 
			
		||||
        <div className="mx-auto max-w-4xl text-center">
 | 
			
		||||
          <H2>
 | 
			
		||||
            Deploy your own{" "}
 | 
			
		||||
            <span className="font-neuton text-left text-black font-medium text-7xl italic  bg-clip-text bg-gradient-to-r from-blue-400 via-cyan-400 to-violet-400">
 | 
			
		||||
            <span className="text-left text-black font-medium text-7xl italic  bg-clip-text bg-gradient-to-r from-blue-400 via-cyan-400 to-violet-400">
 | 
			
		||||
              <LayoutTextFlip
 | 
			
		||||
                text=""
 | 
			
		||||
                words={[
 | 
			
		||||
@@ -26,7 +26,7 @@ export function HomeAgent() {
 | 
			
		||||
          </H2>
 | 
			
		||||
 | 
			
		||||
          <P className="mx-auto mt-6 max-w-xl text-lg/8 text-pretty text-gray-600">
 | 
			
		||||
            Mycelium delivers enterprise-grade AI agents with unmatched customizability and the fastest time to production — all in the agent platform designed for real business use cases.
 | 
			
		||||
            Mycelium delivers enterprise-grade AI experiences that run on sovereign compute and the Mycelium Network, so production agents can reason over private data, collaborate across sites, and stay fully under your governance.
 | 
			
		||||
          </P>
 | 
			
		||||
 | 
			
		||||
          <div className="mt-10 flex items-center justify-center gap-x-6">
 | 
			
		||||
 
 | 
			
		||||
@@ -1,34 +1,35 @@
 | 
			
		||||
"use client";
 | 
			
		||||
 | 
			
		||||
import { motion } from "motion/react";
 | 
			
		||||
import { H1, H2, H3, H4, H5 } from "@/components/Texts";
 | 
			
		||||
import { AuroraBackground } from "@/components/ui/aurora-background";
 | 
			
		||||
import { H1, H5 } from "@/components/Texts";
 | 
			
		||||
import { ScrollDownArrow } from '@/components/ScrollDownArrow';
 | 
			
		||||
 | 
			
		||||
export function HomeAurora() {
 | 
			
		||||
  return (
 | 
			
		||||
    <AuroraBackground>
 | 
			
		||||
      <motion.div
 | 
			
		||||
        initial={{ opacity: 0.0, y: 40 }}
 | 
			
		||||
        whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
        transition={{
 | 
			
		||||
          delay: 0.5,
 | 
			
		||||
          duration: 1,
 | 
			
		||||
          ease: "easeInOut",
 | 
			
		||||
        }}
 | 
			
		||||
        className="relative mb-20  flex flex-col items-center justify-center gap-4 px-4 max-w-5xl"
 | 
			
		||||
      >
 | 
			
		||||
        <div className="text-center text-gray-800">
 | 
			
		||||
          <H1>Decentralized Autonomous <span className="font-neuton text-bold lg:text-8xl italic">Agentic Cloud.</span></H1>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div className="pt-8 text-center font-light text-gray-500 max-w-4xl">
 | 
			
		||||
          <H5>Mycelium Project is a decentralized platform for autonomous AI, powered by distributed compute, sovereign memory, encrypted networking, and stateless GPU orchestration.</H5>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div className="pt-8">
 | 
			
		||||
          <ScrollDownArrow />
 | 
			
		||||
        </div>
 | 
			
		||||
       
 | 
			
		||||
      </motion.div>
 | 
			
		||||
    </AuroraBackground>
 | 
			
		||||
    <div
 | 
			
		||||
      style={{
 | 
			
		||||
        backgroundImage: "url(/images/mchip2.webp)",
 | 
			
		||||
        backgroundSize: "cover",
 | 
			
		||||
        backgroundPosition: "center",
 | 
			
		||||
      }}
 | 
			
		||||
      className="relative mx-auto flex min-h-screen flex-col items-center justify-center gap-6 px-4 pb-24 pt-24 text-gray-800 lg:pb-0"
 | 
			
		||||
    >
 | 
			
		||||
      <div className="text-center">
 | 
			
		||||
        <H1>
 | 
			
		||||
          <span className="text-bold lg:text-8xl">
 | 
			
		||||
            Full Sovereignty for<br />Cloud, Network & AI.
 | 
			
		||||
          </span>
 | 
			
		||||
        </H1>
 | 
			
		||||
      </div>
 | 
			
		||||
      <div className="max-w-4xl text-center font-light text-gray-500">
 | 
			
		||||
        <H5>
 | 
			
		||||
          Build and run mission-critical workloads on distributed compute,
 | 
			
		||||
          encrypted networking, and sovereign AI orchestration — all under your
 | 
			
		||||
          control, without centralized gatekeepers.
 | 
			
		||||
        </H5>
 | 
			
		||||
      </div>
 | 
			
		||||
      <div className="pt-6">
 | 
			
		||||
        <ScrollDownArrow />
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										279
									
								
								src/pages/home/HomeBenefits.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										279
									
								
								src/pages/home/HomeBenefits.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,279 @@
 | 
			
		||||
import { cn } from "@/lib/utils";
 | 
			
		||||
import createGlobe from "cobe";
 | 
			
		||||
import { useEffect, useRef, type ReactNode } from "react";
 | 
			
		||||
import { motion } from "motion/react";
 | 
			
		||||
import { IconBrandYoutubeFilled } from "@tabler/icons-react";
 | 
			
		||||
import { LockClosedIcon, CogIcon, BoltIcon, CurrencyDollarIcon } from '@heroicons/react/24/solid'
 | 
			
		||||
import { H2, P } from '@/components/Texts'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
export function HomeBenefits() {
 | 
			
		||||
  const features = [
 | 
			
		||||
    {
 | 
			
		||||
      title: "Sovereign",
 | 
			
		||||
      description:
 | 
			
		||||
        "Own your infrastructure and your data. Mycelium Cloud eliminates dependency on centralized providers, giving you full digital sovereignty.",
 | 
			
		||||
      icon: <LockClosedIcon className="h-6 w-6 text-cyan-500" />,
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "Autonomous",
 | 
			
		||||
      description:
 | 
			
		||||
        "The cloud that runs itself. From deployment to scaling, Mycelium Cloud automates everything — so your systems stay fast, resilient, and adaptive.",
 | 
			
		||||
      icon: <CogIcon className="h-6 w-6 text-cyan-500" />,
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "Energy Efficient",
 | 
			
		||||
      description:
 | 
			
		||||
        "Built on distributed nodes designed for minimal energy use, Mycelium Cloud redefines sustainability without compromising performance.",
 | 
			
		||||
      icon: <BoltIcon className="h-6 w-6 text-cyan-500" />,
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      title: "Cost Efficient",
 | 
			
		||||
      description:
 | 
			
		||||
        "No middlemen. No inflated bills. Just pure compute power at a fraction of traditional cloud costs — optimized, transparent, and fair.",
 | 
			
		||||
      icon: <CurrencyDollarIcon className="h-6 w-6 text-cyan-500" />,
 | 
			
		||||
    },
 | 
			
		||||
  ];
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="relative z-20 py-10 lg:py-40 max-w-7xl mx-auto">
 | 
			
		||||
      <div className="px-8">
 | 
			
		||||
        <H2 className="text-3xl lg:text-5xl lg:leading-tight max-w-5xl mx-auto text-center tracking-tight font-medium text-black dark:text-white">
 | 
			
		||||
          Why It Changes Everything
 | 
			
		||||
        </H2>
 | 
			
		||||
 | 
			
		||||
        <P className="text-sm lg:text-base  max-w-2xl  my-4 mx-auto text-neutral-500 text-center font-normal dark:text-neutral-300">
 | 
			
		||||
          Project Mycelium is a new foundation for digital independence. A self-governing, AI-powered infrastructure that gives you control, efficiency, and trust without compromise.
 | 
			
		||||
        </P>
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      <div className="relative ">
 | 
			
		||||
        <div className="mt-12 rounded-2xl border border-neutral-200/70 bg-white/40 dark:bg-black/40 dark:border-neutral-800/60 backdrop-blur">
 | 
			
		||||
          <div className="grid grid-cols-1 md:grid-cols-2 divide-y md:divide-y-0 md:divide-x divide-neutral-200/70 dark:divide-neutral-800/60">
 | 
			
		||||
            {features.map((feature) => (
 | 
			
		||||
              <FeatureCard key={feature.title}>
 | 
			
		||||
                <FeatureTitle icon={feature.icon}>{feature.title}</FeatureTitle>
 | 
			
		||||
                <FeatureDescription>{feature.description}</FeatureDescription>
 | 
			
		||||
              </FeatureCard>
 | 
			
		||||
            ))}
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const FeatureCard = ({
 | 
			
		||||
  children,
 | 
			
		||||
  className,
 | 
			
		||||
}: {
 | 
			
		||||
  children?: ReactNode;
 | 
			
		||||
  className?: string;
 | 
			
		||||
}) => {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className={cn(`p-6 lg:p-8 relative overflow-hidden`, className)}>
 | 
			
		||||
      {children}
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const FeatureTitle = ({ children, icon }: { children?: ReactNode; icon?: ReactNode }) => {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="flex items-center gap-2">
 | 
			
		||||
      {icon}
 | 
			
		||||
      <p className="max-w-5xl text-left tracking-tight text-black dark:text-white text-xl md:text-2xl md:leading-snug">
 | 
			
		||||
        {children}
 | 
			
		||||
      </p>
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const FeatureDescription = ({ children }: { children?: ReactNode }) => {
 | 
			
		||||
  return (
 | 
			
		||||
    <p
 | 
			
		||||
      className={cn(
 | 
			
		||||
        "text-sm md:text-base max-w-4xl",
 | 
			
		||||
        "text-neutral-500 font-normal dark:text-neutral-300",
 | 
			
		||||
        "text-left max-w-sm mx-0 md:text-sm my-2"
 | 
			
		||||
      )}
 | 
			
		||||
    >
 | 
			
		||||
      {children}
 | 
			
		||||
    </p>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const SkeletonOne = () => {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="relative flex py-8 px-2 gap-10 h-full">
 | 
			
		||||
      <div className="w-full  p-5  mx-auto bg-white dark:bg-neutral-900 shadow-2xl group h-full">
 | 
			
		||||
        <div className="flex flex-1 w-full h-full flex-col space-y-2  ">
 | 
			
		||||
          {/* TODO */}
 | 
			
		||||
          <img
 | 
			
		||||
            src="/linear.webp"
 | 
			
		||||
            alt="header"
 | 
			
		||||
            width={800}
 | 
			
		||||
            height={800}
 | 
			
		||||
            className="h-full w-full aspect-square object-cover object-left-top rounded-sm"
 | 
			
		||||
          />
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      <div className="absolute bottom-0 z-40 inset-x-0 h-60 bg-gradient-to-t from-white dark:from-black via-white dark:via-black to-transparent w-full pointer-events-none" />
 | 
			
		||||
      <div className="absolute top-0 z-40 inset-x-0 h-60 bg-gradient-to-b from-white dark:from-black via-transparent to-transparent w-full pointer-events-none" />
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const SkeletonThree = () => {
 | 
			
		||||
  return (
 | 
			
		||||
    <a
 | 
			
		||||
      href="https://www.youtube.com/watch?v=RPa3_AD1_Vs"
 | 
			
		||||
      target="__blank"
 | 
			
		||||
      className="relative flex gap-10  h-full group/image"
 | 
			
		||||
    >
 | 
			
		||||
      <div className="w-full  mx-auto bg-transparent dark:bg-transparent group h-full">
 | 
			
		||||
        <div className="flex flex-1 w-full h-full flex-col space-y-2  relative">
 | 
			
		||||
          {/* TODO */}
 | 
			
		||||
          <IconBrandYoutubeFilled className="h-20 w-20 absolute z-10 inset-0 text-red-500 m-auto " />
 | 
			
		||||
          <img
 | 
			
		||||
            src="https://assets.aceternity.com/fireship.jpg"
 | 
			
		||||
            alt="header"
 | 
			
		||||
            width={800}
 | 
			
		||||
            height={800}
 | 
			
		||||
            className="h-full w-full aspect-square object-cover object-center rounded-sm blur-none group-hover/image:blur-md transition-all duration-200"
 | 
			
		||||
          />
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </a>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const SkeletonTwo = () => {
 | 
			
		||||
  const images = [
 | 
			
		||||
    "https://images.unsplash.com/photo-1517322048670-4fba75cbbb62?q=80&w=3000&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
 | 
			
		||||
    "https://images.unsplash.com/photo-1573790387438-4da905039392?q=80&w=3425&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
 | 
			
		||||
    "https://images.unsplash.com/photo-1555400038-63f5ba517a47?q=80&w=3540&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
 | 
			
		||||
    "https://images.unsplash.com/photo-1554931670-4ebfabf6e7a9?q=80&w=3387&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
 | 
			
		||||
    "https://images.unsplash.com/photo-1546484475-7f7bd55792da?q=80&w=2581&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  const imageVariants = {
 | 
			
		||||
    whileHover: {
 | 
			
		||||
      scale: 1.1,
 | 
			
		||||
      rotate: 0,
 | 
			
		||||
      zIndex: 100,
 | 
			
		||||
    },
 | 
			
		||||
    whileTap: {
 | 
			
		||||
      scale: 1.1,
 | 
			
		||||
      rotate: 0,
 | 
			
		||||
      zIndex: 100,
 | 
			
		||||
    },
 | 
			
		||||
  };
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="relative flex flex-col items-start p-8 gap-10 h-full overflow-hidden">
 | 
			
		||||
      {/* TODO */}
 | 
			
		||||
      <div className="flex flex-row -ml-20">
 | 
			
		||||
        {images.map((image, idx) => (
 | 
			
		||||
          <motion.div
 | 
			
		||||
            variants={imageVariants}
 | 
			
		||||
            key={"images-first" + idx}
 | 
			
		||||
            style={{
 | 
			
		||||
              rotate: Math.random() * 20 - 10,
 | 
			
		||||
            }}
 | 
			
		||||
            whileHover="whileHover"
 | 
			
		||||
            whileTap="whileTap"
 | 
			
		||||
            className="rounded-xl -mr-4 mt-4 p-1 bg-white dark:bg-neutral-800 dark:border-neutral-700 border border-neutral-100 shrink-0 overflow-hidden"
 | 
			
		||||
          >
 | 
			
		||||
            <img
 | 
			
		||||
              src={image}
 | 
			
		||||
              alt="bali images"
 | 
			
		||||
              width="500"
 | 
			
		||||
              height="500"
 | 
			
		||||
              className="rounded-lg h-20 w-20 md:h-40 md:w-40 object-cover shrink-0"
 | 
			
		||||
            />
 | 
			
		||||
          </motion.div>
 | 
			
		||||
        ))}
 | 
			
		||||
      </div>
 | 
			
		||||
      <div className="flex flex-row">
 | 
			
		||||
        {images.map((image, idx) => (
 | 
			
		||||
          <motion.div
 | 
			
		||||
            key={"images-second" + idx}
 | 
			
		||||
            style={{
 | 
			
		||||
              rotate: Math.random() * 20 - 10,
 | 
			
		||||
            }}
 | 
			
		||||
            variants={imageVariants}
 | 
			
		||||
            whileHover="whileHover"
 | 
			
		||||
            whileTap="whileTap"
 | 
			
		||||
            className="rounded-xl -mr-4 mt-4 p-1 bg-white dark:bg-neutral-800 dark:border-neutral-700 border border-neutral-100 shrink-0 overflow-hidden"
 | 
			
		||||
          >
 | 
			
		||||
            <img
 | 
			
		||||
              src={image}
 | 
			
		||||
              alt="bali images"
 | 
			
		||||
              width="500"
 | 
			
		||||
              height="500"
 | 
			
		||||
              className="rounded-lg h-20 w-20 md:h-40 md:w-40 object-cover shrink-0"
 | 
			
		||||
            />
 | 
			
		||||
          </motion.div>
 | 
			
		||||
        ))}
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      <div className="absolute left-0 z-[100] inset-y-0 w-20 bg-gradient-to-r from-white dark:from-black to-transparent  h-full pointer-events-none" />
 | 
			
		||||
      <div className="absolute right-0 z-[100] inset-y-0 w-20 bg-gradient-to-l from-white dark:from-black  to-transparent h-full pointer-events-none" />
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const SkeletonFour = () => {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="h-60 md:h-60  flex flex-col items-center relative bg-transparent dark:bg-transparent mt-10">
 | 
			
		||||
      <Globe className="absolute -right-10 md:-right-10 -bottom-80 md:-bottom-72" />
 | 
			
		||||
    </div>
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const Globe = ({ className }: { className?: string }) => {
 | 
			
		||||
  const canvasRef = useRef<HTMLCanvasElement>(null);
 | 
			
		||||
 | 
			
		||||
  useEffect(() => {
 | 
			
		||||
    let phi = 0;
 | 
			
		||||
 | 
			
		||||
    if (!canvasRef.current) return;
 | 
			
		||||
 | 
			
		||||
    const globe = createGlobe(canvasRef.current, {
 | 
			
		||||
      devicePixelRatio: 2,
 | 
			
		||||
      width: 600 * 2,
 | 
			
		||||
      height: 600 * 2,
 | 
			
		||||
      phi: 0,
 | 
			
		||||
      theta: 0,
 | 
			
		||||
      dark: 1,
 | 
			
		||||
      diffuse: 1.2,
 | 
			
		||||
      mapSamples: 16000,
 | 
			
		||||
      mapBrightness: 6,
 | 
			
		||||
      baseColor: [0.3, 0.3, 0.3],
 | 
			
		||||
      markerColor: [0.1, 0.8, 1],
 | 
			
		||||
      glowColor: [1, 1, 1],
 | 
			
		||||
      markers: [
 | 
			
		||||
        // longitude latitude
 | 
			
		||||
        { location: [37.7595, -122.4367], size: 0.03 },
 | 
			
		||||
        { location: [40.7128, -74.006], size: 0.1 },
 | 
			
		||||
      ],
 | 
			
		||||
      onRender: (state) => {
 | 
			
		||||
        // Called on every animation frame.
 | 
			
		||||
        // `state` will be an empty object, return updated params.
 | 
			
		||||
        state.phi = phi;
 | 
			
		||||
        phi += 0.01;
 | 
			
		||||
      },
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    return () => {
 | 
			
		||||
      globe.destroy();
 | 
			
		||||
    };
 | 
			
		||||
  }, []);
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <canvas
 | 
			
		||||
      ref={canvasRef}
 | 
			
		||||
      style={{ width: 600, height: 600, maxWidth: "100%", aspectRatio: 1 }}
 | 
			
		||||
      className={className}
 | 
			
		||||
    />
 | 
			
		||||
  );
 | 
			
		||||
};
 | 
			
		||||
@@ -23,7 +23,7 @@ export function HomeCloud() {
 | 
			
		||||
            />
 | 
			
		||||
            <div className="w-full flex-auto">
 | 
			
		||||
              <H2 className="">
 | 
			
		||||
                Mycelium <span className="font-neuton font-medium text-7xl italic">Cloud</span>
 | 
			
		||||
                Mycelium <span className="font-medium text-7xl italic">Cloud</span>
 | 
			
		||||
              </H2>
 | 
			
		||||
              <P className="mt-6 text-lg/8 text-pretty text-gray-600">
 | 
			
		||||
                A comprehensive platform for deploying and managing Kubernetes clusters on the decentralized Mycelium Grid infrastructure
 | 
			
		||||
 
 | 
			
		||||
@@ -32,24 +32,11 @@ export function HomeFeatures() {
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="">
 | 
			
		||||
        <div className="relative bg-transparent py-24 overflow-hidden">
 | 
			
		||||
      {/* --- Soft background gradients --- */}
 | 
			
		||||
      <div
 | 
			
		||||
          aria-hidden="true"
 | 
			
		||||
          className="absolute inset-x-0 -top-16 -z-10 flex transform-gpu justify-center overflow-hidden blur-3xl"
 | 
			
		||||
        >
 | 
			
		||||
          <div
 | 
			
		||||
            style={{
 | 
			
		||||
              clipPath:
 | 
			
		||||
                'polygon(73.6% 51.7%, 91.7% 11.8%, 100% 46.4%, 97.4% 82.2%, 92.5% 84.9%, 75.7% 64%, 55.3% 47.5%, 46.5% 49.4%, 45% 62.9%, 50.3% 87.2%, 21.3% 64.1%, 0.1% 100%, 5.4% 51.1%, 21.4% 63.9%, 58.9% 0.2%, 73.6% 51.7%)',
 | 
			
		||||
            }}
 | 
			
		||||
            className="aspect-1318/752 w-329.5 flex-none bg-linear-to-r from-[#9fd6fc] to-[#c6c4fa] opacity-40"
 | 
			
		||||
          />
 | 
			
		||||
        </div>
 | 
			
		||||
        <div className="relative bg-transparent pb-24 Pt-0 overflow-hidden">
 | 
			
		||||
      <div className="mx-auto max-w-7xl px-6 lg:px-8">
 | 
			
		||||
        <div className="mx-auto max-w-2xl lg:mx-0">
 | 
			
		||||
          <H2 className="">
 | 
			
		||||
            The Building Blocks of <span className="font-neuton font-medium text-7xl italic">Decentralized Future</span>
 | 
			
		||||
            The Building Blocks of <span className="font-medium text-7xl">Decentralized Future</span>
 | 
			
		||||
          </H2>
 | 
			
		||||
          <P className="mt-6 ">
 | 
			
		||||
            From compute and networking to intelligent automation, these components work together to empower users, developers, and organizations to build freely, without intermediaries.
 | 
			
		||||
@@ -65,7 +52,6 @@ export function HomeFeatures() {
 | 
			
		||||
                <h3 className="mt-6 text-xl font-semibold text-black">{feature.name}</h3>
 | 
			
		||||
                <p className="mt-4 text-base text-gray-800">{feature.description}</p>
 | 
			
		||||
                <a href={feature.href} className="mt-6 text-base font-semibold text-black">Learn more <span aria-hidden="true"> →</span></a>
 | 
			
		||||
                <div className="absolute -bottom-10 -right-10 h-50 w-50 -z-10" style={{ background: 'radial-gradient(circle, rgba(173, 239, 255, 0.6) 0%, rgba(115, 207, 255, 0.4) 100%)', filter: 'blur(80px)' }}></div>
 | 
			
		||||
              </div>
 | 
			
		||||
            ))}
 | 
			
		||||
          </div>
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										60
									
								
								src/pages/home/HomeFeaturesDark.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								src/pages/home/HomeFeaturesDark.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,60 @@
 | 
			
		||||
import { GlobeAltIcon, ServerStackIcon, CpuChipIcon } from '@heroicons/react/24/solid'
 | 
			
		||||
import { H2, P } from '@/components/Texts'
 | 
			
		||||
 | 
			
		||||
const features = [
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Mycelium Network',
 | 
			
		||||
    description:
 | 
			
		||||
      "A global, end-to-end encrypted overlay that simply doesn't break.",
 | 
			
		||||
    href: '/network',
 | 
			
		||||
    icon: GlobeAltIcon,
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Mycelium Cloud',
 | 
			
		||||
    description:
 | 
			
		||||
      'An autonomous, stateless OS that enforces pre-deterministic deployments you define.',
 | 
			
		||||
    href: '/cloud',
 | 
			
		||||
    icon: ServerStackIcon,
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    name: 'Mycelium Agents',
 | 
			
		||||
    description:
 | 
			
		||||
      'Your sovereign agent with private memory and permissioned data access—always under your control.',
 | 
			
		||||
    href: '/agents',
 | 
			
		||||
    icon: CpuChipIcon,
 | 
			
		||||
  },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
export function HomeFeaturesDark() {
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="">
 | 
			
		||||
            <div className="relative bg-black py-24 overflow-hidden">
 | 
			
		||||
      <div className="mx-auto max-w-7xl px-6 lg:px-8">
 | 
			
		||||
        <div className="mx-auto max-w-2xl lg:mx-0">
 | 
			
		||||
                    <H2 className="text-white">
 | 
			
		||||
            The Building Blocks of Decentralized Future
 | 
			
		||||
          </H2>
 | 
			
		||||
                    <P className="mt-6 text-gray-300">
 | 
			
		||||
            From compute and networking to intelligent automation, these components work together to empower users, developers, and organizations to build freely, without intermediaries.
 | 
			
		||||
          </P>
 | 
			
		||||
        </div>
 | 
			
		||||
        <div className="mx-auto mt-16 max-w-2xl lg:max-w-7xl">
 | 
			
		||||
          <div className="grid grid-cols-1 gap-x-12 gap-y-12 lg:grid-cols-3">
 | 
			
		||||
            {features.map((feature) => (
 | 
			
		||||
                                          <div key={feature.name} className="relative flex flex-col p-8 rounded-3xl border border-gray-700 bg-gray-900/50 backdrop-blur-lg overflow-hidden shadow-2xl hover:shadow-cyan-500/40 hover:border-cyan-500 hover:scale-105 transform transition-all duration-300">
 | 
			
		||||
                                                <div className="w-20 h-20 bg-gray-800/80 rounded-full flex items-center justify-center">
 | 
			
		||||
                  <feature.icon className="h-12 w-12 text-cyan-500" />
 | 
			
		||||
                </div>
 | 
			
		||||
                                <h3 className="mt-6 text-xl font-semibold text-white">{feature.name}</h3>
 | 
			
		||||
                                <p className="mt-4 text-base text-gray-300">{feature.description}</p>
 | 
			
		||||
                                <a href={feature.href} className="mt-6 text-base font-semibold text-white">Learn more <span aria-hidden="true"> →</span></a>
 | 
			
		||||
              </div>
 | 
			
		||||
            ))}
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										123
									
								
								src/pages/home/HomeGlobe.tsx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										123
									
								
								src/pages/home/HomeGlobe.tsx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,123 @@
 | 
			
		||||
'use client'
 | 
			
		||||
 | 
			
		||||
import { Globe } from "@/components/ui/Globe"
 | 
			
		||||
import { motion } from "framer-motion"
 | 
			
		||||
import { P, CT, CP, SectionHeader, Eyebrow } from "@/components/Texts"
 | 
			
		||||
import { CountUpNumber } from '@/components/CountUpNumber'
 | 
			
		||||
 | 
			
		||||
export function WorldMap() {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="relative min-h-screen w-full overflow-hidden top-0 flex py-12 flex-col">
 | 
			
		||||
      {/* Background video */}
 | 
			
		||||
      <video
 | 
			
		||||
        autoPlay
 | 
			
		||||
        loop
 | 
			
		||||
        muted
 | 
			
		||||
        playsInline
 | 
			
		||||
        className="absolute inset-0 w-full h-full object-cover"
 | 
			
		||||
      >
 | 
			
		||||
        <source src="/videos/benefits.mp4" type="video/mp4" />
 | 
			
		||||
      </video>
 | 
			
		||||
 | 
			
		||||
      {/* Dark overlay */}
 | 
			
		||||
      <div className="absolute inset-0 bg-black/10" />
 | 
			
		||||
 | 
			
		||||
      {/* Content */}
 | 
			
		||||
      <div className="relative z-10 flex flex-col h-full px-8 md:px-16 py-12">
 | 
			
		||||
        {/* Title + Subtitle */}
 | 
			
		||||
        <motion.div
 | 
			
		||||
          initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
          whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
          viewport={{ once: true, amount: 0.3 }}
 | 
			
		||||
          transition={{ duration: 0.5, ease: "easeOut" }}
 | 
			
		||||
          className="max-w-xl"
 | 
			
		||||
        >
 | 
			
		||||
          <Eyebrow color="accent">Decentralized Network</Eyebrow>
 | 
			
		||||
          <SectionHeader color="light">Project Mycelium is Live.</SectionHeader>
 | 
			
		||||
          <P className=" mt-4 text-base leading-relaxed" color="light">
 | 
			
		||||
            Project Mycelium enables anyone to deploy
 | 
			
		||||
            their own Internet infrastructure, anywhere.
 | 
			
		||||
          </P>
 | 
			
		||||
        </motion.div>
 | 
			
		||||
 | 
			
		||||
        {/* Bottom Layout: Globe + Cards */}
 | 
			
		||||
        <div className="mt-8 flex flex-1 flex-col lg:flex-row items-center lg:items-stretch gap-x-10">
 | 
			
		||||
          {/* Globe Left Column */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, scale: 0.9 }}
 | 
			
		||||
            whileInView={{ opacity: 1, scale: 1 }}
 | 
			
		||||
            viewport={{ once: true, amount: 0.3 }}
 | 
			
		||||
            transition={{ duration: 0.5, delay: 0.2, ease: "easeOut" }}
 | 
			
		||||
            className="flex-1 flex items-center justify-center"
 | 
			
		||||
          >
 | 
			
		||||
            <div className="relative w-[450px] h-[450px] md:w-[600px] md:h-[600px]">
 | 
			
		||||
              <Globe className="absolute inset-0 w-full h-full left-0 lg:-left-24" />
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
 | 
			
		||||
          {/* Cards Right Column */}
 | 
			
		||||
          <div className="relative flex-1 lg:h-auto h-[700px] flex flex-col lg:block items-center gap-y-4 mt-8 lg:mt-0">
 | 
			
		||||
            <motion.div
 | 
			
		||||
              initial={{ opacity: 0, x: -20 }}
 | 
			
		||||
              whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
              viewport={{ once: true, amount: 0.3 }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: 0.4, ease: "easeOut" }}
 | 
			
		||||
              className="lg:absolute lg:top-12 lg:-left-12 w-80 rounded-2xl border border-gray-300 p-8 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 bg-white/5 backdrop-blur-md"
 | 
			
		||||
            >
 | 
			
		||||
              <div><CT color="light" className="uppercase tracking-wide">CORES</CT></div>
 | 
			
		||||
              <div><CountUpNumber end={54958} className="mt-2 text-3xl font-bold text-white" /></div>
 | 
			
		||||
              <CP color="light" className="mt-2 text-sm">
 | 
			
		||||
                Total Central Processing Unit Cores available on the grid.
 | 
			
		||||
              </CP>
 | 
			
		||||
            </motion.div>
 | 
			
		||||
 | 
			
		||||
            <motion.div
 | 
			
		||||
              initial={{ opacity: 0, x: 20 }}
 | 
			
		||||
              whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
              viewport={{ once: true, amount: 0.3 }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: 0.5, ease: "easeOut" }}
 | 
			
		||||
              className="lg:absolute lg:-top-10 lg:right-0 w-80 rounded-2xl border border-gray-300 p-8 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 bg-white/5 backdrop-blur-md"
 | 
			
		||||
            >
 | 
			
		||||
              <div><CT color="light" className="uppercase tracking-wide">NODES</CT></div>
 | 
			
		||||
              <div><CountUpNumber end={1493} className="mt-4 text-3xl font-bold text-white" /></div>
 | 
			
		||||
              <CP color="light" className="mt-2 text-sm">
 | 
			
		||||
                Total number of nodes on the grid.
 | 
			
		||||
              </CP>
 | 
			
		||||
            </motion.div>
 | 
			
		||||
 | 
			
		||||
            <motion.div
 | 
			
		||||
              initial={{ opacity: 0, x: -20 }}
 | 
			
		||||
              whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
              viewport={{ once: true, amount: 0.3 }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: 0.6, ease: "easeOut" }}
 | 
			
		||||
              className="lg:absolute lg:bottom-28 lg:-left-12 w-80 rounded-2xl border border-gray-300 p-8 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 bg-white/5 backdrop-blur-md"
 | 
			
		||||
            >
 | 
			
		||||
              <div><CT color="light" className="uppercase tracking-wide">SSD CAPACITY</CT></div>
 | 
			
		||||
              <div><CountUpNumber end={5388956} className="mt-2 text-3xl font-bold text-white" /></div>
 | 
			
		||||
              <CP color="light" className="mt-2 text-sm">
 | 
			
		||||
                Total GB amount of storage (SSD, HDD, & RAM) on the grid.
 | 
			
		||||
              </CP>
 | 
			
		||||
            </motion.div>
 | 
			
		||||
 | 
			
		||||
            <motion.div
 | 
			
		||||
              initial={{ opacity: 0, x: 20 }}
 | 
			
		||||
              whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
              viewport={{ once: true, amount: 0.3 }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: 0.7, ease: "easeOut" }}
 | 
			
		||||
              className="lg:absolute lg:top-47 lg:right-0 w-80 rounded-2xl border border-gray-300 p-8 transition-all duration-300 ease-in-out hover:scale-105 hover:border-cyan-500 hover:shadow-lg hover:shadow-cyan-500/20 bg-white/5 backdrop-blur-md"
 | 
			
		||||
            >
 | 
			
		||||
              <div><CT color="light" className="uppercase tracking-wide">COUNTRIES</CT></div>
 | 
			
		||||
              <div><CountUpNumber end={44} className="mt-2 text-3xl font-bold text-white" /></div>
 | 
			
		||||
              <CP color="light" className="mt-2 text-sm">
 | 
			
		||||
                Total number of countries with active nodes.
 | 
			
		||||
              </CP>
 | 
			
		||||
            </motion.div>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      {/* Radial fade overlay */}
 | 
			
		||||
      <div className="pointer-events-none absolute inset-0 h-full bg-[radial-gradient(circle_at_50%_200%,rgba(0,0,0,0.2),rgba(255,255,255,0))]" />
 | 
			
		||||
    </div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -1,37 +0,0 @@
 | 
			
		||||
'use client'
 | 
			
		||||
 | 
			
		||||
import { H1, P } from '@/components/Texts'
 | 
			
		||||
import { FadeIn } from '@/components/FadeIn'
 | 
			
		||||
import { Button } from '@/components/Button'
 | 
			
		||||
 | 
			
		||||
export function HomeHero() {
 | 
			
		||||
  return (
 | 
			
		||||
    <div
 | 
			
		||||
      className="relative isolate overflow-hidden bg-white"
 | 
			
		||||
      style={{
 | 
			
		||||
        backgroundImage: 'url(/images/cloud.png)',
 | 
			
		||||
        backgroundSize: 'cover',
 | 
			
		||||
        backgroundPosition: 'center',
 | 
			
		||||
      }}
 | 
			
		||||
    >
 | 
			
		||||
      <div className="mx-auto max-w-7xl px-6  py-24 lg:py-32 lg:flex lg:px-8">
 | 
			
		||||
        <div className="mx-auto max-w-2xl shrink-0 lg:mx-0 lg:pt-8">
 | 
			
		||||
          <H1 color="primary" className="mt-10 text-5xl font-semibold tracking-tight text-pretty sm:text-7xl">
 | 
			
		||||
            Decentralized Autonomous Agentic Cloud.
 | 
			
		||||
          </H1>
 | 
			
		||||
          <P color="secondary" className="mt-8 text-lg font-medium text-pretty sm:text-xl/8">
 | 
			
		||||
            Mycelium's advancements in Agentic infrastructure supports private, secure and autonomous Agents that connect, learn and grow with you.
 | 
			
		||||
          </P>
 | 
			
		||||
          <div className="mt-10 flex items-center gap-x-6">
 | 
			
		||||
            <Button variant="solid" color="cyan" href="#">
 | 
			
		||||
              Get started
 | 
			
		||||
            </Button>
 | 
			
		||||
            <a href="#" className="text-sm/6 font-semibold text-gray-50">
 | 
			
		||||
              Learn more <span aria-hidden="true">→</span>
 | 
			
		||||
            </a>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -1,35 +0,0 @@
 | 
			
		||||
"use client";
 | 
			
		||||
import React from "react";
 | 
			
		||||
import { motion } from "motion/react";
 | 
			
		||||
import { LampContainer } from "@/components/ui/lamp";
 | 
			
		||||
 | 
			
		||||
export function HomeHeroDark() {
 | 
			
		||||
  return (
 | 
			
		||||
    <LampContainer>
 | 
			
		||||
      <motion.h1
 | 
			
		||||
        initial={{ opacity: 0.5, y: 30 }}
 | 
			
		||||
        whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
        transition={{
 | 
			
		||||
          delay: 0.3,
 | 
			
		||||
          duration: 0.8,
 | 
			
		||||
          ease: "easeInOut",
 | 
			
		||||
        }}
 | 
			
		||||
        className="bg-gradient-to-br from-slate-300 to-slate-500 py-4 bg-clip-text text-center text-4xl font-medium tracking-tight text-transparent md:text-7xl max-w-4xl"
 | 
			
		||||
      >
 | 
			
		||||
        Decentralized Autonomous Agentic Cloud.
 | 
			
		||||
      </motion.h1>
 | 
			
		||||
      <motion.p
 | 
			
		||||
        initial={{ opacity: 0.5, y: 60 }}
 | 
			
		||||
        whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
        transition={{
 | 
			
		||||
          delay: 0.5,
 | 
			
		||||
          duration: 0.8,
 | 
			
		||||
          ease: "easeInOut",
 | 
			
		||||
        }}
 | 
			
		||||
        className="mt-8 bg-gradient-to-br from-slate-300 to-slate-500 py-4 bg-clip-text text-center text-lg font-medium tracking-tight text-transparent md:text-xl max-w-3xl"
 | 
			
		||||
      >
 | 
			
		||||
        Mycelium Project is a decentralized platform for autonomous AI, powered by distributed compute, sovereign memory, encrypted networking, and stateless GPU orchestration.
 | 
			
		||||
      </motion.p>
 | 
			
		||||
    </LampContainer>
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
@@ -1,69 +0,0 @@
 | 
			
		||||
'use client'
 | 
			
		||||
 | 
			
		||||
import { useRef, useEffect } from 'react'
 | 
			
		||||
import { H1, H5 } from '@/components/Texts'
 | 
			
		||||
 | 
			
		||||
export function HomeHeroLight2() {
 | 
			
		||||
  const videoRef = useRef<HTMLVideoElement>(null);
 | 
			
		||||
 | 
			
		||||
  useEffect(() => {
 | 
			
		||||
    const video = videoRef.current;
 | 
			
		||||
    if (video) {
 | 
			
		||||
      video.playbackRate = 0.4;
 | 
			
		||||
      const playPromise = video.play();
 | 
			
		||||
      if (playPromise !== undefined) {
 | 
			
		||||
        playPromise.catch(error => {
 | 
			
		||||
          console.error("Video autoplay was prevented:", error);
 | 
			
		||||
        });
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
  }, []);
 | 
			
		||||
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="relative h-screen overflow-hidden">
 | 
			
		||||
      {/* Background video */}
 | 
			
		||||
      <video
 | 
			
		||||
        ref={videoRef}
 | 
			
		||||
        src="/videos/cloud.mp4"
 | 
			
		||||
        autoPlay
 | 
			
		||||
        loop
 | 
			
		||||
        muted
 | 
			
		||||
        playsInline
 | 
			
		||||
        className="absolute inset-0 h-full w-full object-cover z-[-10]"
 | 
			
		||||
      />
 | 
			
		||||
 | 
			
		||||
      {/* Global soft wash + blur (Temporarily commented out for debugging) */}
 | 
			
		||||
      {/* <div className="absolute inset-0 bg-white opacity-30 backdrop-blur-md z-0" /> */}
 | 
			
		||||
 | 
			
		||||
      {/* Center “halo” for text legibility (Temporarily commented out for debugging) */}
 | 
			
		||||
      {/* <div
 | 
			
		||||
        className="absolute inset-0 z-0"
 | 
			
		||||
        style={{
 | 
			
		||||
          background:
 | 
			
		||||
            'radial-gradient(ellipse at center, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 15%, rgba(255,255,255,0.72) 35%, rgba(255,255,255,0.08) 75%)'
 | 
			
		||||
        }}
 | 
			
		||||
      /> */}
 | 
			
		||||
 | 
			
		||||
      {/* Content */}
 | 
			
		||||
      <div className="relative z-10 h-full flex items-center justify-center">
 | 
			
		||||
        <div className="mx-auto max-w-4xl text-center px-6 lg:px-8">
 | 
			
		||||
          
 | 
			
		||||
          <H1 
 | 
			
		||||
            className="pt-6"
 | 
			
		||||
            style={{ textShadow: '0 2px 8px rgba(0,0,0,0.08)' }}
 | 
			
		||||
          >
 | 
			
		||||
            Decentralized Autonomous Agentic Cloud.
 | 
			
		||||
          </H1>
 | 
			
		||||
 | 
			
		||||
          <H5
 | 
			
		||||
            className="mt-8"
 | 
			
		||||
            style={{ textShadow: '0 1px 4px rgba(0,0,0,0.06)' }}
 | 
			
		||||
          >
 | 
			
		||||
            Mycelium's advancements in Agentic infrastructure support private, secure, and
 | 
			
		||||
            autonomous Agents that connect, learn, and grow with you.
 | 
			
		||||
          </H5>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -5,11 +5,11 @@ import { H2, P } from "@/components/Texts";
 | 
			
		||||
 | 
			
		||||
export function HomeMapSection() {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className=" py-24 dark:bg-black bg-white w-full">
 | 
			
		||||
    <div className=" py-24 dark:bg-black bg-tra w-full">
 | 
			
		||||
      <div className="max-w-7xl mx-auto text-center">
 | 
			
		||||
        <H2 className="font-medium text-xl md:text-4xl dark:text-white text-gray-800">
 | 
			
		||||
          Mycelium Network is{" "}
 | 
			
		||||
          <span className="text-black font-neuton text-bold italic">
 | 
			
		||||
          <span className="text-black text-bold italic">
 | 
			
		||||
            {"Live.".split("").map((word, idx) => (
 | 
			
		||||
              <motion.span
 | 
			
		||||
                key={idx}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,14 +1,11 @@
 | 
			
		||||
import { AnimatedSection } from '../../components/AnimatedSection'
 | 
			
		||||
import { HomeHero } from './HomeHero'
 | 
			
		||||
import { WorldMapSection } from './WorldMapSection'
 | 
			
		||||
import { StackSection } from './StackSection'
 | 
			
		||||
import { HomeHeroLight2 } from './HomeHeroLight2'
 | 
			
		||||
import { HomeHeroDark } from './HomeHeroDark'
 | 
			
		||||
import { HomeAurora } from './HomeAurora'
 | 
			
		||||
import { HomeMapSection } from './HomeMap'
 | 
			
		||||
import { HomeFeatures } from './HomeFeatures'
 | 
			
		||||
import { HomeCloud } from './HomeCloud'
 | 
			
		||||
import { HomeAgent } from './HomeAgent'
 | 
			
		||||
import { HomeFeaturesDark } from './HomeFeaturesDark'
 | 
			
		||||
import { StackSectionLight } from './StackSection'
 | 
			
		||||
import { WorldMap } from './HomeGlobe'
 | 
			
		||||
import { HomeBenefits } from './HomeBenefits'
 | 
			
		||||
import { CallToAction } from './CallToAction'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
export default function HomePage() {
 | 
			
		||||
  return (
 | 
			
		||||
@@ -18,21 +15,25 @@ export default function HomePage() {
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection id="next-section">
 | 
			
		||||
        <HomeFeatures />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection >
 | 
			
		||||
        <HomeMapSection />
 | 
			
		||||
        <WorldMap />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
       <HomeCloud />
 | 
			
		||||
        <StackSectionLight />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <HomeFeaturesDark />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
       <HomeAgent />
 | 
			
		||||
       <HomeBenefits />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
 | 
			
		||||
      <AnimatedSection>
 | 
			
		||||
        <CallToAction />
 | 
			
		||||
      </AnimatedSection>
 | 
			
		||||
    </div>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,66 +1,75 @@
 | 
			
		||||
import { motion } from 'framer-motion'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
"use client";
 | 
			
		||||
 | 
			
		||||
const stackData = [
 | 
			
		||||
  {
 | 
			
		||||
    id: 'agent',
 | 
			
		||||
    title: 'Agent Layer',
 | 
			
		||||
    description:
 | 
			
		||||
      'Your sovereign agent with private memory and permissioned data access—always under your control. Choose from a wide library of open-source LLMs, paired with built-in semantic search and retrieval.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    id: 'network',
 | 
			
		||||
    title: 'Network Layer',
 | 
			
		||||
    description:
 | 
			
		||||
      'A global, end-to-end encrypted overlay that simply doesn\'t break. Shortest-path routing moves your traffic the fastest way, every time with instant discovery.',
 | 
			
		||||
  },
 | 
			
		||||
  {
 | 
			
		||||
    id: 'cloud',
 | 
			
		||||
    title: 'Cloud Layer',
 | 
			
		||||
    description:
 | 
			
		||||
      'An autonomous, stateless OS that enforces pre-deterministic deployments you define. Workloads are cryptographically bound to your private key—location and access are yours.',
 | 
			
		||||
  },
 | 
			
		||||
]
 | 
			
		||||
import { motion } from "framer-motion";
 | 
			
		||||
import { StackedCubesLight } from "@/components/ui/StackedCubesLight";
 | 
			
		||||
import { P, SectionHeader, Eyebrow } from "@/components/Texts";
 | 
			
		||||
import { FadeIn } from "@/components/ui/FadeIn";
 | 
			
		||||
import { DottedGlowBackground } from '@/components/ui/dotted-glow-background';
 | 
			
		||||
 | 
			
		||||
export function StackSection() {
 | 
			
		||||
export function StackSectionLight() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="relative bg-black py-20 lg:py-32">
 | 
			
		||||
      <Container>
 | 
			
		||||
        <div className="grid grid-cols-1 lg:grid-cols-3 gap-12 items-start">
 | 
			
		||||
          {/* Left Column - Text */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
            whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
            viewport={{ once: true }}
 | 
			
		||||
            transition={{ duration: 0.5 }}
 | 
			
		||||
            className="lg:col-span-1"
 | 
			
		||||
          >
 | 
			
		||||
            <h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white">
 | 
			
		||||
              The Mycelium Stack
 | 
			
		||||
            </h2>
 | 
			
		||||
            <p className="mt-6 text-lg text-gray-600">
 | 
			
		||||
              Built with Mycelium technology, our AI infrastructure ensures unbreakable networks, complete data sovereignty, ultra-secure agent-human communication, and unhackable data storage systems.
 | 
			
		||||
            </p>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
 | 
			
		||||
          {/* Right Column - Stack Cards */}
 | 
			
		||||
          <div className="lg:col-span-2 space-y-6">
 | 
			
		||||
            {stackData.map((layer, index) => (
 | 
			
		||||
              <motion.div
 | 
			
		||||
                key={layer.id}
 | 
			
		||||
                initial={{ opacity: 0, x: 20 }}
 | 
			
		||||
                whileInView={{ opacity: 1, x: 0 }}
 | 
			
		||||
                viewport={{ once: true }}
 | 
			
		||||
                transition={{ duration: 0.5, delay: index * 0.1 }}
 | 
			
		||||
                className="rounded-2xl bg-gray-50 border border-gray-200 p-6 hover:border-cyan-500 hover:shadow-lg transition-all duration-300"
 | 
			
		||||
              >
 | 
			
		||||
                <h3 className="text-xl font-semibold text-gray-900">{layer.title}</h3>
 | 
			
		||||
                <p className="mt-3 text-gray-600">{layer.description}</p>
 | 
			
		||||
              </motion.div>
 | 
			
		||||
            ))}
 | 
			
		||||
          </div>
 | 
			
		||||
    <section className="relative w-full overflow-hidden py-24 lg:py-40">
 | 
			
		||||
      {/* === Background Layer === */}
 | 
			
		||||
      <div className="absolute inset-0 -z-10 bg-transparent">
 | 
			
		||||
        {/* Dotted Glow Background */}
 | 
			
		||||
        <DottedGlowBackground
 | 
			
		||||
          gap={15}
 | 
			
		||||
          radius={2}
 | 
			
		||||
          color="rgba(0,0,0,0.4)"
 | 
			
		||||
          glowColor="rgba(0,170,255,0.85)"
 | 
			
		||||
          opacity={0.2}
 | 
			
		||||
        />
 | 
			
		||||
        {/* Faint 3D grid floor */}
 | 
			
		||||
        <div className="absolute inset-0 flex items-end justify-center overflow-hidden">
 | 
			
		||||
          <div className="w-[200vw] h-[200vh] bg-[linear-gradient(to_right,rgba(0,0,0,0.03)_1px,transparent_1px),linear-gradient(to_bottom,rgba(0,0,0,0.03)_1px,transparent_1px)] bg-[size:60px_60px] [transform:perspective(800px)_rotateX(70deg)] origin-bottom opacity-50" />
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
      </div>
 | 
			
		||||
 | 
			
		||||
      {/* === Content === */}
 | 
			
		||||
      <div className="relative mx-auto max-w-7xl px-6 lg:px-8 grid grid-cols-1 lg:grid-cols-3 gap-16 items-center">
 | 
			
		||||
        {/* Left Column - Text */}
 | 
			
		||||
        <div className="text-center lg:text-left">
 | 
			
		||||
          <FadeIn>
 | 
			
		||||
            <Eyebrow color="accent">Technology Layers</Eyebrow>
 | 
			
		||||
            <SectionHeader color="dark" className="text-4xl sm:text-5xl font-semibold">
 | 
			
		||||
              The Mycelium Stack
 | 
			
		||||
            </SectionHeader>
 | 
			
		||||
          </FadeIn>
 | 
			
		||||
 | 
			
		||||
          <FadeIn>
 | 
			
		||||
            <P color="dark" className="mt-6 text-lg leading-relaxed text-gray-600">
 | 
			
		||||
              Project Mycelium unifies compute, storage, networking, and AI into a resilient
 | 
			
		||||
              ecosystem that preserves data sovereignty, powers seamless collaboration,
 | 
			
		||||
              and keeps every layer of your infrastructure secure end to end on decentralized infrastructure.
 | 
			
		||||
            </P>
 | 
			
		||||
          </FadeIn>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        {/* Right Column - Animated Stack */}
 | 
			
		||||
        <div className="lg:col-span-2 flex items-center justify-center lg:justify-start relative">
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ y: 30, opacity: 0 }}
 | 
			
		||||
            whileInView={{ y: 0, opacity: 1 }}
 | 
			
		||||
            transition={{ duration: 1.2, ease: "easeOut" }}
 | 
			
		||||
            viewport={{ once: true }}
 | 
			
		||||
          >
 | 
			
		||||
            <motion.div
 | 
			
		||||
              animate={{
 | 
			
		||||
                y: [0, -10, 0],
 | 
			
		||||
                rotateZ: [0, 0.5, -0.5, 0],
 | 
			
		||||
              }}
 | 
			
		||||
              transition={{
 | 
			
		||||
                duration: 6,
 | 
			
		||||
                repeat: Infinity,
 | 
			
		||||
                ease: "easeInOut",
 | 
			
		||||
              }}
 | 
			
		||||
              className="relative"
 | 
			
		||||
            >
 | 
			
		||||
              <StackedCubesLight />
 | 
			
		||||
            </motion.div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
  );
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,106 +0,0 @@
 | 
			
		||||
import { motion } from 'framer-motion'
 | 
			
		||||
import { Globe } from '../../components/ui/Globe'
 | 
			
		||||
import { CountUpNumber } from '../../components/CountUpNumber'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
 | 
			
		||||
export function WorldMapSection() {
 | 
			
		||||
  return (
 | 
			
		||||
    <section className="relative bg-gray-50 py-20 lg:py-32">
 | 
			
		||||
      <Container>
 | 
			
		||||
        <motion.div
 | 
			
		||||
          initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
          whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
          viewport={{ once: true }}
 | 
			
		||||
          transition={{ duration: 0.5 }}
 | 
			
		||||
          className="mb-12"
 | 
			
		||||
        >
 | 
			
		||||
          <h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900">
 | 
			
		||||
            Mycelium Network is Live.
 | 
			
		||||
          </h2>
 | 
			
		||||
        </motion.div>
 | 
			
		||||
 | 
			
		||||
        <div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
 | 
			
		||||
          {/* Globe */}
 | 
			
		||||
          <motion.div
 | 
			
		||||
            initial={{ opacity: 0, scale: 0.9 }}
 | 
			
		||||
            whileInView={{ opacity: 1, scale: 1 }}
 | 
			
		||||
            viewport={{ once: true }}
 | 
			
		||||
            transition={{ duration: 0.5, delay: 0.2 }}
 | 
			
		||||
            className="flex items-center justify-center"
 | 
			
		||||
          >
 | 
			
		||||
            <div className="relative w-full max-w-[500px] aspect-square">
 | 
			
		||||
              <Globe className="w-full h-full" />
 | 
			
		||||
            </div>
 | 
			
		||||
          </motion.div>
 | 
			
		||||
 | 
			
		||||
          {/* Stats Cards */}
 | 
			
		||||
          <div className="grid grid-cols-1 sm:grid-cols-2 gap-6">
 | 
			
		||||
            <motion.div
 | 
			
		||||
              initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
              whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
              viewport={{ once: true }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: 0.3 }}
 | 
			
		||||
              className="rounded-2xl bg-white border border-gray-200 p-6 shadow-sm hover:shadow-md transition-shadow"
 | 
			
		||||
            >
 | 
			
		||||
              <p className="text-sm font-semibold uppercase tracking-wide text-cyan-500">CORES</p>
 | 
			
		||||
              <div className="mt-2 text-3xl font-bold text-gray-900">
 | 
			
		||||
                <CountUpNumber end={54958} />
 | 
			
		||||
              </div>
 | 
			
		||||
              <p className="mt-2 text-sm text-gray-600">
 | 
			
		||||
                Total Central Processing Unit Cores available on the grid.
 | 
			
		||||
              </p>
 | 
			
		||||
            </motion.div>
 | 
			
		||||
 | 
			
		||||
            <motion.div
 | 
			
		||||
              initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
              whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
              viewport={{ once: true }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: 0.4 }}
 | 
			
		||||
              className="rounded-2xl bg-white border border-gray-200 p-6 shadow-sm hover:shadow-md transition-shadow"
 | 
			
		||||
            >
 | 
			
		||||
              <p className="text-sm font-semibold uppercase tracking-wide text-cyan-500">NODES</p>
 | 
			
		||||
              <div className="mt-2 text-3xl font-bold text-gray-900">
 | 
			
		||||
                <CountUpNumber end={1493} />
 | 
			
		||||
              </div>
 | 
			
		||||
              <p className="mt-2 text-sm text-gray-600">
 | 
			
		||||
                Total number of nodes on the grid.
 | 
			
		||||
              </p>
 | 
			
		||||
            </motion.div>
 | 
			
		||||
 | 
			
		||||
            <motion.div
 | 
			
		||||
              initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
              whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
              viewport={{ once: true }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: 0.5 }}
 | 
			
		||||
              className="rounded-2xl bg-white border border-gray-200 p-6 shadow-sm hover:shadow-md transition-shadow"
 | 
			
		||||
            >
 | 
			
		||||
              <p className="text-sm font-semibold uppercase tracking-wide text-cyan-500">SSD CAPACITY</p>
 | 
			
		||||
              <div className="mt-2 text-3xl font-bold text-gray-900">
 | 
			
		||||
                <CountUpNumber end={5388956} />
 | 
			
		||||
              </div>
 | 
			
		||||
              <p className="mt-2 text-sm text-gray-600">
 | 
			
		||||
                Total GB amount of storage (SSD, HDD, & RAM) on the grid.
 | 
			
		||||
              </p>
 | 
			
		||||
            </motion.div>
 | 
			
		||||
 | 
			
		||||
            <motion.div
 | 
			
		||||
              initial={{ opacity: 0, y: 20 }}
 | 
			
		||||
              whileInView={{ opacity: 1, y: 0 }}
 | 
			
		||||
              viewport={{ once: true }}
 | 
			
		||||
              transition={{ duration: 0.5, delay: 0.6 }}
 | 
			
		||||
              className="rounded-2xl bg-white border border-gray-200 p-6 shadow-sm hover:shadow-md transition-shadow"
 | 
			
		||||
            >
 | 
			
		||||
              <p className="text-sm font-semibold uppercase tracking-wide text-cyan-500">COUNTRIES</p>
 | 
			
		||||
              <div className="mt-2 text-3xl font-bold text-gray-900">
 | 
			
		||||
                <CountUpNumber end={44} />
 | 
			
		||||
              </div>
 | 
			
		||||
              <p className="mt-2 text-sm text-gray-600">
 | 
			
		||||
                Total number of countries with active nodes.
 | 
			
		||||
              </p>
 | 
			
		||||
            </motion.div>
 | 
			
		||||
          </div>
 | 
			
		||||
        </div>
 | 
			
		||||
      </Container>
 | 
			
		||||
    </section>
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
@@ -21,7 +21,7 @@ export function CallToAction() {
 | 
			
		||||
          </p>
 | 
			
		||||
          <div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
 | 
			
		||||
            <Button to="/download" variant="solid" color="white">
 | 
			
		||||
              Get Mycelium
 | 
			
		||||
              Get Mycelium Connector
 | 
			
		||||
            </Button>
 | 
			
		||||
            <Button
 | 
			
		||||
              to="https://threefold.info/mycelium_network/docs/"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,7 @@
 | 
			
		||||
import { useId } from 'react'
 | 
			
		||||
import { Container } from '../../components/Container'
 | 
			
		||||
import { Button } from '../../components/Button'
 | 
			
		||||
import phoneFrame from '../../images/phoneframe.png'
 | 
			
		||||
 | 
			
		||||
function BackgroundIllustration(props: React.ComponentPropsWithoutRef<'div'>) {
 | 
			
		||||
  let id = useId()
 | 
			
		||||
@@ -73,35 +74,32 @@ function BackgroundIllustration(props: React.ComponentPropsWithoutRef<'div'>) {
 | 
			
		||||
 | 
			
		||||
export function Hero() {
 | 
			
		||||
  return (
 | 
			
		||||
    <div className="overflow-hidden lg:py-32 lg:pb-0 pb-24">
 | 
			
		||||
    <div className="overflow-hidden pb-24 lg:py-32 lg:pb-0">
 | 
			
		||||
      <Container>
 | 
			
		||||
        <div className="flex flex-col-reverse gap-y-16 lg:grid lg:grid-cols-12 lg:gap-x-8 lg:gap-y-20">
 | 
			
		||||
          <div className="relative z-10 mx-auto max-w-2xl lg:col-span-7 lg:max-w-none lg:pt-6 xl:col-span-6">
 | 
			
		||||
            <h1 className="text-4xl lg:text-6xl font-medium tracking-tight text-gray-900">
 | 
			
		||||
              Mycelium
 | 
			
		||||
            <h1 className="text-4xl font-medium tracking-tight text-gray-900 lg:text-6xl">
 | 
			
		||||
              Mycelium Network
 | 
			
		||||
            </h1>
 | 
			
		||||
            <h2 className="mt-6 lg:text-2xl text-xl tracking-tight leading-normal text-gray-600">
 | 
			
		||||
            <h2 className="mt-6 text-xl leading-normal tracking-tight text-gray-600 lg:text-2xl">
 | 
			
		||||
              Unleashing the Power of Decentralized Networks
 | 
			
		||||
            </h2>
 | 
			
		||||
            <p className="mt-6 lg:text-xl text-lg text-gray-600 lg:leading-normal leading-tight">
 | 
			
		||||
            <p className="mt-6 text-lg leading-tight text-gray-600 lg:text-xl lg:leading-normal">
 | 
			
		||||
              Discover Mycelium, an end-to-end encrypted IPv6 overlay network. The future of secure, efficient, and scalable networking.
 | 
			
		||||
            </p>
 | 
			
		||||
            <p className="mt-6 text-lg text-gray-600">
 | 
			
		||||
              Coming Soon: New Decentralized Features
 | 
			
		||||
            </p>
 | 
			
		||||
            <div className="mt-8 flex flex-wrap gap-x-6 gap-y-4">
 | 
			
		||||
              <Button to="/download" variant="solid" color="cyan">
 | 
			
		||||
                Get Mycelium
 | 
			
		||||
                Get Mycelium Connector
 | 
			
		||||
              </Button>
 | 
			
		||||
            </div>
 | 
			
		||||
          </div>
 | 
			
		||||
          <div className="relative lg:mt-10 mt-0 lg:col-span-5 lg:row-span-2 xl:col-span-6">
 | 
			
		||||
            <BackgroundIllustration className="absolute top-4 left-1/2 h-[1026px] w-[1026px] -translate-x-1/2 stroke-gray-300/70 sm:top-16 lg:-top-12 lg:ml-12 ml-0" />
 | 
			
		||||
            <div className="mx-auto h-[448px] mask-[linear-gradient(to_bottom,white_60%,transparent)] lg:px-0 lg:absolute lg:-inset-x-10 lg:-top-24 lg:h-auto lg:pt-10 xl:-bottom-32">
 | 
			
		||||
          <div className="relative mt-0 lg:mt-10 lg:col-span-5 lg:row-span-2 xl:col-span-6">
 | 
			
		||||
            <BackgroundIllustration className="absolute left-1/2 top-4 h-[1026px] w-[1026px] -translate-x-1/2 stroke-gray-300/70 sm:top-16 lg:-top-12 lg:ml-12" />
 | 
			
		||||
            <div className="mx-auto h-[460px] max-w-[520px] mask-[linear-gradient(to_bottom,white_60%,transparent)] lg:absolute lg:-inset-x-10 lg:-top-24 lg:h-auto lg:pt-10 xl:-bottom-32">
 | 
			
		||||
              <img
 | 
			
		||||
                src="/src/images/phoneframe.png"
 | 
			
		||||
                src={phoneFrame}
 | 
			
		||||
                alt="Mycelium application demo"
 | 
			
		||||
                className="mx-auto max-w-[366px]"
 | 
			
		||||
                className="mx-auto h-full w-auto max-w-[366px]"
 | 
			
		||||
                width={366}
 | 
			
		||||
                height={729}
 | 
			
		||||
              />
 | 
			
		||||
 
 | 
			
		||||
@@ -6,7 +6,6 @@ import clsx from 'clsx'
 | 
			
		||||
import {
 | 
			
		||||
  type MotionProps,
 | 
			
		||||
  type Variant,
 | 
			
		||||
  type Variants,
 | 
			
		||||
  AnimatePresence,
 | 
			
		||||
  motion,
 | 
			
		||||
} from 'framer-motion'
 | 
			
		||||
@@ -137,12 +136,6 @@ function DeviceTouchIcon(props: React.ComponentPropsWithoutRef<'svg'>) {
 | 
			
		||||
  )
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const headerAnimation: Variants = {
 | 
			
		||||
  initial: { opacity: 0, transition: { duration: 0.3 } },
 | 
			
		||||
  animate: { opacity: 1, transition: { duration: 0.3, delay: 0.3 } },
 | 
			
		||||
  exit: { opacity: 0, transition: { duration: 0.3 } },
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
const maxZIndex = 2147483647
 | 
			
		||||
 | 
			
		||||
const bodyVariantBackwards: Variant = {
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,6 @@ type Props = {
 | 
			
		||||
 | 
			
		||||
const ACCENT = '#00b8db';
 | 
			
		||||
const STROKE = '#111827';
 | 
			
		||||
const GRAY = '#9CA3AF';
 | 
			
		||||
const GRAY_LT = '#E5E7EB';
 | 
			
		||||
 | 
			
		||||
const IconSquare = () => (
 | 
			
		||||
 
 | 
			
		||||
@@ -10,4 +10,22 @@ export default defineConfig({
 | 
			
		||||
      '@': path.resolve(__dirname, './src'),
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
  build: {
 | 
			
		||||
    rollupOptions: {
 | 
			
		||||
      output: {
 | 
			
		||||
        manualChunks: {
 | 
			
		||||
          react: ['react', 'react-dom', 'react-router', 'react-router-dom'],
 | 
			
		||||
          framer: ['framer-motion'],
 | 
			
		||||
          motion: ['motion/react'],
 | 
			
		||||
          antd: [
 | 
			
		||||
            'antd',
 | 
			
		||||
            'rc-field-form',
 | 
			
		||||
            'rc-motion',
 | 
			
		||||
            '@ant-design/cssinjs',
 | 
			
		||||
            '@rc-component/async-validator',
 | 
			
		||||
          ],
 | 
			
		||||
        },
 | 
			
		||||
      },
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
})
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user