"use client"; import { Eyebrow, H3, P } from "@/components/Texts"; import NoExtraction from "./animations/NoExtraction"; import NoControl from "./animations/NoControl"; import NoCentral from "./animations/NoCentral"; import NoSinglePoint from "./animations/NoSinglePoint"; const deterministicCards = [ { id: "core", eyebrow: "Why It Matters", title: "Built for a Sovereign Digital World", description: "The modern internet still runs on centralized platforms that own the servers, shape the rules, and extract the data. Mycelium gives you a way out. You operate the infrastructure. You keep the data. You decide the boundaries.", animation: null, colSpan: "lg:col-span-3", rowSpan: "lg:row-span-1", custom: true, noBorder: true, }, { id: "crypto", title: "No central servers.", description: "Your devices form a distributed network, eliminating reliance on centralized data centers.", animation: , // ✅ NEW colSpan: "lg:col-span-3", rowSpan: "lg:row-span-1", rounded: "lg:rounded-tr-4xl max-lg:rounded-t-4xl", innerRounded: "lg:rounded-tr-[calc(2rem+1px)] max-lg:rounded-t-[calc(2rem+1px)]", }, { id: "stateless", title: "No data extraction.", description: "You own your data. Run services and AI models on your own devices, ensuring privacy and control.", animation: , // ✅ NEW colSpan: "lg:col-span-2", rowSpan: "lg:row-span-1", rounded: "lg:rounded-bl-4xl max-lg:rounded-b-4xl", innerRounded: "lg:rounded-bl-[calc(2rem+1px)] max-lg:rounded-b-[calc(2rem+1px)]", }, { id: "healing", title: "No single point of failure.", description: "No single entity can dictate or censor your online experience.", animation: , // ✅ NEW colSpan: "lg:col-span-2", rowSpan: "lg:row-span-1", rounded: "", innerRounded: "", }, { id: "control", title: "No single point of control.", description: "Infrastructure that moves with its operators, not a corporation.", animation: , // ✅ NEW colSpan: "lg:col-span-2", rowSpan: "lg:row-span-1", rounded: "lg:rounded-br-4xl max-lg:rounded-b-4xl", innerRounded: "lg:rounded-br-[calc(2rem+1px)] max-lg:rounded-b-[calc(2rem+1px)]", }, ]; export function HomeArchitecture() { return (
{/* ✅ Top horizontal line */}
{deterministicCards.map((card) => (
{/* ✅ Disable wrapper on first card */} {!card.noBorder && (
)}
{/* ✅ SVG Animation instead of images */} {card.animation ? (
{card.animation}
) : (
)}
{card.custom ? ( <> {card.eyebrow && {card.eyebrow}}

{card.title}

{card.description}

) : ( <>

{card.title}

{card.description}

)}
{!card.noBorder && (
)}
))}
); }