-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.jsx
33 lines (29 loc) · 1.12 KB
/
app.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
var React = require('react');
var ReactDOM = require('react-dom');
var Servers = require('./frontend/src/js/components/servers.jsx');
require('console-shim'); // IE9 FIX
var Sera = React.createClass({
getInitialState: function () {
return {}
},
render: function () {
return (
<div>
<nav className="navbar navbar-fixed-top sera-header">
<div className="container-fluid">
<div className="navbar-header">
<a className="navbar-brand" href="#">
<span className="fa-stack fa-lg">
<i className="fa fa-square fa-stack-2x logo"></i>
<strong className="fa-stack-1x fa-stack-text fa-comment-text ">S</strong>
</span>
sera</a>
</div>
</div>
</nav>
<Servers />
</div>
)
}
})
ReactDOM.render(React.createElement(Sera), document.getElementById('content'))