Last active
February 5, 2020 20:39
-
-
Save michal-wrzosek/aa050cf9cd5a040285ec3a70c12e9457 to your computer and use it in GitHub Desktop.
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
import React from 'react'; | |
import cntl from 'cntl'; | |
const Card = () => ( | |
<div className="max-w-sm rounded overflow-hidden shadow-lg"> | |
<img className="w-full" src="/img/card-top.jpg" alt="Sunset in the mountains" /> | |
<div className="px-6 py-4"> | |
<div className="font-bold text-xl mb-2">The Coldest Sunset</div> | |
<p className="text-gray-700 text-base"> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis | |
eaque, exercitationem praesentium nihil. | |
</p> | |
</div> | |
<div className="px-6 py-4"> | |
<span className="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2"> | |
#photography | |
</span> | |
<span className="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700 mr-2"> | |
#travel | |
</span> | |
<span className="inline-block bg-gray-200 rounded-full px-3 py-1 text-sm font-semibold text-gray-700"> | |
#winter | |
</span> | |
</div> | |
</div> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment