mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-10 11:35:52 +01:00
4228c2e094
* Service worker with toast notifications * Update CSP to allow fetches from now.sh * Fixed clearing timers * rounded icon for pwa (#1301) * rounded icon for pwa * cirle pwa app icon * fix fonts caching * fix app * fix css import * Updated csp tp inlcude worker-src: self * add worker CSP rule * use square icon Co-authored-by: Timur Khazamov <t1mmaas@skbkontur.ru> Co-authored-by: Faustino Kialungila <Faustino.kialungila@gmail.com> Co-authored-by: kbariotis <konmpar@gmail.com>
186 lines
6.8 KiB
HTML
186 lines
6.8 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="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-touch-fullscreen" content="yes" />
|
|
|
|
<meta name="theme-color" content="#000000" />
|
|
|
|
<meta
|
|
http-equiv="origin-trial"
|
|
content="AsyySICOnLFPHhAi+SdB6g3Cr28MuSeq3a+2k3UOUKu+ikmEjAqYHAK3HSLx4keUd1BLYUPWPYAe6F9hyuO3JwUAAABceyJvcmlnaW4iOiJodHRwczovL3d3dy5leGNhbGlkcmF3LmNvbTo0NDMiLCJmZWF0dXJlIjoiTmF0aXZlRmlsZVN5c3RlbSIsImV4cGlyeSI6MTU4OTE4MzIxMH0="
|
|
/>
|
|
|
|
<!-- 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." />
|
|
|
|
<!-- Chrome -->
|
|
<meta name="theme-color" content="#FFFF" />
|
|
<!-- Safari -->
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
|
|
<!-- 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" />
|
|
<meta
|
|
http-equiv="Content-Security-Policy"
|
|
content="block-all-mixed-content; child-src 'self' https://codesandbox.io https://*.csb.app; worker-src 'self'; connect-src 'self' https: wss: http: ws:; default-src 'self'; font-src 'self' data: https: filesystem:; img-src 'self' data: https:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://www.googletagmanager.com https://www.google-analytics.com https://codesandbox.io https://*.csb.app https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https:;"
|
|
/>
|
|
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
|
|
<link
|
|
href="https://excalidraw-socket.herokuapp.com/socket.io"
|
|
rel="preconnect"
|
|
crossorigin="anonymous"
|
|
/>
|
|
|
|
<link rel="manifest" href="manifest.json" />
|
|
<link
|
|
href="splashscreen_images/iphone5_splash.png"
|
|
media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)"
|
|
rel="apple-touch-startup-image"
|
|
/>
|
|
<link
|
|
href="splashscreen_images/iphone6_splash.png"
|
|
media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)"
|
|
rel="apple-touch-startup-image"
|
|
/>
|
|
<link
|
|
href="splashscreen_images/iphoneplus_splash.png"
|
|
media="(device-width: 621px) and (device-height: 1104px) and (-webkit-device-pixel-ratio: 3)"
|
|
rel="apple-touch-startup-image"
|
|
/>
|
|
<link
|
|
href="splashscreen_images/iphonex_splash.png"
|
|
media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)"
|
|
rel="apple-touch-startup-image"
|
|
/>
|
|
<link
|
|
href="splashscreen_images/iphonexr_splash.png"
|
|
media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)"
|
|
rel="apple-touch-startup-image"
|
|
/>
|
|
<link
|
|
href="splashscreen_images/iphonexsmax_splash.png"
|
|
media="(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)"
|
|
rel="apple-touch-startup-image"
|
|
/>
|
|
<link
|
|
href="splashscreen_images/ipad_splash.png"
|
|
media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)"
|
|
rel="apple-touch-startup-image"
|
|
/>
|
|
<link
|
|
href="splashscreen_images/ipadpro1_splash.png"
|
|
media="(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)"
|
|
rel="apple-touch-startup-image"
|
|
/>
|
|
<link
|
|
href="splashscreen_images/ipadpro3_splash.png"
|
|
media="(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)"
|
|
rel="apple-touch-startup-image"
|
|
/>
|
|
<link
|
|
href="splashscreen_images/ipadpro2_splash.png"
|
|
media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)"
|
|
rel="apple-touch-startup-image"
|
|
/>
|
|
<style>
|
|
.LoadingMessage {
|
|
position: fixed;
|
|
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: rgba(255, 255, 255, 0.8);
|
|
border-radius: 5px;
|
|
padding: 0.8em 1.2em;
|
|
font-size: 1.3em;
|
|
}
|
|
.visually-hidden {
|
|
position: absolute !important;
|
|
height: 1px;
|
|
width: 1px;
|
|
overflow: hidden;
|
|
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
white-space: nowrap; /* added line */
|
|
}
|
|
</style>
|
|
<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>
|
|
</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>
|