Created
December 25, 2015 14:16
-
-
Save chihirokaasan/a5325ba3032108cd4a74 to your computer and use it in GitHub Desktop.
JavaScript祭2015年末
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
<script src="../../build/react.js"></script> | |
<script src="../../build/react-dom.js"></script> | |
<div id="result_area"> | |
</div> | |
<script type="text/babel"> | |
var PizzaFooter = React.createClass({ | |
render: function(){ | |
return( | |
<footer className="navbar navbar-default navbar-static-top"> | |
<div className="container"> | |
<div className="navbar-f"> | |
<a className="navbar-brand" rel="license" href="http://www.kaasan.info/" target="_blank">ITかあさん JavaScript祭2015年末</a> | |
</div> | |
</div> | |
</footer> | |
); | |
} | |
}); | |
ReactDOM.render( | |
<PizzaFooter />, | |
document.getElementById('result_area') | |
); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment