-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (40 loc) · 1.2 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link id="favicon" rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Matry</title>
<style>
#editor {
@apply w-80;
}
[data-mode="interactive"] #editor {
@apply hidden;
}
[data-mode="interactive"] #overlay-frame {
@apply hidden;
}
body:not([data-mode="interactive"]) #zoom-container {
@apply overflow-hidden select-none;
}
body:not([data-mode="interactive"]) #canvas-frame {
@apply pointer-events-none;
}
</style>
<script type="module" src="/editor/main.js"></script>
</head>
<body>
<main class="h-screen flex overflow-hidden">
<section id="editor" class="bg-black w-0 flex flex-col h-screen relative">
</section>
<section id="zoom-container" class="relative flex-1">
<iframe id="canvas-frame" tabindex="-1" src="about:blank" class="block w-full h-full">
</iframe>
<iframe id="overlay-frame" tabindex="-1" src="/overlay/index.html"
class="block w-full h-full pointer-events-none absolute inset-0">
</iframe>
</section>
</main>
</body>
</html>