2020-01-01 17:04:47 -08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2020-01-03 15:47:15 -08:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
2020-04-07 17:02:29 +03:00
|
|
|
<title>Excalidraw | Hand-drawn look & feel • Collaborative • Secure</title>
|
2020-01-03 15:47:15 -08:00
|
|
|
<meta
|
|
|
|
name="viewport"
|
2020-02-20 18:44:38 -05:00
|
|
|
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover, shrink-to-fit=no"
|
2020-01-03 15:47:15 -08:00
|
|
|
/>
|
2020-04-04 02:36:12 +03:00
|
|
|
<meta name="referrer" content="origin" />
|
2020-04-16 14:23:39 +02:00
|
|
|
|
2020-04-13 16:08:39 +02:00
|
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
2020-02-21 08:17:20 -05:00
|
|
|
|
2020-04-16 14:23:39 +02:00
|
|
|
<meta name="theme-color" content="#000" />
|
2020-04-04 02:36:12 +03:00
|
|
|
|
2020-01-16 14:40:26 -07:00
|
|
|
<!-- General tags -->
|
2020-01-16 13:32:40 -07:00
|
|
|
<meta
|
|
|
|
name="description"
|
2020-04-06 18:58:20 +03:00
|
|
|
content="Excalidraw is a virtual collaborative whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
|
2020-01-16 13:32:40 -07:00
|
|
|
/>
|
2020-02-29 14:24:14 +01:00
|
|
|
<meta name="image" content="og-image.png" />
|
2020-01-16 13:32:40 -07:00
|
|
|
|
|
|
|
<!-- OpenGraph tags -->
|
2020-01-18 02:24:35 +02:00
|
|
|
<meta property="og:url" content="https://excalidraw.com" />
|
2020-01-16 13:32:40 -07:00
|
|
|
<meta property="og:site_name" content="Excalidraw" />
|
|
|
|
<meta property="og:type" content="website" />
|
|
|
|
<meta property="og:title" content="Excalidraw" />
|
|
|
|
<meta
|
|
|
|
property="og:description"
|
|
|
|
content="Excalidraw is a whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
|
|
|
|
/>
|
2020-03-08 19:48:23 -07:00
|
|
|
<!-- OG tags require an absolute url for images -->
|
|
|
|
<meta
|
|
|
|
property="og:image"
|
|
|
|
name="twitter:image"
|
2020-03-09 12:42:48 +02:00
|
|
|
content="https://excalidraw.com/og-image.png"
|
2020-03-08 19:48:23 -07:00
|
|
|
/>
|
|
|
|
<meta
|
|
|
|
property="og:image:secure_url"
|
|
|
|
name="twitter:image"
|
2020-03-09 12:42:48 +02:00
|
|
|
content="https://excalidraw.com/og-image.png"
|
2020-03-08 19:48:23 -07:00
|
|
|
/>
|
2020-01-16 13:32:40 -07:00
|
|
|
<meta property="og:image:width" content="1280" />
|
|
|
|
<meta property="og:image:height" content="669" />
|
2020-03-08 19:48:23 -07:00
|
|
|
<meta property="og:image:alt" content="Excalidraw logo with byline." />
|
2020-01-05 00:58:57 +05:30
|
|
|
|
2020-01-16 14:40:26 -07:00
|
|
|
<!-- Twitter Card tags -->
|
|
|
|
<meta name="twitter:card" content="summary_large_image" />
|
|
|
|
<meta name="twitter:title" content="Excalidraw" />
|
|
|
|
<meta
|
|
|
|
name="twitter:description"
|
|
|
|
content="Excalidraw is a whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
|
|
|
|
/>
|
2021-03-29 00:48:21 -07:00
|
|
|
|
2022-05-18 12:04:26 +02:00
|
|
|
<script>
|
|
|
|
// Redirect Excalidraw+ users which have auto-redirect enabled.
|
|
|
|
//
|
|
|
|
// Redirect only the bare root path, so link/room/library urls are not
|
|
|
|
// redirected.
|
|
|
|
//
|
|
|
|
// Putting into index.html for best performance (can't redirect on server
|
|
|
|
// due to location.hash checks).
|
|
|
|
if (
|
|
|
|
window.location.pathname === "/" &&
|
|
|
|
!window.location.hash &&
|
|
|
|
!window.location.search &&
|
|
|
|
// if its present redirect
|
|
|
|
document.cookie.includes("excplus-autoredirect=true")
|
|
|
|
) {
|
|
|
|
window.location.href = "https://app.excalidraw.com";
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
2020-02-29 14:24:14 +01:00
|
|
|
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
|
2020-06-08 16:06:35 +05:30
|
|
|
|
2020-12-18 14:02:29 +02:00
|
|
|
<!-- Excalidraw version -->
|
|
|
|
<meta name="version" content="{version}" />
|
2021-02-04 11:55:43 +01:00
|
|
|
|
2020-04-13 21:53:07 +02:00
|
|
|
<link
|
|
|
|
rel="preload"
|
2021-02-28 14:22:32 +02:00
|
|
|
href="Virgil.woff2"
|
2020-04-13 21:53:07 +02:00
|
|
|
as="font"
|
|
|
|
type="font/woff2"
|
|
|
|
crossorigin="anonymous"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="preload"
|
|
|
|
href="Cascadia.woff2"
|
|
|
|
as="font"
|
|
|
|
type="font/woff2"
|
|
|
|
crossorigin="anonymous"
|
|
|
|
/>
|
|
|
|
|
2020-02-28 16:08:15 +01:00
|
|
|
<link
|
2020-04-16 14:23:39 +02:00
|
|
|
rel="manifest"
|
|
|
|
href="manifest.json"
|
2020-08-31 19:34:46 +03:00
|
|
|
style="--pwacompat-splash-font: 24px Virgil"
|
2020-02-28 16:08:15 +01:00
|
|
|
/>
|
2020-10-22 02:20:57 +05:30
|
|
|
|
|
|
|
<link rel="stylesheet" href="fonts.css" type="text/css" />
|
2022-07-02 17:59:03 +02:00
|
|
|
<% if (process.env.REACT_APP_DEV_DISABLE_LIVE_RELOAD === "true") { %>
|
|
|
|
<script>
|
|
|
|
{
|
|
|
|
const _WebSocket = window.WebSocket;
|
|
|
|
window.WebSocket = function (url) {
|
|
|
|
if (/ws:\/\/localhost:.+?\/sockjs-node/.test(url)) {
|
|
|
|
console.info(
|
|
|
|
"[!!!] Live reload is disabled via process.env.REACT_APP_DEV_DISABLE_LIVE_RELOAD [!!!]",
|
|
|
|
);
|
|
|
|
} else {
|
|
|
|
return new _WebSocket(url);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<% } %>
|
2021-02-21 21:08:30 +05:30
|
|
|
<script>
|
|
|
|
window.EXCALIDRAW_ASSET_PATH = "/";
|
2021-03-21 18:13:52 +05:30
|
|
|
// setting this so that libraries installation reuses this window tab.
|
|
|
|
window.name = "_excalidraw";
|
2021-02-21 21:08:30 +05:30
|
|
|
</script>
|
2021-01-05 20:06:14 +02:00
|
|
|
<% if (process.env.REACT_APP_GOOGLE_ANALYTICS_ID) { %>
|
2020-01-03 15:47:15 -08:00
|
|
|
<script
|
|
|
|
async
|
2021-01-05 20:06:14 +02:00
|
|
|
src="https://www.googletagmanager.com/gtag/js?id=%REACT_APP_GOOGLE_ANALYTICS_ID%"
|
2020-01-03 15:47:15 -08:00
|
|
|
></script>
|
|
|
|
<script>
|
2020-01-17 00:06:19 +02:00
|
|
|
window.dataLayer = window.dataLayer || [];
|
2020-01-03 15:47:15 -08:00
|
|
|
function gtag() {
|
2020-01-17 00:06:19 +02:00
|
|
|
dataLayer.push(arguments);
|
2020-01-03 15:47:15 -08:00
|
|
|
}
|
2020-01-17 00:06:19 +02:00
|
|
|
gtag("js", new Date());
|
2021-01-05 20:06:14 +02:00
|
|
|
gtag("config", "%REACT_APP_GOOGLE_ANALYTICS_ID%");
|
2020-01-03 15:47:15 -08:00
|
|
|
</script>
|
2020-06-18 10:46:24 +01:00
|
|
|
<% } %>
|
2020-08-26 23:26:06 +02:00
|
|
|
|
|
|
|
<!-- FIXME: remove this when we update CRA (fix SW caching) -->
|
|
|
|
<style>
|
2021-04-27 11:46:30 +01:00
|
|
|
body,
|
|
|
|
html {
|
2020-09-26 02:48:45 +05:30
|
|
|
margin: 0;
|
|
|
|
--ui-font: system-ui, BlinkMacSystemFont, -apple-system, Segoe UI,
|
|
|
|
Roboto, Helvetica, Arial, sans-serif;
|
|
|
|
font-family: var(--ui-font);
|
|
|
|
-webkit-text-size-adjust: 100%;
|
2021-03-16 18:04:53 +01:00
|
|
|
|
2021-04-27 11:46:30 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-05-29 11:54:36 -04:00
|
|
|
overflow: hidden;
|
2020-09-26 02:48:45 +05:30
|
|
|
}
|
2020-08-26 23:26:06 +02:00
|
|
|
|
|
|
|
.visually-hidden {
|
|
|
|
position: absolute !important;
|
|
|
|
height: 1px;
|
|
|
|
width: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
|
|
white-space: nowrap; /* added line */
|
2021-04-26 00:03:53 +02:00
|
|
|
user-select: none;
|
2020-08-26 23:26:06 +02:00
|
|
|
}
|
|
|
|
|
2021-04-04 15:05:16 +05:30
|
|
|
#root {
|
|
|
|
height: 100%;
|
2021-04-27 11:46:30 +01:00
|
|
|
-webkit-touch-callout: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-moz-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
user-select: none;
|
2022-04-15 21:51:41 +05:30
|
|
|
}
|
2021-04-27 11:46:30 +01:00
|
|
|
|
2022-04-15 21:51:41 +05:30
|
|
|
@media screen and (min-width: 1200px) {
|
|
|
|
#root {
|
2021-04-27 11:46:30 +01:00
|
|
|
-webkit-touch-callout: default;
|
|
|
|
-webkit-user-select: auto;
|
|
|
|
-khtml-user-select: auto;
|
|
|
|
-moz-user-select: auto;
|
|
|
|
-ms-user-select: auto;
|
|
|
|
user-select: auto;
|
|
|
|
}
|
2021-04-04 15:05:16 +05:30
|
|
|
}
|
2020-08-26 23:26:06 +02:00
|
|
|
</style>
|
2020-01-03 15:47:15 -08:00
|
|
|
</head>
|
2020-01-01 17:04:47 -08:00
|
|
|
|
2020-01-03 15:47:15 -08:00
|
|
|
<body>
|
2020-08-31 19:34:46 +03:00
|
|
|
<noscript> You need to enable JavaScript to run this app. </noscript>
|
2020-01-26 17:14:31 -03:00
|
|
|
<header>
|
|
|
|
<h1 class="visually-hidden">Excalidraw</h1>
|
|
|
|
</header>
|
2022-04-19 19:08:13 +02:00
|
|
|
<div id="root"></div>
|
2020-01-03 15:47:15 -08:00
|
|
|
</body>
|
|
|
|
</html>
|