index.html
| 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | |
| 4 | <head> |
| 5 | <meta charset="utf-8"> |
| 6 | <meta name="viewport" content="width=350, 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 | } |
| 19 | |
| 20 | body { |
| 21 | position: absolute; |
| 22 | top: 0; |
| 23 | left: 0; |
| 24 | display: flex; |
| 25 | align-items: center; |
| 26 | justify-content: center; |
| 27 | width: 100vw; |
| 28 | height: 100vh; |
| 29 | background: #3f4d4e; |
| 30 | } |
| 31 | </style> |
| 32 | </noscript> |
| 33 | <style> |
| 34 | #inital-loading-screen { |
| 35 | position: absolute; |
| 36 | top: 0; |
| 37 | left: 0; |
| 38 | display: flex; |
| 39 | align-items: center; |
| 40 | justify-content: center; |
| 41 | width: 100vw; |
| 42 | height: 100vh; |
| 43 | background: #3f4d4e; |
| 44 | |
| 45 | span { |
| 46 | padding: 1rem; |
| 47 | background-color: rgba(0, 0, 0, 0.8); |
| 48 | } |
| 49 | } |
| 50 | </style> |
| 51 | </head> |
| 52 | |
| 53 | <body> |
| 54 | <noscript>Pico Pixel Player requires javascript to be enabled.</noscript> |
| 55 | <div id="root"> |
| 56 | <div id="inital-loading-screen"> |
| 57 | <span> |
| 58 | Loading required assets and local caches from database... |
| 59 | </span> |
| 60 | </div> |
| 61 | </div> |
| 62 | <script src="./src/index.tsx" type="module"></script> |
| 63 | </body> |
| 64 | |
| 65 | </html> |