-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathhome.html
30 lines (28 loc) · 1.15 KB
/
home.html
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
<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>FloppyBox</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.0/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.0/react-dom.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.23/browser.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.2/marked.min.js"></script>
<script type="text/javascript" src="/static/phaser.min.js"></script>
<script type="text/babel" src="/static/floppybox.jsx?v=2"></script>
</head>
<body>
<h1>FloppyBox</h1>
<i>FlappyBird-like game contained within a ReactJS component.</i>
<p>To jump, press spacebar OR click mouse OR tap screen.</p>
<div id="content"></div>
<script type="text/babel">
ReactDOM.render(
<FloppyBox width={800} height={490} />,
document.getElementById('content')
);
</script>
<p>(See <a href="https://github.com/freeauto/floppybox">Github repo</a> for source code.)</p>
</body>
</html>