Skip to content

Instantly share code, notes, and snippets.

@ItsCosmas
Created November 28, 2019 08: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/a0ee9feaae59cda338a87c1448a37bef to your computer and use it in GitHub Desktop.
Save ItsCosmas/a0ee9feaae59cda338a87c1448a37bef to your computer and use it in GitHub Desktop.
// The Home Page
import React, { Component } from "react";
import ArticleView from "./ArticleView";
import ArticleShare from "./ArticleShare";
import BlogCardCol from "../Blog/BlogCardCol";
import "./Article.scss";
class Article extends Component {
render() {
return (
<div className='article'>
<div className='article__main'>
<ArticleView />
<ArticleShare />
</div>
{/* In Prod this is a list iterated using map */}
{/* Editorial Blogs */}
<div className='blog__section'>
<h4 className='heading-main'>Top Editorial Blogs</h4>
</div>
<div className='blog__editorial'>
<BlogCardCol />
<BlogCardCol />
<BlogCardCol />
<BlogCardCol />
</div>
{/* Editorial Blogs */}
</div>
);
}
}
export default Article;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment