// "use client"; // import { useMotionValue, motion, useMotionTemplate } from "motion/react"; // import React, { MouseEvent as ReactMouseEvent, useState } from "react"; // import { CanvasRevealEffect } from "@/components/ui/canvas-reveal-effect"; // import { cn } from "@/lib/utils"; // export const CardSpotlight = ({ // children, // radius = 350, // color = "#ffffff33", // className, // ...props // }: { // radius?: number; // color?: string; // children: React.ReactNode; // } & React.HTMLAttributes) => { // const mouseX = useMotionValue(0); // const mouseY = useMotionValue(0); // function handleMouseMove({ // currentTarget, // clientX, // clientY, // }: ReactMouseEvent) { // let { left, top } = currentTarget.getBoundingClientRect(); // mouseX.set(clientX - left); // mouseY.set(clientY - top); // } // const [isHovering, setIsHovering] = useState(false); // const handleMouseEnter = () => setIsHovering(true); // const handleMouseLeave = () => setIsHovering(false); // return ( //
// // {isHovering && ( // // )} // // {children} //
// ); // };