Skip to content

Instantly share code, notes, and snippets.

@ItsCosmas
Created November 27, 2019 16:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ItsCosmas/19d476d4a3b528e22749fd371e512c2c to your computer and use it in GitHub Desktop.
Save ItsCosmas/19d476d4a3b528e22749fd371e512c2c to your computer and use it in GitHub Desktop.
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