diff --git a/static/src/js/components/navbar/navbar-header.js b/static/src/js/components/navbar/navbar-header.js new file mode 100644 index 0000000..b129774 --- /dev/null +++ b/static/src/js/components/navbar/navbar-header.js @@ -0,0 +1,29 @@ +import React from 'react'; +var ReactBootstrap = require('react-bootstrap'); + +export default class NavBarHeader extends React.Component { + render() { + const items = [0, 1, 2]; + var iconBars = items.map(function (item) { + return ( + + ); + }); + return ( +
+ + + + Navigation + +
+ ); + } +} diff --git a/static/src/js/components/navbar/navbar.js b/static/src/js/components/navbar/navbar.js index 7c677c4..5ae32a0 100644 --- a/static/src/js/components/navbar/navbar.js +++ b/static/src/js/components/navbar/navbar.js @@ -1,12 +1,6 @@ import React from 'react'; -var ReactBootstrap = require('react-bootstrap'); -var { - Navbar, - Nav, - MenuItem, - NavItem, - NavDropdown -} = ReactBootstrap; +import NavBarHeader from './navbar-header'; +var NavItem = require('react-bootstrap').NavItem; export default class NavBar extends React.Component { render() { @@ -16,15 +10,7 @@ export default class NavBar extends React.Component {