2016-09-12 21:39:54 +02:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import { Router, Route, hashHistory } from 'react-router';
|
|
|
|
import App from './App';
|
|
|
|
import Features from './Features';
|
|
|
|
import Strategies from './Strategies';
|
|
|
|
|
|
|
|
ReactDOM.render((
|
|
|
|
<Router history={hashHistory}>
|
|
|
|
<Route path="/" component={App}>
|
|
|
|
<Route path="/features" component={Features} />
|
2016-09-13 23:10:58 +02:00
|
|
|
<Route path="/strategies" component={Strategies} />
|
|
|
|
<Route path="/log" component={Strategies} />
|
|
|
|
<Route path="/archive" component={Strategies} />
|
2016-09-12 21:39:54 +02:00
|
|
|
</Route>
|
|
|
|
</Router>
|
|
|
|
), document.getElementById('app'));
|