1
Fork 0

Added navbar component

This commit is contained in:
Jake Howard 2015-11-03 08:49:29 +00:00
parent 693d383a69
commit b49c98ee64
3 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,7 @@
<title>Hello World!</title> <title>Hello World!</title>
</head> </head>
<body> <body>
<div id="NavBar"></div>
<div id="AppContainer"></div> <div id="AppContainer"></div>
<script src="js/app.js"></script> <script src="js/app.js"></script>

View file

@ -1,5 +1,6 @@
var React = require('react'); var React = require('react');
var Home = require('./components/home'); var Home = require('./components/home');
var NavBar = require('./components/navbar');
React.render(<NavBar />, document.getElementById('NavBar'));
React.render(<Home />, document.getElementById('AppContainer')); React.render(<Home />, document.getElementById('AppContainer'));

View file