Created
February 23, 2017 17:09
-
-
Save hannigand/4cd99e77bcfbca2ebd3fdee8169dd2af to your computer and use it in GitHub Desktop.
This file contains 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 from 'react'; | |
import ReactDOM from 'react-dom'; | |
import { | |
Router, | |
Route, | |
browserHistory | |
} from 'react-router' | |
import Header from './Components/Header'; | |
import DayPicker from './Components/DayPicker'; | |
import Games from './Components/Games'; | |
import './Styles/vendor/ginger.css'; | |
import './index.css'; | |
ReactDOM.render( | |
<Router history={ browserHistory }> | |
<main id="pinetar"> | |
<Header /> | |
<Route path="/:month" component={Games} /> | |
<Route path="/home/:month" component={Games} /> | |
<Route path="/games" component={Games} /> | |
</main> | |
</Router>, | |
document.getElementById('root') | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment