jfinn 3 лет назад
Родитель
Сommit
6bdf248fc8
1 измененных файлов: 185 добавлений и 0 удалений
  1. 185
    0
      public/index_orig.html

+ 185
- 0
public/index_orig.html Просмотреть файл

@@ -0,0 +1,185 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+  <head>
4
+    <meta charset="utf-8" />
5
+    <title>Excalidraw | Hand-drawn look & feel • Collaborative • Secure</title>
6
+    <meta
7
+      name="viewport"
8
+      content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover, shrink-to-fit=no"
9
+    />
10
+    <meta name="referrer" content="origin" />
11
+
12
+    <meta name="mobile-web-app-capable" content="yes" />
13
+
14
+    <meta name="theme-color" content="#000" />
15
+
16
+    <!-- General tags -->
17
+    <meta
18
+      name="description"
19
+      content="Excalidraw is a virtual collaborative whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
20
+    />
21
+    <meta name="image" content="og-image.png" />
22
+
23
+    <!-- OpenGraph tags -->
24
+    <meta property="og:url" content="https://excalidraw.com" />
25
+    <meta property="og:site_name" content="Excalidraw" />
26
+    <meta property="og:type" content="website" />
27
+    <meta property="og:title" content="Excalidraw" />
28
+    <meta
29
+      property="og:description"
30
+      content="Excalidraw is a whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
31
+    />
32
+    <!-- OG tags require an absolute url for images -->
33
+    <meta
34
+      property="og:image"
35
+      name="twitter:image"
36
+      content="https://excalidraw.com/og-image.png"
37
+    />
38
+    <meta
39
+      property="og:image:secure_url"
40
+      name="twitter:image"
41
+      content="https://excalidraw.com/og-image.png"
42
+    />
43
+    <meta property="og:image:width" content="1280" />
44
+    <meta property="og:image:height" content="669" />
45
+    <meta property="og:image:alt" content="Excalidraw logo with byline." />
46
+
47
+    <!-- Twitter Card tags -->
48
+    <meta name="twitter:card" content="summary_large_image" />
49
+    <meta name="twitter:title" content="Excalidraw" />
50
+    <meta
51
+      name="twitter:description"
52
+      content="Excalidraw is a whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
53
+    />
54
+
55
+    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
56
+
57
+    <!-- Excalidraw version -->
58
+    <meta name="version" content="{version}" />
59
+
60
+    <link
61
+      rel="preload"
62
+      href="Virgil.woff2"
63
+      as="font"
64
+      type="font/woff2"
65
+      crossorigin="anonymous"
66
+    />
67
+    <link
68
+      rel="preload"
69
+      href="Cascadia.woff2"
70
+      as="font"
71
+      type="font/woff2"
72
+      crossorigin="anonymous"
73
+    />
74
+
75
+    <link
76
+      href="%REACT_APP_SOCKET_SERVER_URL%/socket.io"
77
+      rel="preconnect"
78
+      crossorigin="anonymous"
79
+    />
80
+
81
+    <link
82
+      rel="manifest"
83
+      href="manifest.json"
84
+      style="--pwacompat-splash-font: 24px Virgil"
85
+    />
86
+
87
+    <link rel="stylesheet" href="fonts.css" type="text/css" />
88
+    <script>
89
+      window.EXCALIDRAW_ASSET_PATH = "/";
90
+      // setting this so that libraries installation reuses this window tab.
91
+      window.name = "_excalidraw";
92
+    </script>
93
+    <% if (process.env.REACT_APP_GOOGLE_ANALYTICS_ID) { %>
94
+    <script
95
+      async
96
+      src="https://www.googletagmanager.com/gtag/js?id=%REACT_APP_GOOGLE_ANALYTICS_ID%"
97
+    ></script>
98
+    <script>
99
+      window.dataLayer = window.dataLayer || [];
100
+      function gtag() {
101
+        dataLayer.push(arguments);
102
+      }
103
+      gtag("js", new Date());
104
+      gtag("config", "%REACT_APP_GOOGLE_ANALYTICS_ID%");
105
+    </script>
106
+    <% } %>
107
+
108
+    <!-- FIXME: remove this when we update CRA (fix SW caching) -->
109
+    <style>
110
+      body,
111
+      html {
112
+        margin: 0;
113
+        --ui-font: system-ui, BlinkMacSystemFont, -apple-system, Segoe UI,
114
+          Roboto, Helvetica, Arial, sans-serif;
115
+        font-family: var(--ui-font);
116
+        -webkit-text-size-adjust: 100%;
117
+
118
+        width: 100%;
119
+        height: 100%;
120
+        overflow: hidden;
121
+      }
122
+
123
+      .visually-hidden {
124
+        position: absolute !important;
125
+        height: 1px;
126
+        width: 1px;
127
+        overflow: hidden;
128
+        clip: rect(1px, 1px, 1px, 1px);
129
+        white-space: nowrap; /* added line */
130
+        user-select: none;
131
+      }
132
+
133
+      .LoadingMessage {
134
+        position: absolute;
135
+        top: 0;
136
+        right: 0;
137
+        bottom: 0;
138
+        left: 0;
139
+        z-index: 999;
140
+        display: flex;
141
+        align-items: center;
142
+        justify-content: center;
143
+        pointer-events: none;
144
+      }
145
+
146
+      .LoadingMessage span {
147
+        background-color: var(--button-gray-1);
148
+        border-radius: 5px;
149
+        padding: 0.8em 1.2em;
150
+        color: var(--popup-text-color);
151
+        font-size: 1.3em;
152
+      }
153
+      #root {
154
+        height: 100%;
155
+        -webkit-touch-callout: none;
156
+        -webkit-user-select: none;
157
+        -khtml-user-select: none;
158
+        -moz-user-select: none;
159
+        -ms-user-select: none;
160
+        user-select: none;
161
+
162
+        @media screen and (min-width: 1200px) {
163
+          -webkit-touch-callout: default;
164
+          -webkit-user-select: auto;
165
+          -khtml-user-select: auto;
166
+          -moz-user-select: auto;
167
+          -ms-user-select: auto;
168
+          user-select: auto;
169
+        }
170
+      }
171
+    </style>
172
+  </head>
173
+
174
+  <body>
175
+    <noscript> You need to enable JavaScript to run this app. </noscript>
176
+    <header>
177
+      <h1 class="visually-hidden">Excalidraw</h1>
178
+    </header>
179
+    <div id="root">
180
+      <div class="LoadingMessage">
181
+        <span>Loading scene...</span>
182
+      </div>
183
+    </div>
184
+  </body>
185
+</html>

Загрузка…
Отмена
Сохранить