-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
488 lines (413 loc) Β· 13.8 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
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
<!doctype html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- SEO -->
<title>Warp Webslides Template</title>
<meta name="description" content="">
<!-- Google Fonts -->
<link
href="https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,700,700i%7CMaitree:200,300,400,600,700&subset=latin-ext"
rel="stylesheet">
<!-- CSS WebSlides -->
<link rel="stylesheet" type='text/css' media='all' href="./css/webslides.css">
<!-- Typewriter -->
<script src="./js/typewriter.min.js"></script>
<!-- JQUERY -->
<script src="./js/jquery.min.js "></script>
<!-- HIGHLIGHTS (code highlighting) -->
<link rel="stylesheet" href="./css/highlight.css">
<script src="./js/highlight.min.js"></script>
<!-- Warpspeed -->
<script src="./js/warpspeed.min.js"></script>
<!-- JS -->
<link rel="stylesheet" href="./css/tnt-webslides.css">
<script src="./js/d3.min.js"></script>
<script src="./js/tnt-webslides.js"></script>
</head>
<body style="background-image: url(./pix/background-large.jpg);">
<canvas height="100%" width="100%" id="warp-slide" style="
position: absolute;
display: block;
top: 0px;
bottom: 0px;
height: 100%;
width: 100%;
opacity: 0.7; ">
</canvas>
<main role="main">
<article id="webslides" class="horizontal">
<!-- SLIDE -->
<section class="bg-apple warp">
<div class="wrap aligncenter main-title-div">
<div>
<a href="https://www.youtube.com/channel/UCba194Pls_bHSqWoWMGoyzA">
<img style="height:100%" src="./pix/tnt-logo-space.svg">
</a>
</div>
<br>
<!-- <hr> -->
<div style=" padding-left: 1em; padding-right: 1em;">
<div>
<p class="text-intro">
Webslides template designed by <a href="https://www.linkedin.com/in/constantin-diez/">Codie </a>
</p>
</div>
</div>
</div>
</section>
<!-- SLIDE -->
<section class="bg-apple warp">
<div class="warp aligncenter">
<h1><strong>Why Webslides?</strong></h1>
</div>
</section>
<!-- SLIDE -->
<section class="bg-apple warp">
<div class="wrap size-75">
<h2>
<strong>Interactive 3D Graphs</strong>
</h2>
<p>Playful and interactive discovery helps understanding</p>
<div>
<button onClick='loadIFrame(this,"./pix/car-frame.html","100%","720px")'>
Load Graph
</button>
</div>
</div>
</section>
<!-- SLIDE -->
<section class="bg-apple warp">
<div class="grid vertical-align size-60">
<div class="column">
<h1 class="left-item"><strong>Beautiful Slides</strong></h1>
</div>
<div class="column">
<ul>
<li class="right-item">
<strong>Stunning</strong>
<p>
Design living slides and discover
knowledge through playfulness.
</p>
</li>
<li class="right-item">
<strong>Efficient</strong>
<p>
Clean and concise forces you to
transmit lean messages.
</p>
</li>
</ul>
</div>
</div>
</section>
<!-- SLIDE -->
<section class="bg-apple warp">
<span class="background-left-bottom shadow-cyan-3"
style="background-image:url('./pix/persons-jack-ma-small.png');"></span>
<div class="grid size-80">
<div class="column">
<!-- empty -->
</div>
<div class="column space-container shadow-cyan-8">
<blockquote class="text-quote">
<p>I think we should teach our kids how to be more innovative, how to be more creative, and how to be
more constructive, all the things machines canβt do.</p>
<p><cite>Jack Ma (Alibaba Group Founder)</cite></p>
</blockquote>
</div>
</div>
</section>
<!-- SLIDE -->
<section class="bg-apple warp">
<div class="wrap size-80">
<div style="height: 70vh;">
<h1 class="txt-center">
<strong>Expandable Tabs</strong>
</h1>
<div class="tabs-animated">
<div class="tab">
<a href="#" style="font-size: 1.5em;">
<strong>
Passion
</strong>
</a>
<div class="content center-items-flex">
<ul class="list-tnt">
<li>Find a topic you love</li>
<li>Master it</li>
<li>Share what you have learned</li>
</ul>
</div>
</div>
<div class="tab">
<a href="#" style="font-size: 1.5em;">
<strong>
Discipline
</strong>
</a>
<div class="content center-items-flex">
<ul class="list-tnt">
<li>Build a routine</li>
<li>Question your routine regularly</li>
<li>Alter and adapt</li>
</ul>
</div>
</div>
<div class="tab">
<a href="#" style="font-size: 1.5em;">
<strong>
Free Mindedness
</strong>
</a>
<div class="content center-items-flex">
<ul class="list-tnt">
<li>You can do anything you want</li>
<li>Learn from nature</li>
<li>Find out who you are</li>
<li>Travel the path of self-discovery</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- SLIDE -->
<section class="bg-apple warp">
<span data-step-count="1"></span>
<div class="wrap size-75 grid">
<div class="column txt-center center-items-margin">
<h1>
<strong>Animations</strong>
</h1>
</div>
<div class="column" style="display:flex; flex-direction: row; align-items:center;">
<div class="center-items-flex">
<h4>Step One</h4>
<table style="width: 200px;">
<tr>
<td>Duration</td>
<td>20-30s</td>
</tr>
<tr>
<td>Idle</td>
<td>70%</td>
</tr>
</table>
</div>
<div class="animate-show-visibility" data-step="1"
style="display:flex; flex-direction:column; margin-left: 3rem;">
<h3>→</h3>
</div>
<div class="animate-show-visibility center-items-flex" data-step="1" style="margin-left: 3rem;">
<h4>Step Two</h4>
<table style="width: 200px;">
<tr>
<td>Duration</td>
<td>10-15s</td>
</tr>
<tr>
<td>Idle</td>
<td>20%</td>
</tr>
</table>
</div>
</div>
</div>
</section>
<!-- SLIDE -->
<section class="bg-apple warp">
<div class="warp aligncenter">
<h1 id="typewriter-heading"><strong></strong></h1>
</div>
</section>
<!-- SLIDE -->
<section class="bg-apple warp">
<div class="wrap size-75 ">
<h1>
<strong>Interactive Examples</strong>
</h1>
<p>Draw points in different colors to see a corresponding decision tree.</p>
<div>
<button onClick='loadIFrame(this,"./pix/treeapp.html","100%","650px")'>
Load App
</button>
</div>
</div>
</section>
<!-- SLIDE -->
<section class="bg-apple warp">
<div class="wrap vertical-align size-75 grid">
<div class="column txt-center">
<h1>
<strong>Code Highlighting</strong>
</h1>
<hr>
<p>Beautiful code highlighting with highlight.js</p>
</div>
<div class="column">
<pre class="shadow-cyan-8">
<code class="python"> >>> # list comprehension β€οΈ
>>> data = [ii for ii in range(10)]
>>> # best code ever
>>> print("hello world")
hello world
>>> # some math
>>> import numpy as np
>>> x = np.random.random((30, 3))
</code>
</pre>
</div>
</div>
<script>
hljs.initHighlightingOnLoad();
</script>
</section>
<!-- SLIDE -->
<section class="bg-apple warp">
<div class="wrap size-70">
<h3>Galleries</h3>
<ul class="flexblock gallery vertical-align">
<li>
<figure>
<img style="height: 300px" class="shadow-blue-8" src="./pix/manuel-image.png">
<figcaption>
<h2>Manuel</h2>
<p>Odd dude who loves tea.</p>
</figcaption>
</figure>
</li>
<li>
<figure>
<img class="shadow-blue-8" style="height: 300px" src="./pix/codie-image.png">
<figcaption>
<h2>Codie</h2>
<p>Another odd dude who loves tea.</p>
</figcaption>
</figure>
</li>
<li>
<figure>
<img style="border: 1px solid #ffffff54; height: 300px;" src="./pix/tea-ceremony.jpg">
<figcaption>
<h2>Tea</h2>
<p>The love of our life.</p>
</figcaption>
</figure>
</li>
</ul>
</div>
</section>
<!-- SLIDE -->
<section class="bg-apple warp">
<div class="warp aligncenter">
<h1><strong>Tell your story as it deserves</strong></h1>
</div>
</section>
</article>
</main> <!-- end main -->
<!-- A global footer
<footer role="contentinfo ">
<div class="wrap ">
<p>An <a href="https://github.com/webslides/webslides ">open source solution</a>, by <a href="https://twitter.com/webslides ">@webslides</a>.</p>
</div>
</footer> -->
<!-- Required -->
<script src="./js/webslides.js "></script>
<script src="./js/webslides-animation.js"></script>
<script>
const WARP_SPEED_MAX = 14;
const WARP_SPEED_NORMAL = 0.75;
window.onload = function () {
window.warpspeed = new WarpSpeed('warp-slide', {
// "speed": 0.7,
"speed": WARP_SPEED_NORMAL,
"speedAdjFactor": 0.06,
"density": 0.7,
"shape": "circle",
"warpEffect": true,
"warpEffectLength": 5,
"depthFade": true,
"starSize": 3,
"backgroundColor": "hsl(263,45%,7%)",
"starColor": "#C7C7C7"
})
// window.warpspeed.SPEED = 10
}
$("article")[0].addEventListener("ws:slide-change", (evt) => {
// prevents error message on startup
if (window.warpspeed !== undefined) {
window.warpspeed.TARGET_SPEED = WARP_SPEED_MAX;
setTimeout(() => {
window.warpspeed.TARGET_SPEED = WARP_SPEED_NORMAL;
}, 300)
}
})
// try to connect elements on each slide change
$("article")[0].addEventListener("ws:slide-change", () => {
connectDivs(".left-item", '.right-item');
})
window.ws = new WebSlides();
new WebSlidesAnimation(window.ws);
// animated tabs
$('.tabs-animated .tab').click(function () {
$('.tabs-animated .tab.active').removeClass('active');
$(this).closest('.tabs-animated .tab').addClass('active');
return false;
});
</script>
<!-- Typewriter -->
<script>
const app = document.getElementById('typewriter-heading');
const typewriter = new Typewriter(app, {
loop: true,
wrapperClassName: "space-typewriter",
cursorClassName: "space-typewriter cursor",
});
typewriter.typeString('Suspenseful Animations')
.pauseFor(1000)
.deleteChars(10)
.typeString("Stories")
.pauseFor(1000)
.deleteAll()
.start();
</script>
<!-- INLINE SVG -->
<script>
$(function () {
jQuery('img.inline-svg').each(function () {
var $img = jQuery(this);
var imgID = $img.attr('id');
var imgClass = $img.attr('class');
var imgURL = $img.attr('src');
jQuery.get(imgURL, function (data) {
// Get the SVG tag, ignore the rest
var $svg = jQuery(data).find('svg');
// Add replaced image's ID to the new SVG
if (typeof imgID !== 'undefined') {
$svg = $svg.attr('id', imgID);
}
// Add replaced image's classes to the new SVG
if (typeof imgClass !== 'undefined') {
$svg = $svg.attr('class', imgClass + ' replaced-svg');
}
// Remove any invalid XML tags as per http://validator.w3.org
$svg = $svg.removeAttr('xmlns:a');
// Check if the viewport is set, else we gonna set it if we can.
if (!$svg.attr('viewBox') && $svg.attr('height') && $svg.attr('width')) {
$svg.attr('viewBox', '0 0 ' + $svg.attr('height') + ' ' + $svg.attr('width'))
}
// fit to container
$svg.attr("width", "100%");
$svg.attr("height", "100%");
// Replace image with new SVG
$img.replaceWith($svg);
}, 'xml');
});
});
</script>
</body>
</html>