Created
May 14, 2018 22:20
-
-
Save gladchinda/bb0e64f88e7da3a9812a51834ac72295 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Fragment } from 'react'; | |
import axios from 'axios'; | |
import { Container, Row, Col } from 'reactstrap'; | |
import Post from './components/Post'; | |
import Header from './components/Header'; | |
import SideCard from './components/SideCard'; | |
const App = () => ( | |
<Fragment> | |
<Header /> | |
<main className="my-5 py-5"> | |
<Container className="px-0"> | |
<Row noGutters className="pt-2 pt-md-5 w-100 px-4 px-xl-0 position-relative"> | |
<Col xs={{ order: 2 }} md={{ size: 4, order: 1 }} tag="aside" className="pb-5 mb-5 pb-md-0 mb-md-0 mx-auto mx-md-0"> | |
<SideCard /> | |
</Col> | |
<Col xs={{ order: 1 }} md={{ size: 7, offset: 1 }} tag="section" className="py-5 mb-5 py-md-0 mb-md-0"> | |
<Post /> | |
</Col> | |
</Row> | |
</Container> | |
</main> | |
</Fragment> | |
); | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment