mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-10 11:35:52 +01:00
160 lines
4.5 KiB
HTML
160 lines
4.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Excalidraw | Hand-drawn look & feel • Collaborative • Secure</title>
|
|
<meta
|
|
name="viewport"
|
|
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover, shrink-to-fit=no"
|
|
/>
|
|
<meta name="referrer" content="origin" />
|
|
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
|
|
<meta name="theme-color" content="#000" />
|
|
|
|
<!-- General tags -->
|
|
<meta
|
|
name="description"
|
|
content="Excalidraw is a virtual collaborative whiteboard tool that lets you easily sketch diagrams that have a hand-drawn feel to them."
|
|
/>
|
|
<meta name="image" content="og-image.png" />
|
|
|
|
<!-- OpenGraph tags -->
|
|
<meta property="og:url" content="https://excalidraw.com" />
|
|
<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."
|
|
/>
|
|
<!-- OG tags require an absolute url for images -->
|
|
<meta
|
|
property="og:image"
|
|
name="twitter:image"
|
|
content="https://excalidraw.com/og-image.png"
|
|
/>
|
|
<meta
|
|
property="og:image:secure_url"
|
|
name="twitter:image"
|
|
content="https://excalidraw.com/og-image.png"
|
|
/>
|
|
<meta property="og:image:width" content="1280" />
|
|
<meta property="og:image:height" content="669" />
|
|
<meta property="og:image:alt" content="Excalidraw logo with byline." />
|
|
|
|
<!-- 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."
|
|
/>
|
|
<!-- OG tags require absolute url for images -->
|
|
<meta name="twitter:image" content="https://excalidraw.com/og-image.png" />
|
|
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
|
|
|
|
<link
|
|
rel="preload"
|
|
href="FG_Virgil.woff2"
|
|
as="font"
|
|
type="font/woff2"
|
|
crossorigin="anonymous"
|
|
/>
|
|
<link
|
|
rel="preload"
|
|
href="Cascadia.woff2"
|
|
as="font"
|
|
type="font/woff2"
|
|
crossorigin="anonymous"
|
|
/>
|
|
|
|
<link
|
|
href="%REACT_APP_SOCKET_SERVER_URL%/socket.io"
|
|
rel="preconnect"
|
|
crossorigin="anonymous"
|
|
/>
|
|
|
|
<link
|
|
rel="manifest"
|
|
href="manifest.json"
|
|
style="--pwacompat-splash-font: 24px Virgil"
|
|
/>
|
|
|
|
<% if (process.env.REACT_APP_INCLUDE_GTAG === 'true') { %>
|
|
<script
|
|
async
|
|
src="https://www.googletagmanager.com/gtag/js?id=UA-387204-13"
|
|
></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag() {
|
|
dataLayer.push(arguments);
|
|
}
|
|
gtag("js", new Date());
|
|
gtag("config", "UA-387204-13");
|
|
</script>
|
|
<% } %>
|
|
|
|
<!-- FIXME: remove this when we update CRA (fix SW caching) -->
|
|
<style>
|
|
/* http://www.eaglefonts.com/fg-virgil-ttf-131249.htm */
|
|
@font-face {
|
|
font-family: "Virgil";
|
|
src: url("/FG_Virgil.woff2");
|
|
font-display: swap;
|
|
}
|
|
|
|
/* https://github.com/microsoft/cascadia-code */
|
|
@font-face {
|
|
font-family: "Cascadia";
|
|
src: url("/Cascadia.woff2");
|
|
font-display: swap;
|
|
}
|
|
|
|
.visually-hidden {
|
|
position: absolute !important;
|
|
height: 1px;
|
|
width: 1px;
|
|
overflow: hidden;
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
white-space: nowrap; /* added line */
|
|
}
|
|
|
|
.LoadingMessage {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 999;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.LoadingMessage span {
|
|
background-color: var(--button-gray-1);
|
|
border-radius: 5px;
|
|
padding: 0.8em 1.2em;
|
|
color: var(--popup-text-color);
|
|
font-size: 1.3em;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<noscript> You need to enable JavaScript to run this app. </noscript>
|
|
<header>
|
|
<h1 class="visually-hidden">Excalidraw</h1>
|
|
</header>
|
|
<div id="root">
|
|
<div class="LoadingMessage">
|
|
<span>Loading scene...</span>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|