import { Button } from "./ui/button"; import { useAnimatedCounter } from "./hooks/useAnimatedCounter"; import { ArrowUpRight } from "lucide-react"; import { useState, useEffect } from "react"; import { BrandedTag } from "./about/BrandedTag"; import { PrimaryCTAButton } from "./PrimaryCTAButton"; interface StatItemProps { end: number; suffix: string; label: string; duration?: number; } function StatItem({ end, suffix, label, duration = 2000 }: StatItemProps) { const { count, ref } = useAnimatedCounter({ end, suffix, duration }); return (