import Link from "next/link"; import { useState } from "react"; import LottieIcon from "~/components/LottieIcon"; function classNames(...classes: string[]): string { return classes.filter(Boolean).join(" "); } const Button: React.FC<{ href: string; current: boolean; name: string; json: object; }> = ({ href, current, name, json }) => { const [isHovered, setIsHovered] = useState(false); const [index, setIndex] = useState(0); const handleMouseEnter = () => { setIsHovered(true); setIndex((index) => index + 1); }; return ( {name} ); }; export default Button;