"use client"; import React from "react"; import { Section } from "@/components/layout/Section"; import { useCountUp } from "@/hooks/useCountUp"; import { stats } from "@/lib/site"; function Stat({ value, suffix, label, }: { value: number; suffix: string; label: string; }) { const { ref, value: current } = useCountUp({ target: value }); return (
{current} {suffix}

{label}

); } export function StatsRow() { return (
{stats.map((stat) => (
{stat.label}
))}
); }