"use client"; import { useState } from "react"; // ✅ IMPORT HEROICONS import { CubeIcon, SparklesIcon, ServerStackIcon, ShieldCheckIcon, } from "@heroicons/react/20/solid"; const tabs = [ { id: "ai", label: "K8s Clusters", title: "K8s Clusters", description: "Deploy and scale containerized apps across your own hardware — enabling a world of possibilities.", link: "#", icon: CubeIcon, }, { id: "web", label: "AI Agents", title: "AI Agents", description: "Run open-source models locally, securely, and offline.", link: "#", icon: SparklesIcon, }, { id: "ecommerce", label: "S3-Compatible Storage", title: "S3-Compatible Storage", description: "Your own personal over-the-network drive, encrypted end-to-end.", link: "#", icon: ServerStackIcon, }, { id: "platforms", label: "Mesh VPN & 0-Trust Networking", title: "Mesh VPN & 0-Trust Networking", description: "Securely connect all your devices and remote locations.", link: "#", icon: ShieldCheckIcon, }, ]; export function HomeApplication() { const [active, setActive] = useState("ai"); const current = tabs.find((t) => t.id === active)!; const Icon = current.icon; // ✅ dynamic icon return (
{/* ✅ VERTICAL DIVIDER ON DESKTOP */}
{/* LEFT COLUMN */}

Run Real Infrastructure on Your Own Hardware

Build and run production-grade workloads on hardware you control, whether it’s your own node or capacity from the decentralized grid. Mycelium handles the networking, orchestration, and security layers, so you can deploy services the same way you would on a public cloud, without giving your data or control to anyone.

{/* TABS */}
{tabs.map((tab) => ( ))}
{/* RIGHT COLUMN — ONLY 1 ROW CHANGES */}
{/* ✅ ICON WITH BLACK BG */}

{current.title}

{current.description}

Learn more →
); }