Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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