import Image from './Image'; import Link from './Link'; const Card = ({ title, description, imgSrc, href }) => (
{imgSrc && (href ? ( {title} ) : ( {title} ))}

{href ? ( {title} ) : ( title )}

{description}

{href && ( Learn more → )}
); export default Card;