"use client"; import CountUp from "react-countup"; import React from "react"; export function Dashboard() { return (
{/* Column 1: Title & NODES */}
{/* Title + Description */}

Powered by a Global Community

ThreeFold’s groundbreaking technology enables anyone – individuals, organizations, and communities – to deploy their own Internet infrastructure.

{/* Column 2: CORES (staggered) + SSD */}
} note="Total Central Processing Unit Cores available on the grid." className="mt-24" /> } unit="GB" note="The total amount of storage (SSD, HDD, & RAM) on the grid." />
{/* Column 3: nodes countries */}
} note="The total number of nodes on the grid." /> } note="The total number of countries with active nodes." />
); } // 🧱 Stat Card Component function StatCard({ label, description, value, unit, note, className = "", }: { label: string; description: string; value: React.ReactNode; unit?: string; note: string; className?: string; }) { return (
{ e.currentTarget.style.filter = 'brightness(0.8) drop-shadow(0 0 20px rgba(156, 163, 175, 0.5))'; }} onMouseLeave={(e) => { e.currentTarget.style.filter = 'brightness(1)'; }} >

{label}

{description}

{value} {unit && ( {unit} )}

{note}

); }