-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
51 lines (44 loc) · 1.68 KB
/
index.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<!-- May need "user-scalable=no". -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Metadata for iOS. -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="apple-mobile-web-app-title" content="Weather PWA" />
<link rel="apple-touch-icon" href="/images/icon_152x152.png" />
<!-- Additional metadata to satisfy Lighthouse audit. -->
<meta name="description" content="This is an awesome PICO-8 game." />
<meta name="theme-color" content="#2F3BA2" />
<title>Document</title>
<link rel="stylesheet" href="./app.css" />
<link rel="manifest" href="./manifest.json" />
</head>
<body>
<!-- Necessary for itch.io -->
<canvas id="dummy4itchapp" style="position:absolute;visibility:hidden;width:0;height:0;"></canvas>
<!-- React. -->
<script
src="https://unpkg.com/react@16/umd/react.development.js"
crossorigin
></script>
<script
src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"
crossorigin
></script>
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
<!-- Your app. -->
<script type="text/babel" src="./app.js"></script>
<!-- Catches arrow key events to avoid scrolling the browser page -->
<script>
window.addEventListener("keydown", function(e) {
if([32, 37, 38, 39, 40].indexOf(e.keyCode) > -1) {
e.preventDefault();
}
}, false);
</script>
</body>
</html>