import Image from "next/image";
import "./creadores.css";

interface props{
    title:string;
    img:string;
    width:number;
    height:number;
}

export default function CreatorCard({title,img,width,height}:props) {
    return (
        <div className="card">
            <div className="imageWrapper">
                <Image
                    src={img}
                    alt="IO"
                    width={width}
                    height={height}
                    className="creators"
                />
            </div>
            <h1 className="titles">{title}</h1>
        </div>
    )
}