Stylistic and text changes

This commit is contained in:
Moris Zen
2018-08-06 00:12:09 +02:00
parent 1e870a966f
commit 3a4cb6382d
5 changed files with 44 additions and 31 deletions

View File

@@ -5,14 +5,14 @@ import ImgSprint from '../images/wow-we-did-design-sprint-remotely.png'
const Card = ({ ...props }) => (
<article className="h-full w-full rounded overflow-hidden shadow-md hover:shadow-lg">
<Link to={props.url}>
<Link to={props.url}>
{props.image ? (
<img className="w-full" src={props.image.src} />
) : (
<img className="w-full" src={ImgSprint} alt="Sprint Work" />
)}
</Link>
<div className="px-6 py-4">
<div className="px-6 py-4 bg-white">
<Link className="no-underline" to={props.url}>
<h3 className="text-black font-bold text-xl mb-2">{props.title}</h3>
</Link>