0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-17 03:42:43 +00:00

Stubbed out a userpage

This commit is contained in:
Scott Tolksdorf
2016-11-23 23:59:57 -05:00
parent 750f5c1330
commit 9e14872f06
6 changed files with 55 additions and 8 deletions

View File

@@ -0,0 +1,35 @@
const React = require('react');
const _ = require('lodash');
const cx = require('classnames');
const Nav = require('naturalcrit/nav/nav.jsx');
const Navbar = require('../../navbar/navbar.jsx');
const UserPage = React.createClass({
getDefaultProps: function() {
return {
username : '',
brews : []
};
},
render : function(){
console.log(this.props.brews);
return <div className='userPage page'>
<Navbar>
<Nav.section>
holla
</Nav.section>
</Navbar>
<div className='content'>
<div className='phb'>
<h1>{this.props.username}</h1>
</div>
</div>
</div>
}
});
module.exports = UserPage;

View File

@@ -0,0 +1,5 @@
.userPage{
.content .phb{
margin: 20px auto;
}
}