-
Notifications
You must be signed in to change notification settings - Fork 14
/
widget.html
50 lines (43 loc) · 1.25 KB
/
widget.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
48
49
50
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<style>
html,
body {
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
height: 100% !important;
min-width: 100% !important;
min-height: 100% !important;
box-sizing: border-box !important; /* Ensure padding and borders are accounted for */
overflow: hidden !important;
}
.section-fullheight {
height: 100% !important;
min-height: 100% !important;
}
</style>
<link rel="icon" type="image/svg+xml" href="/lukso.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Universal Widget</title>
<script>
window.global = window
</script>
<script type="module">
import process from 'process'
import { Buffer } from 'buffer'
import EventEmitter from 'events'
window.Buffer = Buffer
window.process = process
window.EventEmitter = EventEmitter
</script>
</head>
<body>
<section class="section-fullheight has-background-grey">
<div class="box has-background-grey" id="app" />
</section>
<script type="module" src="/src/widget.ts"></script>
</body>
</html>