All-in-One Platform for AI-Powered Services
{items.map((item, i) => (
p:text-lg] ", item.className)}
icon={item.icon}
/>
))}
);
}
const SkeletonOne = () => {
const [isHovered, setIsHovered] = useState(false);
const [animationState, setAnimationState] = useState('idle');
// Control animation cycle
useEffect(() => {
if (isHovered) {
const animationSequence = async () => {
setAnimationState('drag');
setTimeout(() => setAnimationState('drop'), 1500);
setTimeout(() => setAnimationState('complete'), 2000);
setTimeout(() => setAnimationState('drag'), 3500);
};
animationSequence();
const interval = setInterval(animationSequence, 4000);
return () => clearInterval(interval);
} else {
setAnimationState('idle');
}
}, [isHovered]);
return (