Added navbar
This commit is contained in:
parent
e7f5abbbb8
commit
5ff8ef7ea5
3 changed files with 14 additions and 1 deletions
|
@ -2,5 +2,5 @@ var React = require('react');
|
||||||
var Home = require('./components/home');
|
var Home = require('./components/home');
|
||||||
var NavBar = require('./components/navbar');
|
var NavBar = require('./components/navbar');
|
||||||
|
|
||||||
React.render(<NavBar />, document.getElementById('NavBar'));
|
React.render(<NavBar />, document.getElementById('NavBarContainer'));
|
||||||
React.render(<Home />, document.getElementById('AppContainer'));
|
React.render(<Home />, document.getElementById('AppContainer'));
|
|
@ -0,0 +1,10 @@
|
||||||
|
var React = require('react');
|
||||||
|
|
||||||
|
var NavBar = React.createClass({
|
||||||
|
render: function () {
|
||||||
|
<div id="NavBar">
|
||||||
|
<div className="row" >
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
});
|
|
@ -1,3 +1,6 @@
|
||||||
@import 'node_modules/bootstrap/less/bootstrap.less';
|
@import 'node_modules/bootstrap/less/bootstrap.less';
|
||||||
@import 'node_modules/bootstrap/less/theme.less';
|
@import 'node_modules/bootstrap/less/theme.less';
|
||||||
|
|
||||||
|
#NavBar {
|
||||||
|
|
||||||
|
}
|
Reference in a new issue