mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-13 21:42:45 +00:00
Creating the initial frameowkr for a new tool
This commit is contained in:
21
client/spellsort/navbar/navbar.jsx
Normal file
21
client/spellsort/navbar/navbar.jsx
Normal file
@@ -0,0 +1,21 @@
|
||||
var React = require('react');
|
||||
var _ = require('lodash');
|
||||
|
||||
var Nav = require('naturalcrit/nav/nav.jsx');
|
||||
|
||||
var Navbar = React.createClass({
|
||||
render : function(){
|
||||
return <Nav.base>
|
||||
<Nav.section>
|
||||
<Nav.logo />
|
||||
<Nav.item href='/spellsort' className='spellsortLogo'>
|
||||
<div>Spellsort</div>
|
||||
</Nav.item>
|
||||
<Nav.item>v0.0.0</Nav.item>
|
||||
</Nav.section>
|
||||
{this.props.children}
|
||||
</Nav.base>
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = Navbar;
|
||||
16
client/spellsort/navbar/navbar.less
Normal file
16
client/spellsort/navbar/navbar.less
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
.spellsort nav{
|
||||
.spellsortLogo{
|
||||
.animate(color);
|
||||
font-family : CodeBold;
|
||||
font-size : 12px;
|
||||
color : white;
|
||||
div{
|
||||
margin-top : 2px;
|
||||
margin-bottom : -2px;
|
||||
}
|
||||
&:hover{
|
||||
color : @teal;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user