-
Notifications
You must be signed in to change notification settings - Fork 0
/
work.html
67 lines (50 loc) · 1.48 KB
/
work.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Noto+Sans" rel="stylesheet">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<!-- Place favicon.ico in the root directory -->
<!-- <link rel="stylesheet" href="css/normalize.css"> -->
<link rel="stylesheet" href="css/main.css">
<style>
#app {
margin: auto;
width: 98vw;
height: 98vh;
}
#app canvas {
position: absolute;
image-rendering: pixelated;
image-rendering: crisp-edges;
display: block;
padding: 0;
margin: auto;
}
</style>
<script src="js/more/js2020/bundle.js"></script>
</head>
<body>
<!--[if lte IE 9]>
<p class="browserupgrade">You are using an <strong>otudated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
<!-- Add your site or application content here -->
<section>
<div id="app"></div>
</section>
<script>
const init = () => {
let opts = {
assetsBase: "assets/js2020"
};
let orb = Tetris(document.getElementById('app'), opts);
};
init();
</script>
</body>
</html>