-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (50 loc) · 2.5 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
<!DOCTYPE html>
<html lang="en" class="h-full w-full">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-20980483-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-20980483-4');
</script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sodist | A social distancing game</title>
<meta name="description" content="Keep yourself busy! Keep your distance!">
<meta property="og:title" content="Sodist | A social distancing game">
<meta property="og:description" content="Keep yourself busy! Keep your distance!">
<meta property="og:image" content="https://mrmowji.github.io/sodist/images/cover.png">
<meta property="og:url" content="https://mrmowji.github.io/sodist">
<meta name="twitter:title" content="Sodist | A social distancing game">
<meta name="twitter:description" content="Keep yourself busy! Keep your distance!">
<meta name="twitter:image" content="https://mrmowji.github.io/sodist/images/cover.png">
<meta name="twitter:card" content="summary_large_image">
<link href="https://fonts.googleapis.com/css?family=Fredoka+One&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/app.css">
<script src="js/p5js/p5.js" defer></script>
<script src="js/p5js/p5.sound.js" defer></script>
</head>
<body class="h-full w-full overflow-hidden">
<div id="p5_loading" class="loading w-full h-full flex justify-center items-center">
Loading ...
</div>
<div id="menu" class="hidden h-full w-full flex items-center justify-center fixed top-0 left-0 z-50"
style="background: rgba(0,0,0,0.5);">
<div class="bg-white rounded-lg p-8 z-50 text-2xl font-normal text-blue-600">
<div class="p-6 py-1 bg-blue-100 rounded-lg text-center">
<span class="text-6xl" id="score"></span>
<span class="text-md">sec</span>
</div>
<div id="new-record" class="hidden mt-2 mb-8 text-center">Hooray! A new record!</div>
<button type="button"
class="bg-blue-500 hover:bg-blue-400 text-white font-bold py-2 px-4 border-b-8 mt-3 border-blue-700 hover:border-blue-500 rounded-lg block w-full"
id="play">Play again!</button>
</div>
</div>
<script src="js/index.js" defer></script>
</body>
</html>