-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (31 loc) · 1.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mini MIDI Game</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="assets/favicon.ico">
</head>
<body>
<div
class="min-h-screen flex flex-col items-center justify-center bg-zinc-100 dark:bg-zinc-800 text-zinc-800 dark:text-zinc-200">
<h1 class="text-4xl font-bold mb-4">Mini MIDI Game</h1>
<p class="mb-6 text-lg">Press pad 99 to start the game or use the button below.</p>
<div class="flex space-x-4">
<select
class="p-2 border border-zinc-300 dark:border-zinc-700 rounded-md shadow-md focus:outline-none focus:ring-2 focus:ring-pink-500 focus:border-pink-500"
id="midiDeviceSelector"></select>
<button id="startButton"
class="bg-green-500 text-white px-4 py-2 rounded-md shadow-md hover:bg-green-600 focus:outline-none focus:ring-2 focus:ring-green-500 focus:ring-offset-2">
Start
</button>
<button id="resetButton"
class="bg-yellow-500 text-white px-4 py-2 rounded-md shadow-md hover:bg-yellow-600 focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:ring-offset-2">
Reset
</button>
</div>
</div>
<script src="js/app.js" type="module"></script>
</body>
</html>