Added navbar component
This commit is contained in:
parent
693d383a69
commit
b49c98ee64
3 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
<title>Hello World!</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="NavBar"></div>
|
||||
<div id="AppContainer"></div>
|
||||
|
||||
<script src="js/app.js"></script>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
var React = require('react');
|
||||
var Home = require('./components/home');
|
||||
var NavBar = require('./components/navbar');
|
||||
|
||||
|
||||
React.render(<NavBar />, document.getElementById('NavBar'));
|
||||
React.render(<Home />, document.getElementById('AppContainer'));
|
0
src/js/components/navbar.js
Normal file
0
src/js/components/navbar.js
Normal file
Reference in a new issue