mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 01:02:51 +00:00
updating react and lodash to newest versions
This commit is contained in:
51
shared/naturalCrit/nav/nav.jsx
Normal file
51
shared/naturalCrit/nav/nav.jsx
Normal file
@@ -0,0 +1,51 @@
|
||||
var React = require('react');
|
||||
var _ = require('lodash');
|
||||
var cx = require('classnames');
|
||||
|
||||
var Nav = {
|
||||
|
||||
base : React.createClass({
|
||||
render : function(){
|
||||
return <nav>
|
||||
<a href="/">
|
||||
|
||||
</a>
|
||||
|
||||
|
||||
{this.props.children}
|
||||
</nav>
|
||||
}
|
||||
}),
|
||||
|
||||
left : React.createClass({
|
||||
render : function(){
|
||||
return <div className='COM'>
|
||||
COM Ready!
|
||||
</div>
|
||||
}
|
||||
}),
|
||||
|
||||
right : React.createClass({
|
||||
render : function(){
|
||||
return <div className='COM'>
|
||||
COM Ready!
|
||||
</div>
|
||||
}
|
||||
}),
|
||||
|
||||
|
||||
logo : function(props){
|
||||
return <span></span>
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
module.exports = Nav;
|
||||
5
shared/naturalCrit/nav/nav.less
Normal file
5
shared/naturalCrit/nav/nav.less
Normal file
@@ -0,0 +1,5 @@
|
||||
nav{
|
||||
background-color: #333;
|
||||
min-height : 25px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user