1<!DOCTYPE html>
2<html lang="%LANG_ISO_CODE%">
3  <head>
4    <meta charset="utf-8" />
5    <meta httpEquiv="X-UA-Compatible" content="IE=edge" />
6    <!--
7      This viewport works for phones with notches.
8      It's optimized for gestures by disabling global zoom.
9     -->
10    <meta
11      name="viewport"
12      content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1.00001, viewport-fit=cover"
13    />
14    <title>%WEB_TITLE%</title>
15    <style>
16      /**
17       * Extend the react-native-web reset:
18       * https://github.com/necolas/react-native-web/blob/master/packages/react-native-web/src/exports/StyleSheet/initialRules.js
19       */
20      html,
21      body,
22      #root {
23        width: 100%;
24        /* To smooth any scrolling behavior */
25        -webkit-overflow-scrolling: touch;
26        margin: 0px;
27        padding: 0px;
28        /* Allows content to fill the viewport and go beyond the bottom */
29        min-height: 100%;
30      }
31      #root {
32        flex-shrink: 0;
33        flex-basis: auto;
34        flex-grow: 1;
35        display: flex;
36        flex: 1;
37      }
38
39      html {
40        scroll-behavior: smooth;
41        /* Prevent text size change on orientation change https://gist.github.com/tfausak/2222823#file-ios-8-web-app-html-L138 */
42        -webkit-text-size-adjust: 100%;
43        height: calc(100% + env(safe-area-inset-top));
44      }
45
46      body {
47        display: flex;
48        /* Allows you to scroll below the viewport; default value is visible */
49        overflow-y: auto;
50        overscroll-behavior-y: none;
51        text-rendering: optimizeLegibility;
52        -webkit-font-smoothing: antialiased;
53        -moz-osx-font-smoothing: grayscale;
54        -ms-overflow-style: scrollbar;
55      }
56      /* Enable for apps that support dark-theme */
57      /*@media (prefers-color-scheme: dark) {
58        body {
59          background-color: black;
60        }
61      }*/
62    </style>
63  </head>
64
65  <body>
66    <!--
67      A generic no script element with a reload button and a message.
68      Feel free to customize this however you'd like.
69    -->
70    <noscript>
71      <form
72        action=""
73        style="
74          background-color: #fff;
75          position: fixed;
76          top: 0;
77          left: 0;
78          right: 0;
79          bottom: 0;
80          z-index: 9999;
81        "
82      >
83        <div
84          style="
85            font-size: 18px;
86            font-family: Helvetica, sans-serif;
87            line-height: 24px;
88            margin: 10%;
89            width: 80%;
90          "
91        >
92          <p>Oh no! It looks like JavaScript is not enabled in your browser.</p>
93          <p style="margin: 20px 0;">
94            <button
95              type="submit"
96              style="
97                background-color: #4630eb;
98                border-radius: 100px;
99                border: none;
100                box-shadow: none;
101                color: #fff;
102                cursor: pointer;
103                font-weight: bold;
104                line-height: 20px;
105                padding: 6px 16px;
106              "
107            >
108              Reload
109            </button>
110          </p>
111        </div>
112      </form>
113    </noscript>
114    <!-- The root element for your Expo app. -->
115    <div id="root"></div>
116  </body>
117</html>
118