1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

a few more menu-items #153

This commit is contained in:
Ivar 2016-09-13 23:10:58 +02:00 committed by Ivar Conradi Østhus
parent 912c1e7145
commit be252b96d0
2 changed files with 14 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react';
import { Link } from 'react-router';
import { ListSubHeader, List, ListItem } from 'react-toolbox';
import { ListSubHeader, List, ListItem, ListDivider } from 'react-toolbox';
export default class UnleashNav extends Component {
render () {
@ -8,8 +8,18 @@ export default class UnleashNav extends Component {
<List selectable ripple>
<Link to="/features"><ListItem selectable className="active" caption="Feature Toggles" /></Link>
<Link to="/strategies"><ListItem selectable caption="Strategies" /></Link>
<Link to="/log"><ListItem selectable caption="Log" /></Link>
<Link to="/archive"><ListItem selectable caption="Archive" /></Link>
<ListDivider />
<ListSubHeader Resources/>
<Link to="/archive"><ListItem selectable caption="Documentation" /></Link>
<a href="https://github.com/finn-no/unleash/" target="_blank"><ListItem selectable caption="GitHub" /></a>
<ListDivider />
<ListItem selectable={false} ripple="false">
<p>A product by <a href="https://finn.no" target="_blank">FINN.no</a></p>
</ListItem>
</List>
);
}
};

View File

@ -9,7 +9,9 @@ ReactDOM.render((
<Router history={hashHistory}>
<Route path="/" component={App}>
<Route path="/features" component={Features} />
<Route path="/Strategies" component={Strategies} />
<Route path="/strategies" component={Strategies} />
<Route path="/log" component={Strategies} />
<Route path="/archive" component={Strategies} />
</Route>
</Router>
), document.getElementById('app'));