0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-15 08:22:43 +00:00
Files
homebrewery/client/homebrew/navbar/navbar.jsx
2017-01-22 12:55:00 -05:00

23 lines
535 B
JavaScript

const React = require('react');
const _ = require('lodash');
const Nav = require('naturalcrit/nav/nav.jsx');
const Store = require('homebrewery/brew.store.js');
const Navbar = React.createClass({
render : function(){
return <Nav.base>
<Nav.section>
<Nav.logo />
<Nav.item href='/' className='homebrewLogo'>
<div>The Homebrewery</div>
</Nav.item>
<Nav.item>{`v${Store.getVersion()}`}</Nav.item>
</Nav.section>
{this.props.children}
</Nav.base>
}
});
module.exports = Navbar;