index.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. <meta name="mobile-web-app-capable" content="yes" />
  12. <meta name="theme-color" content="#000" />
  13. <!-- Origin Trial token for the Native File System API v2 https://developers.chrome.com/origintrials/#/view_trial/4019462667428167681 (Sept. 17) -->
  14. <meta
  15. http-equiv="origin-trial"
  16. content="AvrWnomgCvP/38JBjki43o3fhzZWLBnKD20EQuUw9R09iyDLv3DH3MYfDLVOxNwQYPixxFUYCrXKa8No27rZPg8AAABZeyJvcmlnaW4iOiJodHRwczovL2V4Y2FsaWRyYXcuY29tOjQ0MyIsImZlYXR1cmUiOiJOYXRpdmVGaWxlU3lzdGVtMiIsImV4cGlyeSI6MTYwMDMyNjMyOX0="
  17. />
  18. <!-- General tags -->
  19. <meta
  20. name="description"
  21. content="Excalidraw is a virtual collaborative whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
  22. />
  23. <meta name="image" content="og-image.png" />
  24. <!-- OpenGraph tags -->
  25. <meta property="og:url" content="https://excalidraw.com" />
  26. <meta property="og:site_name" content="Excalidraw" />
  27. <meta property="og:type" content="website" />
  28. <meta property="og:title" content="Excalidraw" />
  29. <meta
  30. property="og:description"
  31. content="Excalidraw is a whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
  32. />
  33. <!-- OG tags require an absolute url for images -->
  34. <meta
  35. property="og:image"
  36. name="twitter:image"
  37. content="https://excalidraw.com/og-image.png"
  38. />
  39. <meta
  40. property="og:image:secure_url"
  41. name="twitter:image"
  42. content="https://excalidraw.com/og-image.png"
  43. />
  44. <meta property="og:image:width" content="1280" />
  45. <meta property="og:image:height" content="669" />
  46. <meta property="og:image:alt" content="Excalidraw logo with byline." />
  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. <!-- OG tags require absolute url for images -->
  55. <meta name="twitter:image" content="https://excalidraw.com/og-image.png" />
  56. <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
  57. <link
  58. rel="preload"
  59. href="FG_Virgil.woff2"
  60. as="font"
  61. type="font/woff2"
  62. crossorigin="anonymous"
  63. />
  64. <link
  65. rel="preload"
  66. href="Cascadia.woff2"
  67. as="font"
  68. type="font/woff2"
  69. crossorigin="anonymous"
  70. />
  71. <link
  72. href="%REACT_APP_SOCKET_SERVER_URL%/socket.io"
  73. rel="preconnect"
  74. crossorigin="anonymous"
  75. />
  76. <link
  77. rel="manifest"
  78. href="manifest.json"
  79. style="--pwacompat-splash-font: 24px Virgil;"
  80. />
  81. <% if (process.env.REACT_APP_INCLUDE_GTAG === 'true') { %>
  82. <script
  83. async
  84. src="https://www.googletagmanager.com/gtag/js?id=UA-387204-13"
  85. ></script>
  86. <script>
  87. window.dataLayer = window.dataLayer || [];
  88. function gtag() {
  89. dataLayer.push(arguments);
  90. }
  91. gtag("js", new Date());
  92. gtag("config", "UA-387204-13");
  93. </script>
  94. <% } %>
  95. <!-- FIXME: remove this when we update CRA (fix SW caching) -->
  96. <style>
  97. /* http://www.eaglefonts.com/fg-virgil-ttf-131249.htm */
  98. @font-face {
  99. font-family: "Virgil";
  100. src: url("/FG_Virgil.woff2");
  101. font-display: swap;
  102. }
  103. /* https://github.com/microsoft/cascadia-code */
  104. @font-face {
  105. font-family: "Cascadia";
  106. src: url("/Cascadia.woff2");
  107. font-display: swap;
  108. }
  109. .visually-hidden {
  110. position: absolute !important;
  111. height: 1px;
  112. width: 1px;
  113. overflow: hidden;
  114. clip: rect(1px, 1px, 1px, 1px);
  115. white-space: nowrap; /* added line */
  116. }
  117. .LoadingMessage {
  118. position: absolute;
  119. top: 0;
  120. right: 0;
  121. bottom: 0;
  122. left: 0;
  123. z-index: 999;
  124. display: flex;
  125. align-items: center;
  126. justify-content: center;
  127. pointer-events: none;
  128. }
  129. .LoadingMessage span {
  130. background-color: var(--button-gray-1);
  131. border-radius: 5px;
  132. padding: 0.8em 1.2em;
  133. color: var(--popup-text-color);
  134. font-size: 1.3em;
  135. }
  136. </style>
  137. </head>
  138. <body>
  139. <noscript>
  140. You need to enable JavaScript to run this app.
  141. </noscript>
  142. <header>
  143. <h1 class="visually-hidden">Excalidraw</h1>
  144. </header>
  145. <div id="root">
  146. <div class="LoadingMessage">
  147. <span>Loading scene...</span>
  148. </div>
  149. </div>
  150. </body>
  151. </html>