-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
370 lines (319 loc) · 12.9 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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image" href="./images/caticon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap" rel="stylesheet">
<title>De kattenknuffelaar</title>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha256-sA+zWATbFveLLNqWO2gtiw3HL/lh1giY/Inf1BJ0z14=" crossorigin="" />
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha256-o9N1jGDZrf5tS+Ft4gbIK7mYMipq9lqpVJ91xHSyKhg=" crossorigin=""></script>
</head>
<body>
<main>
<!-- <section class="curtains">
<ul>
<li>
<h1>Heb jij je altijd al afgevraagd waar je favoriete kattenras vandaan komt?</h1>
</li>
<li><a class="curtainbutton">Klik hier voor het antwoord!</a></li>
</ul>
<ul>
<li class="curtain1"><img src="images/curtain1.png" alt="Curtain"></li>
<li class="curtain2"><img src="images/curtain2.png" alt="Another curtain"></li>
</ul>
</section> -->
<!-- first section-->
<section>
<ul>
<li class="animateintro1">
<h1>Welkom op dé plek voor kattenliefhebbers!</h1>
</li>
<li class="animateintro2">
<h2>Heb jij je altijd al afgevraagd waar je favoriete kattenras vandaan komt? Of welke kattensoort het
populairst is?</h2>
</li>
</ul>
<ul>
<li><img class="animateintro3" src="images/cartooncat.webp"></li>
</ul>
<ul>
<li class="animateintro4">
<p>Scroll to find out!</p>
</li>
</ul>
</section>
<!-- second section-->
<section>
<ul>
<li>
<p class="fadein">Zoom in en klik op de icoontjes voor meer informatie!</p>
</li>
</ul>
<div id="map"></div>
<ul>
<li>
<p>Scroll voor feitjes!</p>
</li>
</ul>
</section>
<!-- third section -->
<section>
<article class="grid">
<ul>
<li>
<img src="images/pusheen1.png" alt="Pusheen blushing">
</li>
<li>
<h3>Wist je dat...</h3>
<p>Katten de enige zoogdieren zijn die zoetigheid niet kunnen proeven?</p>
</li>
</ul>
<ul>
<li>
<img src="images/pusheen2.png" alt="Pusheen eating a donut">
</li>
<li>
<h3>Wist je dat...</h3>
<p>Katten 6 keer hun eigen lengte kunnen springen?</p>
</li>
</ul>
<ul>
<li>
<img src="images/pusheen3.png" alt="Pusheen eating noodles">
</li>
<li>
<h3>Wist je dat...</h3>
<p>Katten ook snorharen hebben achter hun voorpoten?</p>
</li>
</ul>
<ul>
<li>
<img src="images/pusheen4.png" alt="Pusheen wearing sunglasses">
</li>
<li>
<h3>Wist je dat...</h3>
<p>Katten onsmakelijk eten laten staan tot ze verhongeren?</p>
</li>
</ul>
<ul>
<li>
<img src="images/pusheen5.png" alt="Pusheen eating sushi">
</li>
<li>
<h3>Wist je dat...</h3>
<p>Katten zich een derde van de tijd waarin ze wakker zijn wassen?</p>
</li>
</ul>
<ul>
<li>
<img src="images/pusheen6.png" alt="">
</li>
<li>
<h3>Wist je dat...</h3>
<p>Katten lactose intolerant zijn?</p>
</li>
</ul>
</article>
<ul class="scroll">
<li>
<p>Scroll om er achter te komen wat de meest populaire kattenrassen zijn!</p>
</li>
</ul>
</section>
<!-- fourth section -->
<section class="barchart">
<ul>
<li>
<p>Wat zijn de meest populaire kattenrassen per werelddeel?</p>
</li>
</ul>
<svg>
<defs>
<!-- rommeltje maken-->
<!-- abyssinian -->
<pattern id="Abyssinian" viewBox="0 0 244 298" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/abyssinian.png" width="244" height="298">
</image>
</pattern>
<!-- american shorthair -->
<pattern id="Americanshorthair" viewBox="0 0 576 734" preserveAspectRatio="xMidYMid slice" x="0" y="0"
width="1" height="1">
<image xlink:href="images/cats/americanshorthair.png" width="576" height="734">
</image>
</pattern>
<!-- bengal -->
<pattern id="Bengal" viewBox="0 0 615 1038" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/bengal.png" width="615" height="1038">
</image>
</pattern>
<!-- british shorthair -->
<pattern id="Britishshorthair" viewBox="0 0 225 298" preserveAspectRatio="xMidYMid slice" x="0" y="0"
width="1" height="1">
<image xlink:href="images/cats/britishshorthair.png" width="225" height="298">
</image>
</pattern>
<!-- burmese -->
<pattern id="Burmese" viewBox="0 0 508 491" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/burmese.png" width="508" height="491">
</image>
</pattern>
<!-- chartreux -->
<pattern id="Chartreux" viewBox="0 0 529 743" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/chartreux.png" width="529" height="743">
</image>
</pattern>
<!-- chinchilla -->
<pattern id="Chinchilla" viewBox="0 0 423 573" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/chinchilla.png" width="423" height="573">
</image>
</pattern>
<!-- devon rex -->
<pattern id="Devonrex" viewBox="0 0 441 515" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/devonrex.png" width="441" height="515">
</image>
</pattern>
<!-- domestic shorthair -->
<pattern id="Domesticshorthair" viewBox="0 0 626 398" preserveAspectRatio="xMidYMid slice" x="0" y="0"
width="1" height="1">
<image xlink:href="images/cats/domesticshorthair.png" width="626" height="398">
</image>
</pattern>
<!-- european shorthair -->
<pattern id="Europeanshorthair" viewBox="0 0 356 684" preserveAspectRatio="xMidYMid slice" x="0" y="0"
width="1" height="1">
<image xlink:href="images/cats/europeanshorthair.png" width="356" height="684">
</image>
</pattern>
<!-- exotic shorthair -->
<pattern id="Exoticshorthair" viewBox="0 0 607 690" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/exoticshorthair.png" width="607" height="690">
</image>
</pattern>
<!-- german rex-->
<pattern id="Germanrex" viewBox="0 0 556 1020" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/germanrex.png" width="556" height="1020">
</image>
</pattern>
<!-- levkoy-->
<pattern id="Levkoy" viewBox="0 0 352 420" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/levkoy.png" width="352" height="420">
</image>
</pattern>
<!-- maine coon -->
<pattern id="Mainecoon" viewBox="0 0 797 926" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/mainecoon.png" width="797" height="926">
</image>
</pattern>
<!-- manx -->
<pattern id="Manx" viewBox="0 0 667 616" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/manx.png" width="667" height="616">
</image>
</pattern>
<!-- munchkin -->
<pattern id="Munchkin" viewBox="0 0 170 323" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/munchkin.png" width="170" height="323">
</image>
</pattern>
<!-- norwegian forest cat -->
<pattern id="Norwegianforestcat" viewBox="0 0 784 608" preserveAspectRatio="xMidYMid slice" x="0" y="0"
width="1" height="1">
<image xlink:href="images/cats/norwegianforestcat.png" width="784" height="608">
</image>
</pattern>
<!-- persian -->
<pattern id="Persian" viewBox="0 0 784 608" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/persian.png" width="784" height="608">
</image>
</pattern>
<!-- ragdoll -->
<pattern id="Ragdoll" viewBox="0 0 162 219" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/ragdoll.png" width="162" height="219">
</image>
</pattern>
<!-- ragdoll cross -->
<pattern id="Ragdollcross" viewBox="0 0 532 469" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/ragdollcross.png" width="532" height="469">
</image>
</pattern>
<!-- russian blue -->
<pattern id="Russianblue" viewBox="0 0 649 827" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/russianblue.png" width="649" height="827">
</image>
</pattern>
<!-- scottish fold -->
<pattern id="Scottishfold" viewBox="0 0 549 781" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/scottishfold.png" width="549" height="781">
</image>
</pattern>
<!-- somali -->
<pattern id="Somali" viewBox="0 0 744 1038" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/somali.png" width="744" height="1038">
</image>
</pattern>
<!-- siamese -->
<pattern id="Siamese" viewBox="0 0 665 1480" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/siamese.png" width="665" height="1480">
</image>
</pattern>
<!-- siberian -->
<pattern id="Siberian" viewBox="0 0 615 776" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/siberian.png" width="615" height="776">
</image>
</pattern>
<!-- sphynx -->
<pattern id="Sphynx" viewBox="0 0 859 852" preserveAspectRatio="xMidYMid slice" x="0" y="0" width="1"
height="1">
<image xlink:href="images/cats/sphynx.png" width="859" height="852">
</image>
</pattern>
</defs>
</svg>
<div id="tooltip"></div>
<ul class="buttons">
<li><button value="De hele wereld">De hele wereld</button></li>
<li><button value="Europa">Europa</button></li>
<li><button value="De Verenigde Staten">De Verenigde Staten</button></li>
<li><button value="Japan">Japan</button></li>
<li><button value="Australië">Australië</button></li>
</ul>
<!-- <svg width="400" height="800">
<g id="bars"></g>
<g id="labels"></g>
</svg> -->
</section>
</main>
<script type="module" src="./scripts/main.js"></script>
<script type="module" src="./scripts/map.js"></script>
<script type="module" src="./scripts/sounds.js"></script>
<script type="module" src="./scripts/animate.js"></script>
<script src="https://unpkg.com/topojson@3"></script>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha256-o9N1jGDZrf5tS+Ft4gbIK7mYMipq9lqpVJ91xHSyKhg=" crossorigin=""></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/gsap.min.js"></script>
</body>
</html>