Created
December 8, 2014 05:52
-
-
Save semeltheone/f1372c5ba53b02caefb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Scaffold = React.createClass({ | |
render: function () { | |
return ( | |
<div> | |
<nav className="navbar navbar-inverse navbar-fixed-top" role="navigation"> | |
<div className="container"> | |
<div className="navbar-header"> | |
<button type="button" className="navbar-toggle collapsed" data-toggle="collapse" | |
data-target="#navbar" aria-expanded="false" aria-controls="navbar"> | |
<span className="sr-only">Toggle navigation</span> | |
<span className="icon-bar"></span> | |
<span className="icon-bar"></span> | |
<span className="icon-bar"></span> | |
</button> | |
<a className="navbar-brand" href="#">Project name</a> | |
</div> | |
<div id="navbar" className="collapse navbar-collapse"> | |
<ul className="nav navbar-nav"> | |
<li className="active"> | |
<a href="#">Home</a> | |
</li> | |
<li> | |
<a href="#about">About</a> | |
</li> | |
<li> | |
<a href="#contact">Contact</a> | |
</li> | |
</ul> | |
</div> | |
</div> | |
</nav> | |
<div className="container"> | |
<div className="starter-template">{this.props.children}</div> | |
</div> | |
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css"/> | |
<link rel="stylesheet" href="css/main.css"/> | |
</div> | |
)}}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment