added links to registration and login page, added utf8 charset meta tag, added viewport metatag to prevent zoom on mobile devices

This commit is contained in:
Edin Dazdarevic
2015-02-17 21:58:39 +01:00
parent a9249c7ad8
commit b635246e83
6 changed files with 57 additions and 37 deletions

View File

@@ -1,7 +1,8 @@
var React = require('react'),
SectionsListComponent = require('./shared/sectionsListComponent'),
Router = require('react-router'),
RouteHandler = Router.RouteHandler;
RouteHandler = Router.RouteHandler,
LoginStatus = require('./shared/loginStatus');
var CartIcon = require('./cart/cartIcon');
@@ -15,10 +16,13 @@ var RootApp = React.createClass({
<div className='page-header'>
<h1 className="main-heading"><a href="#" style={{color: "#cd3071"}}>ribica.ba</a></h1> <CartIcon />
<div style={{float:'right'}}>
<LoginStatus />
</div>
</div>
<div className='row'>
<div className='col-md-12' id='header'>
<SectionsListComponent />
<SectionsListComponent />
</div>
</div>
<div className='row'>
@@ -26,7 +30,6 @@ var RootApp = React.createClass({
<RouteHandler />
</div>
</div>
);