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 | <meta name="theme-color" content="#3f4d4e"> |
| 8 | <link rel="icon" type="image/svg+xml" href="/assets/favicon-any.svg"> |
| 9 | <title>Pico Pixel Player</title> |
| 10 | <noscript> |
| 11 | <style> |
| 12 | #root { |
| 13 | display: none; |
| 14 | } |
| 15 | |
| 16 | span { |
| 17 | padding: 1rem; |
| 18 | background-color: rgba(0, 0, 0, 0.8); |
| 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 | span { |
| 47 | padding: 1rem; |
| 48 | background-color: rgba(0, 0, 0, 0.8); |
| 49 | } |
| 50 | } |
| 51 | </style> |
| 52 | </head> |
| 53 | |
| 54 | <body> |
| 55 | <noscript>Pico Pixel Player requires javascript to be enabled.</noscript> |
| 56 | <div id="root"> |
| 57 | <div id="inital-loading-screen"> |
| 58 | <span> |
| 59 | Loading required assets and local caches from database...<br> |
| 60 | Checking codec support; this can take a few seconds. |
| 61 | </span> |
| 62 | </div> |
| 63 | </div> |
| 64 | <script src="./src/index.tsx" type="module"></script> |
| 65 | </body> |
| 66 | |
| 67 | </html> |
| 68 |