Skip to content

Instantly share code, notes, and snippets.

@techomoro
Created November 16, 2021 03:06
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 techomoro/582571152c7c37847a514fcbfdc0ffa1 to your computer and use it in GitHub Desktop.
Save techomoro/582571152c7c37847a514fcbfdc0ffa1 to your computer and use it in GitHub Desktop.
import React from "react";
import { Link } from "react-router-dom";
function Posts() {
return (
<div className="home">
<div class="container">
<Link to="/blog/this-is-a-post-title">
<div class="row align-items-center my-5">
<div class="col-lg-7">
<img
class="img-fluid rounded mb-4 mb-lg-0"
src="http://placehold.it/900x400"
alt=""
/>
</div>
<div class="col-lg-5">
<h1 class="font-weight-light">This is a post title</h1>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy
text ever since the 1500s, when an unknown printer took a galley
of type and scrambled it to make a type specimen book.
</p>
</div>
</div>
</Link>
</div>
</div>
);
}
export default Posts;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment