diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-06-10 18:56:04 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-06-10 18:56:04 +0200 |
| commit | c7cbb437d5998a210371042b1bef5b9a6c7d0b84 (patch) | |
| tree | b482c333cce1286178a20d2cf99c80a701d92dcc /client/web/templates/index.ejs | |
| parent | cb827a2cfe565257d895163a389de1357148ca7a (diff) | |
build
Diffstat (limited to 'client/web/templates/index.ejs')
| -rw-r--r-- | client/web/templates/index.ejs | 55 |
1 files changed, 17 insertions, 38 deletions
diff --git a/client/web/templates/index.ejs b/client/web/templates/index.ejs index 6c8d582..4875f35 100644 --- a/client/web/templates/index.ejs +++ b/client/web/templates/index.ejs @@ -1,39 +1,17 @@ <!DOCTYPE html> <html<% if (__OFFLINE__) { %> manifest="appcache/manifest.appcache"<% } %>> - <head> - <meta charset="utf-8"> - <title>Hansel and Gretel</title> - <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> --> - <meta name="viewport" content="width=device-width, initial-scale=0.9, user-scalable=no"> +<head> + <meta charset="utf-8"> + <title>Hansel and Gretel</title> + <meta name="viewport" content="width=device-width, initial-scale=0.9, user-scalable=no"> <style> -a { - width: 100%; - color: transparent; -} -body,html { - overflow: hidden; - font-family: sans-serif; - color: white; - background: black; -} -.modal { - transition: all 400ms; - pointer-events: none; -} -.modal.visible { - pointer-events: auto; -} -svg { - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; -} -body { - transition: opacity 200ms; -} -.loading { - opacity: 0; -} +a { width: 100%; color: transparent; } +body,html { overflow: hidden; font-family: sans-serif; color: white; background: black; } +.modal { transition: all 400ms; pointer-events: none; } +.modal.visible { pointer-events: auto; } +svg { -webkit-user-select: none; -moz-user-select: none; user-select: none; } +body { transition: opacity 200ms; } +.loading { opacity: 0; } </style> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ @@ -43,10 +21,11 @@ body { ga('create', 'UA-35821710-2', 'auto'); ga('send', 'pageview'); </script> - </head> - <body class='loading'> - <div id="react-root"></div> - </body> - <script src="https://www.youtube.com/iframe_api"></script> +</head> +<body class='loading'> + <div id="react-root"></div> +</body> +<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script> +<script src="https://www.youtube.com/iframe_api"></script> </html> |
