forked from eugeneration/HappyIslandDesigner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
150 lines (135 loc) · 5.15 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
<!DOCTYPE html>
<html lang="en">
<head>
<meta property="og:title" content="Happy Island Designer" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://eugeneration.github.io/HappyIslandDesigner/" />
<meta property="og:image" content="https://eugeneration.github.io/HappyIslandDesigner/thumbnail.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:description" content="Make your dream island map. Made for Animal Crossing: New Horizons" />
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-159461234-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-159461234-1');
</script>
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, shrink-to-fit=no, user-scalable=no" />
<title>Happy Island Designer</title>
<link rel="preload" href="font/TTNorms-Bold.woff" as="font" type="font/woff" crossorigin>
<link rel="prefetch" href="font/TTNorms-Bold.woff" as="font" type="font/woff" crossorigin>
<script type="text/javascript" src="lib/jquery-3.4.1.min.js"></script>
<script type="text/javascript" src="lib/jquery.mousewheel.min.js"></script>
<!-- font choice from: https://github.com/JoseDelPino/dodo_passboard -->
<!--<script type="text/javascript" src="lib/touch-emulator.js"></script>
<script> TouchEmulator(); </script>-->
<script>
var $buoop = {required:{e:79,f:45,o:45,s:-2,c:60},insecure:true,api:2020.03 };
function $buo_f(){
var e = document.createElement("script");
e.src = "//browser-update.org/update.min.js";
document.body.appendChild(e);
};
try {document.addEventListener("DOMContentLoaded", $buo_f,false)}
catch(e){window.attachEvent("onload", $buo_f)}
</script>
<script src="lib/i18nextBrowserLanguageDetector.min.js"></script>
<script type="text/javascript" src="data/locale.js"></script>
<script type="text/javascript" src="lib/i18next.min.js"></script>
<script>
i18next.use(i18nextBrowserLanguageDetector)
.init({
fallbackLng: 'en',
debug: true,
resources: locale
})
</script>
<script type="text/javascript" src="lib/paper-full.js"></script>
<script type="text/javascript" src="lib/paper-animate-browser.min.js"></script>
<script type="text/javascript" src="lib/steganography.min.js"></script>
<script type="text/javascript" src="lib/mitt.js"></script>
<script type="text/javascript" src="lib/lz-string.js"></script>
<script type="text/javascript" src="lib/perspective-transform.min.js"></script>
<script type="text/javascript" src="lib/heic2any.min.js"></script>
<script type="text/javascript" src="data/template.js"></script>
<script type="text/javascript" src="app/store.js"></script>
<script type="text/paperscript" canvas="canvas" src="app/drawer.js"></script>
<script type="text/paperscript" canvas="canvas" src="app/paper-zoom.js"></script>
<style>
html,
body {
margin: 0;
height: 100%;
overscroll-behavior: none;
}
/* Scale canvas with resize attribute to full size */
canvas[resize] {
width: 100%;
height: 100%;
}
.menuBar {
background-color: #fefae4; /* paper */
position: fixed;
top: 0;
width: 100%;
height: 60px;
box-shadow: 0px 1px 5px rgb(0,0,0,.2);
}
.hidden {
display: none;
}
.menuButton {
position: fixed;
top: 0;
width: 100%;
height: 60px;
box-shadow: 0px 1px 5px rgb(0,0,0,.2);
}
.modal {
position: fixed;
top: 40;
bottom: 100%;
height: 60px;
box-shadow: 0px 1px 5px rgb(0,0,0,.2);
}
@font-face {
font-family: "TTNorms";
src: url("font/TTNorms-Bold.woff") format('woff');
}
.bobContainer {
display: none;
opacity: 0;
background-color: #f5f3e5;
border-radius: 40px;
position: absolute;
padding: 50px;
margin: auto;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 200px;
height: 200px;
text-align: center;
transition: opacity 0.5s;
box-shadow: rgb(0, 0, 0, 0.5) 0 0 20px;
}
.bob {
width: 50%;
}
</style>
</head>
<body>
<!-- browsers unload fonts that aren't used -->
<div class="hidden">
<p style="font-family: TTNorms">.</p>
</div>
<div class="bobContainer">
<img class="bob" src="gif/bob-loading.gif"/>
<p style="font-family: TTNorms; color: #726a5a">Please wait a bit...</p>
</div>
<canvas id="canvas" resize></canvas>
</body>
</html>