This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Welcome({ imgSrc, imgAlt, title, pricing, url }) { | |
return ( | |
<div> | |
<img className="rounded" src={imgSrc} alt={imgAlt} /> | |
<div className="mt-2"> | |
<div> | |
<div className="font-bold leading-snug text-gray-700"> | |
<a href={url} className="hover:underline"> | |
{title} | |
</a> | |
</div> | |
<div className="mt-2 text-sm text-gray-600">{pricing}</div> | |
</div> | |
</div> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment