mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
Move menu into React
This commit is contained in:
parent
92ca77ad07
commit
3b8b862dde
@ -15,14 +15,7 @@
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/reqwest/1.1.4/reqwest.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default navbar-static-top" role="navigation">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="#">Unleash</a>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="container-fluid">
|
||||
<div id="content">Loading...</div>
|
||||
</div>
|
||||
<div id="content" class="container-fluid">Loading...</div>
|
||||
<script type="text/jsx" src="js/unleash.jsx"></script>
|
||||
</body>
|
||||
</html>
|
@ -9,7 +9,14 @@
|
||||
//
|
||||
|
||||
var Menu = React.createClass({
|
||||
render: function() { return <div/>; }
|
||||
render: function() { return (
|
||||
<nav className='navbar navbar-default' role='navigation'>
|
||||
<div className='container'>
|
||||
<a className='navbar-brand' href='#'>Unleash</a>
|
||||
</div>
|
||||
</nav>
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user