0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 16:32:40 +00:00

So much polish

This commit is contained in:
Scott Tolksdorf
2016-01-04 17:02:55 -05:00
parent b1b69437ea
commit fb8ddfe9fa
16 changed files with 146 additions and 62 deletions

View File

@@ -12,7 +12,7 @@ var HomePage = React.createClass({
getInitialState: function() {
return {
text: "# Welcome"
text: "# Welcome \n Katie help me decide what should go here."
};
},
@@ -38,8 +38,18 @@ var HomePage = React.createClass({
return(
<div className='homePage'>
<Statusbar />
<Editor text={this.state.text} onChange={this.handleTextChange} />
<PHB text={this.state.text} />
<div className='paneSplit'>
<div className='leftPane'>
<Editor text={this.state.text} onChange={this.handleTextChange} />
</div>
<div className='rightPane'>
<PHB text={this.state.text} />
</div>
</div>
<a href='/homebrew/new' className='floatingNewButton'>
Create your own <i className='fa fa-magic' />
</a>
</div>
);
}

View File

@@ -1,3 +1,20 @@
.homePage{
.homePage{
position : relative;
a.floatingNewButton{
.animate(background-color);
position : absolute;
display : block;
right : 70px;
bottom : 70px;
padding : 1em;
background-color : @orange;
font-size : 1.5em;
color : white;
text-decoration : none;
box-shadow : 3px 3px 15px black;
&:hover{
background-color : darken(@orange, 20%);
}
}
}