import { useState } from 'react'; export function ImageCard({ src, alt, width = 1640, height = 1800 }) { const [isLoaded, setIsLoaded] = useState(false); return (
{alt} setIsLoaded(true)} className={`w-full h-auto object-cover border-none !shadow-none transition-opacity duration-[600ms] ease-out ${ isLoaded ? 'opacity-100' : 'opacity-0' }`} />
); }