0
0
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:
Scott Tolksdorf
2016-05-14 18:17:04 -04:00
parent 5f55a59042
commit 92e110ba15
8 changed files with 99 additions and 9 deletions

View 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;

View 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;
}
}
}