import createGlobe from "cobe"; import { useEffect, useRef } from "react"; import { motion } from "motion/react"; import { IconBrandYoutubeFilled } from "@tabler/icons-react"; import { H2, P, CP, Eyebrow } from '@/components/Texts' export function HomeBenefits() { const features = [ { title: "Unbreakable by Design", description: "No central cloud to censor or fail. The network heals itself.", image: "/images/benefits/energy.webp", }, { title: "Sovereign by Default", description: "Identity, compute, and data belong to you – cryptographically.", image: "/images/benefits/sovereign.webp", }, { title: "Hackable & Open", description: "Learn, build, and experiment without permission.", image: "/images/benefits/autonomous.webp", }, { title: "Cost & Energy Efficient", description: "Distributed hardware eliminates hyperscale overhead.", image: "/images/benefits/cost.webp", }, ]; return (
Benefits

Why It Matters

Project Mycelium is a new foundation for digital independence. A self-governing, AI-powered infrastructure that gives you control, efficiency, and trust without compromise.

{features[0].title}

{features[0].title}

{features[0].description}
{features[1].title}

{features[1].title}

{features[1].description}
{features[2].title}

{features[2].title}

{features[2].description}
{features[3].title}

{features[3].title}

{features[3].description}
); } export const SkeletonOne = () => { return (
{/* TODO */} header
); }; export const SkeletonThree = () => { return (
{/* TODO */} header
); }; 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 (
{/* TODO */}
{images.map((image, idx) => ( bali images ))}
{images.map((image, idx) => ( bali images ))}
); }; export const SkeletonFour = () => { return (
); }; export const Globe = ({ className }: { className?: string }) => { const canvasRef = useRef(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 ( ); };