Skip to content

Instantly share code, notes, and snippets.

@ItsCosmas
Created November 27, 2019 16:39
Show Gist options
  • Save ItsCosmas/a6eb2b1fd640c3dd5ad2d79f360af673 to your computer and use it in GitHub Desktop.
Save ItsCosmas/a6eb2b1fd640c3dd5ad2d79f360af673 to your computer and use it in GitHub Desktop.
import React from "react";
import { Link } from "react-router-dom";
import img_side from "../../assets/img/img.jpg";
const BlogCardRow = () => {
return (
<div className='blog__card-row'>
<figure className='blog__card-row__fig'>
<Link href='' className='blog__card-link'>
<img
src={img_side}
alt='HotPost'
className='blog__card-img'
/>
</Link>
</figure>
<div className='blog__card-row__content'>
<div className='blog__card-tag'>Women In Tech</div>
<Link href='' 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>
</div>
);
};
export default BlogCardRow;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment