diff --git a/client/tpk/navbar/navbar.jsx b/client/tpk/navbar/navbar.jsx new file mode 100644 index 0000000..53dac98 --- /dev/null +++ b/client/tpk/navbar/navbar.jsx @@ -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 + + + +
Total.Party.Knolling
+
+ v0.0.0 +
+ {this.props.children} +
+ } +}); + +module.exports = Navbar; diff --git a/client/tpk/navbar/navbar.less b/client/tpk/navbar/navbar.less new file mode 100644 index 0000000..b1054e9 --- /dev/null +++ b/client/tpk/navbar/navbar.less @@ -0,0 +1,16 @@ + +.tpk nav{ + .tpkLogo{ + .animate(color); + font-family : CodeBold; + font-size : 12px; + color : white; + div{ + margin-top : 2px; + margin-bottom : -2px; + } + &:hover{ + color : @teal; + } + } +} diff --git a/client/tpk/tpk.jsx b/client/tpk/tpk.jsx index b1647ec..bd4abba 100644 --- a/client/tpk/tpk.jsx +++ b/client/tpk/tpk.jsx @@ -2,13 +2,28 @@ var React = require('react'); var _ = require('lodash'); var cx = require('classnames'); -var COM = React.createClass({ +var Nav = require('naturalcrit/nav/nav.jsx'); +var Navbar = require('./navbar/navbar.jsx'); + + +var TPK = React.createClass({ render : function(){ - return
- COM Ready! + return
+ + + + yo dawg + + + +
+ + Holla y'all + +
} }); -module.exports = COM; +module.exports = TPK; diff --git a/client/tpk/tpk.less b/client/tpk/tpk.less index 6bb4bdf..4ca6e03 100644 --- a/client/tpk/tpk.less +++ b/client/tpk/tpk.less @@ -1,3 +1,16 @@ -.COM{ +@import 'naturalcrit/styles/core.less'; +.tpk{ + height : 100%; + background-color : @steel; + .page{ + display : flex; + height : 100%; + flex-direction : column; + .content{ + position : relative; + height : calc(~"100% - 29px"); //Navbar height + flex : auto; + } + } } \ No newline at end of file