Created
November 27, 2019 16:36
-
-
Save ItsCosmas/19d476d4a3b528e22749fd371e512c2c 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 { Link } from "react-router-dom"; | |
import hotpost from "../../assets/img/hot-post-1.jpg"; | |
const BlogCardCol = () => { | |
return ( | |
<div className='blog__card-column'> | |
<figure className='blog__card-fig'> | |
<Link to='/article' className='blog__card-link'> | |
<img | |
src={hotpost} | |
alt='HotPost' | |
className='blog__card-img' | |
/> | |
</Link> | |
</figure> | |
<div className='blog__card-tag'>Women In Tech</div> | |
<Link to='/article' className='blog__card-link'> | |
<h4 className='blog__card-title'>6 ways to queit your brain</h4> | |
</Link> | |
<p className='blog__card-desc'> | |
Skipping Breakfast Before Your Workout Could Boost Your Health | |
Exercising before breakfast may have a number of health | |
benefits. | |
</p> | |
</div> | |
); | |
}; | |
export default BlogCardCol; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment