index.html
⎇
Raw
1<!DOCTYPE html>
2<html lang="en">
3
4<head>
5 <meta charset="utf-8">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <link rel="icon" type="image/svg+xml" href="/assets/favicon-any.svg">
8 <title>Pico Pixel Player</title>
9 <noscript>
10 <style>
11 #root {
12 display: none;
13 }
14
15 span {
16 padding: 1rem;
17 background-color: rgba(0, 0, 0, 0.8);
18 border-radius: 4px;
19 }
20
21 body {
22 position: absolute;
23 top: 0;
24 left: 0;
25 display: flex;
26 align-items: center;
27 justify-content: center;
28 width: 100vw;
29 height: 100vh;
30 background: #3f4d4e;
31 }
32 </style>
33 </noscript>
34 <style>
35 #inital-loading-screen {
36 position: absolute;
37 top: 0;
38 left: 0;
39 display: flex;
40 align-items: center;
41 justify-content: center;
42 width: 100vw;
43 height: 100vh;
44 background: #3f4d4e;
45
46 div {
47 padding: 1rem;
48 background-color: rgba(0, 0, 0, 0.8);
49 border-radius: 4px;
50 }
51 }
52 </style>
53</head>
54
55<body>
56 <noscript>Pico Pixel Player requires javascript to be enabled.</noscript>
57 <div id="root">
58 <div id="inital-loading-screen">
59 <div>
60 Loading required assets to start...
61 </div>
62 </div>
63 </div>
64 <script src="./src/index.tsx" type="module"></script>
65</body>
66
67</html>