-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
71 lines (66 loc) · 1.99 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web game created using kaboom-template."
/>
<meta
property="og:image"
content="https://remarkablegames.org/kaboom-template/logo.png"
/>
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="/manifest.json" />
<!--
GitHub Corners. See https://github.com/remarkablemark/github-corners
-->
<% if (process.env.BUNDLE !== 'true') { %>
<script
src="https://unpkg.com/github-corners/dist/embed.min.js"
data-href="https://github.com/remarkablegames/kaboom-template"
data-target="_blank"
async
defer
></script>
<style>
.github-corner > svg {
opacity: 0.6;
transition: opacity 0.4s;
}
.github-corner:hover > svg {
opacity: 1;
}
</style>
<% } %>
<title>Kaboom Template | remarkablegames</title>
</head>
<body>
<noscript>You need to enable JavaScript to play this game.</noscript>
<script type="module">
import kaboom from 'kaboom'
kaboom()
</script>
<script type="module" src="src/index.ts"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script>
window['ga-disable-%VITE_GOOGLE_ANALYTICS_ID%'] = %DEV%;
window.dataLayer = window.dataLayer || [];
window.gtag = function () {
dataLayer.push(arguments);
};
gtag('js', new Date());
gtag('config', '%VITE_GOOGLE_ANALYTICS_ID%');
</script>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=%VITE_GOOGLE_ANALYTICS_ID%"
></script>
</body>
</html>