-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (34 loc) · 1.36 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
<!DOCTYPE html>
<html lang="en" data-theme="dracula">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Security-Policy"
content=" default-src * 'unsafe-inline' resource: preview:; style-src-elem
* 'unsafe-inline' ; style-src * 'unsafe-inline' ; media-src 'self' resource: preview: ; img-src * 'unsafe-inline'" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Peepo Sings</title>
<script type="application/javascript" src="/fas.js"></script>
<script type="application/javascript" src="/fab.js"></script>
<script type="application/javascript" src="/fat.js"></script>
<script type="application/javascript" src="/far.js"></script>
</head>
<body>
<div id="root"></div>
<div id="portals" style="position: fixed; width: 100vw; height: 100vh; top: 0; left: 0; pointer-events: none"></div>
<script type="module" src="./packages/renderer/index.tsx"></script>
<script>
document.addEventListener('drop', (e) => {
e.preventDefault()
e.stopPropagation()
for (const f of e.dataTransfer.files) {
console.log('File(s) you dragged here: ', f.path)
}
})
document.addEventListener('dragover', (e) => {
e.preventDefault()
e.stopPropagation()
})
</script>
</body>
</html>