Skip to content

Commit

Permalink
update new post icon
Browse files Browse the repository at this point in the history
  • Loading branch information
echenley committed Sep 17, 2015
1 parent 154ae8f commit 69de0f3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/js/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import Register from './components/Register';
import NewPost from './components/NewPost';
import LoginLinks from './components/LoginLinks';
import ProfileLink from './components/ProfileLink';
import Icon from './components/Icon';

let App = React.createClass({

Expand Down Expand Up @@ -117,12 +118,14 @@ let App = React.createClass({
<div className="wrapper full-height">
<header className="header cf">
<div className="float-left">
<Link to="/" className="menu-title">react-news</Link>
<Link to="/" className="menu-title">
<span>react-news</span>
</Link>
</div>
<div className="float-right">
{ user.isLoggedIn ? <ProfileLink user={ user } /> : <LoginLinks /> }
<a className="newpost-link" onClick={ this.newPost }>
<i className="fa fa-plus-square-o"></i>
<Icon svg={ require('../svg/add.svg') } />
<span className="sr-only">New Post</span>
</a>
</div>
Expand Down

0 comments on commit 69de0f3

Please sign in to comment.