-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
761 lines (703 loc) · 24.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
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
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Talk: Whats new in Livewire v3 | Adrian Nürnberger</title>
<link rel="stylesheet" href="dist/reset.css">
<link rel="stylesheet" href="dist/reveal.css">
<link rel="stylesheet" href="dist/theme/black.css">
<!-- Theme used for syntax highlighted code -->
<link rel="stylesheet" href="plugin/highlight/material-palenight.css">
</head>
<body>
<style>
:root {
--r-code-font: 'Operator Mono Lig Medium','Operator Mono SSm Lig Medium', monospace !important;
--display-footer: none;
}
code {
overflow: hidden !important;
}
code tr:not(.highlight-line) .hljs-ln-code {
filter:blur(1.5px);
}
footer {
width: 100dvw;
height: 50px;
position: fixed;
bottom: 0;
left: 0;
right: 0;
display: var(--display-footer);
padding: 1rem;
align-items: center;
gap: 1rem;
color:#fff;
font-family: var(--r-main-font);
z-index: 999999;
}
pre.inline, pre.inline code {
display: inline !important;
}
.fragment.vanish.current-fragment, .fragment.vanish.visible:not(.current-fragment) {
visibility: hidden;
opacity: 0;
height: 0;
}
.animate-drink {
animation: drink 4s infinite linear;
display: block;
}
@keyframes drink {
0%,100% {
transform: rotate(0deg) translate(0px, 20px);
}
25% {
transform: rotate(10deg) translate(0px, -10px);
}
50% {
transform: rotate(57deg) translate(-11px, -10px);
}
}
</style>
<div class="reveal">
<div class="slides">
<section>
<section data-auto-animate data-background-gradient="linear-gradient(to bottom, #152c3a, rgb(15 23 42))">
<h1 class="r-fit-text fragment" data-fragment-index="1">Hello, I am Adrian!</h1>
<div style="max-width: 60%; margin: 0 auto;">
<h1 class="r-fit-text">
<div style="display: inline-flex;">
<span class="r-stack">
<span class="fragment fade-in" data-fragment-index="2">
<span class="fragment highlight-red" data-fragment-index="4">
<span class="fragment custom vanish" data-fragment-index="5">FULL</span>
</span>
</span>
<span class="fragment fade-down" data-fragment-index="5">TALL</span>
</span>
<span class="fragment" data-fragment-index="2">-Stack</span>
</div>
<span class="fragment" data-fragment-index="2">Developer</span>
</h1>
<p class="fragment" data-fragment-index="3">from 🇦🇹 Vienna</p>
</div>
</section>
<section data-auto-animate data-background-gradient="linear-gradient(to bottom, rgb(15 23 42), #152c3a)">
<h1 class="r-fit-text">My vacation routine</h1>
<ul style="list-style: none; display: inline-grid; gap:2rem;">
<li class="fragment">🏝️ <pre class="inline"><code class="language-php">collect($vacation)->contains('me', '🌊')</code></pre></li>
<li class="fragment">🤿 <pre class="inline"><code class="language-php">throw_unless($diving || $snorkeling, BadVibes::class)</code></pre></li>
<li class="fragment">📷 <pre class="inline"><code class="language-php">while($underwater) $take('pictures' || 'videos')</code></pre></li>
</ul>
</section>
<section data-background-image="assets/jelly-01.jpg"></section>
<section data-background-image="assets/jelly-02.jpg"></section>
<section data-background-image="assets/jelly-03.jpg"></section>
<section data-background-image="assets/jelly-04-1.png"></section>
<section data-background-image="assets/jelly-05-1.png"></section>
<section data-auto-animate data-background-gradient="linear-gradient(to bottom, #1f8281, rgb(15 23 42))">
<img src="assets/livewire.svg" class="r-stretch" />
</section>
<section data-auto-animate data-background-gradient="linear-gradient(to bottom, #1f8281, rgb(15 23 42))" data-transition="slide-out">
<img src="assets/livewire.svg" class="r-stretch" />
<h1 style="text-align: right"><span class="fragment">v3</span><span class="fragment"> BETA</span></h1>
</section>
</section>
<!-- END INTRO -->
<!-- START ALPINE -->
<section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<img src="assets/livewire.svg" class="r-stretch" />
<span style="font-size: 8rem" class="fragment" data-fragment-index="2">🤝</span>
<div class="fragment" data-fragment-index="1">
<img src="assets/alpine.svg" class="r-stretch" />
</div>
</section>
<section data-transition="slide-in fade-out" data-background-color="rgb(15 23 42)">
<h3>AlpineJs</h3>
<pre data-id="code-alpine"><code class="language-php" data-line-numbers="1-13|3-5" data-noescape>class Counter extends Component
{
public $count = 1;
public function increment()
{
$this->count++;
}
public function render()
{
return view('livewire.counter');
}
}</code></pre>
</section>
<section data-transition="fade-in slide-out" data-background-color="rgb(15 23 42)">
<h3>AlpineJs</h3>
<pre data-id="code-alpine"><code class="language-js" data-line-numbers="1|2-6|8-9|11-13|15-17|19-20|22-24|26-29|31-33|35-37|35-40|42-44|46-48|50-52|54-55|57-67|69-70|72-73|75-76" data-noescape>let $wire = {
// All component public properties are accessible
count: 0,
// All public methods are exposed and callable
increment() { ... },
// Access the `$wire` object of the parent component
$parent,
// Get the value of a property by name...
// Usage: $wire.$get('count')
$get(name) { ... },
// Set a property on the component by name...
// Usage: $wire.$set('count', 5)
$set(name, value) { ... },
// Toggle the value of a boolean property...
$toggle(name) { ... },
// Call the method
// Usage: $wire.$call('increment')
$call(method, ...params) { ... },
// Entangle the value of a Livewire property with a different,
// arbitrary, Alpine property...
// Usage: <div x-data="{ count: $wire.$entangle('count') }">
$entangle(name, live = false) { ... },
// Watch the value of a property for changes...
// Usage: Alpine.$watch('count', (value, old) => { ... })
$watch(name, callback) { ... },
// Refresh a component by sending a commit to the server
// to re-render the HTML and swap it into the page...
$refresh() { ... },
// Alias for `$refresh`.
$commit() { ... },
// Listen for a an event dispatched from this component or its children...
// Usage: $wire.$on('post-created', () => { ... })
$on(event, callback) { ... },
// Dispatch an event from this component...
// Usage: $wire.$dispatchTo('post-created', { postId: 2 })
$dispatch(event, params = {}) { ... },
// Dispatch an event onto another component...
// Usage: $wire.$dispatchTo('dashboard', 'post-created', { postId: 2 })
$dispatchTo(otherComponentName, event, params = {}) { ... },
// Dispatch an event onto this component and no others...
$dispatchSelf(event, params = {}) { ... },
// A JS API to upload a file directly to component
// rather than through `wire:model`...
$upload(
name, // The property name
file, // The File JavaScript object
finish = () => { ... }, // Runs when the upload is finished...
error = () => { ... }, // Runs if an error is triggered mid-upload...
progress = (event) => { // Runs as the upload progresses...
event.detail.progress // An integer from 1-100...
},
) { ... },
// API to upload multiple files at the same time...
$uploadMultiple(name, files, finish, error, progress) { },
// Remove an upload after it's been temporarily uploaded but not saved...
$removeUpload(name, tmpFilename, finish, error) { ... },
// Retrieve the underlying "component" object...
__instance() { ... },
}</code></pre>
</section>
</section>
<!-- END ALPINE -->
<!-- START EVENTS -->
<section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Events</h3>
<pre data-id="code-event"><code class="language-php" data-line-numbers="1-7|5">class CreatePost extends Component
{
public function save()
{
$this->emit('post-created');
}
}</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Events</h3>
<pre data-id="code-event"><code class="language-php" data-line-numbers="5">class CreatePost extends Component
{
public function save()
{
$this->emitTo('post-created', PostList::Class);
}
}</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Events</h3>
<pre data-id="code-event"><code class="language-php" data-line-numbers="5">class CreatePost extends Component
{
public function save()
{
$this->emitBrowserEvent('post-created');
}
}</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Events</h3>
<pre data-id="code-event"><code class="language-php" data-line-numbers="5">class CreatePost extends Component
{
public function save()
{
$this->dispatchBrowserEvent('post-created');
}
}</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Events</h3>
<pre data-id="code-event"><code class="language-php" data-line-numbers="5">class CreatePost extends Component
{
public function save()
{
$this->dispatch('post-created');
}
}</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Events</h3>
<pre data-id="code-event"><code class="language-php" data-line-numbers="5">class CreatePost extends Component
{
public function save()
{
$this->dispatch('post-created')->to(PostList::class);
}
}</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Events</h3>
<pre data-id="code-event-listen"><code class="language-php" data-line-numbers="1-9|3|3-5">class PostList extends Component
{
protected $listeners = ['post-created' => 'increase'];
public function increase()
{
$this->postCount++;
}
}</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Events</h3>
<pre data-id="code-event-listen"><code class="language-php" data-line-numbers="3|3-4">class PostList extends Component
{
#[On('post-created')]
public function increase()
{
$this->postCount++;
}
}</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Events</h3>
<pre data-id="code-event-listen"><code class="language-php" data-line-numbers="3-4">class PostList extends Component
{
#[On('post-created')]
#[On('post-imported')]
public function increase()
{
$this->postCount++;
}
}</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Events</h3>
<pre data-id="code-event-listen-js"><code class="language-blade" data-noescape>
<!-- from Livewire component -->
<div x-on:post-created="..."></div>
</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Events</h3>
<pre data-id="code-event-listen-js"><code class="language-blade" data-noescape>
<!-- from any Livewire component on the page -->
<div x-on:post-created.window="..."></div>
</code></pre>
</section>
</section>
<!-- END EVENTS -->
<!-- START ATTRIBUTES -->
<section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<ul style="list-style: none">
<li class="fragment" style="display: inline-flex; align-items: center; gap:1rem;">😊 since<img src="assets/php.svg" height="26px" />8.0</li>
<li class="fragment">😢 parameters behave like CONST</li>
<li class="fragment">😢 no dynamic data, no closures</li>
<li class="fragment">🤙 we use them anyways</li>
</ul>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<pre data-id="code-attributes"><code class="language-php" data-line-numbers="1|2|4">
protected $listeners = ['post-created' => 'increase'];
#[On('post-created')]
</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<pre data-id="code-attributes-2"><code class="language-php" data-line-numbers="5-8|2-3">
public $name = '';
public $email = '';
protected $rules = [
'name' => 'required|min:6',
'email' => 'required|email',
];
</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<pre data-id="code-attributes-2"><code class="language-php" data-line-numbers="3,5|1-5">
#[Rule('required|min:6')]
public $name = '';
#[Rule('required|email')]
public $email = '';
</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<pre data-id="code-attributes-3"><code class="language-php">
#[Title('some-title')]
#[Layout('layouts.app-with-title')]
public function render()
{
return view('show-name');
}
</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<pre><code class="language-php" data-line-numbers="2-3|2,5|7-9|2-3,7,9" data-noescape>
// Parent
public $todo = '';
<livewire:child wire:model="todo" />
// Child
#[Modelable] // binds wire:model
public $value = '';
</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<pre><code class="language-php" data-line-numbers="2-6|8|8-9|11-12|14-15" data-noescape>
#[Computed]
public function users()
{
return User::all();
}
#[Computed(persist: true)] // default 1 hour
#[Computed(persist: true, seconds: 42)]
// all instances will share this, kinda static
#[Computed(cache: true)]
// Busting the cache
unset($this->users);</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<pre><code class="language-php" data-line-numbers="3|2-3|2-4|6-8|10-12|14-15" data-noescape>
#[Url]
public $search = 'abc';
https://example.com/users?search=abc
#[Url(as: 'q')]
public $search = 'caleb';
https://example.com/users?q=caleb
#[Url(keep: true)]
public $search = '';
https://example.com/users?search=
#[Url(history: true)]
// history.pushState
</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<pre data-id="code-attributes-locked"><code class="language-php" data-line-numbers="2-3|5-8" data-noescape>
#[Locked]
public $postId;
#[Computed]
public function user() {
return Post::find($this->postId);
}
</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<pre data-id="code-attributes-locked"><code class="language-php" data-line-numbers="1-3" data-noescape>
// Livewire locks models per default
public Post $post;
</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<pre><code class="language-php" data-line-numbers="5-7|2-3" data-noescape>
#[Js]
public function reset()
{
return <<<'JS'
$wire.query = '';
JS;
}
</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>#[Attribute]</h3>
<pre data-id="code-attributes"><code class="language-php">#[On]
#[Rule]
#[Url]
#[Computed]
#[Js]
#[Layout]
#[Title]
#[Locked]
#[Renderless]
#[Modelable]
#[Reactive]</code></pre>
</section>
</section>
<!-- END ATTRIBUTES -->
<!-- START REDIRECT -->
<section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Redirect</h3>
<pre><code class="language-php" data-line-numbers="4" data-noescape data-id="code-redirect">
public function save()
{
return $this->redirect('/some-url-that-i-cant-remember');
}
</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Redirect</h3>
<pre><code class="language-php" data-line-numbers="4" data-noescape data-id="code-redirect">
public function save()
{
return $this->redirect(ShowPage::class);
}
</code></pre>
</section>
</section>
<!-- END REDIRECT -->
<!-- START DIRTY -->
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Dirty state</h3>
<pre><code class="language-blade" data-line-numbers="3|3,7|5|5,7" data-noescape data-id="code-dirty">
<form wire:submit="update">
<input type="text" wire:model="title"/>
<button type="submit">Update</button>
<div wire:dirty>Unsaved changes...</div>
</form>
</code></pre>
</section>
<!-- END DIRTY -->
<!-- START TELEPORT -->
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>@TELEPORT</h3>
<pre><code class="language-blade" data-line-numbers="1-14|7-11" data-noescape data-id="code-teleport">
<div>
<!-- Modal -->
<div x-data="{ open: false }">
<button @click="open = ! open">Toggle Modal</button>
@teleport('body')
<div x-show="open">
Modal contents...
</div>
@endteleport
</div>
</div>
</code></pre>
</section>
<!-- END TELEPORT -->
<!-- START FORM -->
<section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Form object</h3>
<pre><code class="language-php" data-line-numbers="1-16|4|6-9" data-noescape data-id="code-form-object">// v2
class EditPost extends Component
{
public Post $post;
protected $rules = [
'post.title' => 'required|string|min:6',
'post.content' => 'required|string|max:500',
];
public function save()
{
$this->validate();
$this->post->save();
}
}</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Form object</h3>
<pre><code class="language-php" data-line-numbers="1-16|4|4,7,10|6-10" data-noescape data-id="code-form-object">// v3
PostForm extends Form
{
public Post $post;
#[Rule('required|string|min:6')]
public $title = '';
#[Rule('required|string|max:500')]
public $content = '';
}</code></pre>
</section>
</section>
<!-- END FORM -->
<!-- START MISC -->
<section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>SPA mode</h3>
<pre><code class="language-blade" data-id="code-spa" data-noescape><a href="/profile">Profile</a></code></pre>
<p> </p>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>SPA mode</h3>
<pre><code class="language-blade" data-id="code-spa" data-noescape><a href="/profile" wire:navigate>Profile</a></code></pre>
<p class="fragment">✅ progress bar included (nprogress)</p>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>@persist</h3>
<pre><code class="language-blade" data-id="code-persist" data-noescape>@persist('player')
<audio src="{{ $episode->file }}" controls></audio>
@endpersist</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Lazy loading</h3>
<pre><code class="language-bash" data-id="code-lazy" data-noescape><livewire:revenue lazy /></code></pre>
<pre><code class="language-php" data-line-numbers="1-16|3-6|8-15" data-noescape data-id="code-lazy-placeholder">class Revenue extends Component
{
public function mount()
{
// Expensive database query...
}
public function placeholder()
{
return <<<'HTML'
<div>
<!-- Loading spinner... -->
</div>
HTML;
}
}</code></pre>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Automatic upgrade</h3>
<div style="display:flex; gap:2rem;">
<div>
<p class="fragment" data-fragment-index="1">🇳🇱 Philo Hermans</p>
<div class="r-stretch">
<img src="assets/philo.jpg" class="fragment" data-fragment-index="1" />
</div>
</div>
<pre class="fragment" data-fragment-index="2"><code class="language-shell" data-id="code-upgrade"
data-line-numbers="1|1-3|1-5|1-7">$ php artisan livewire:upgrade
LIVEWIRE v2 to v3 UPGRADE 🎉
✅ Migrate
Done.
</code></pre>
</div>
</section>
</section>
<!-- END MISC -->
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Call to action</h3>
<ul style="list-style: none">
<li class="fragment">💻 Test Livewire 3 in your app</li>
<li class="fragment">📝 Check discussions before reporting a bug 🐛</li>
<li class="fragment">💪 Report bugs (with failing test ✨)</li>
</ul>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>What's next</h3>
<h5 class="fragment">Dev tools</h5>
<div class="r-stretch">
<img src="assets/livewire-dev-tools.jpg" class="fragment" />
</div>
</section>
<!-- PPL -->
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>📢 Shout out</h3>
<div style="display:flex; gap:2rem; align-items:center;">
<div>
<p class="fragment" data-fragment-index="1">🇦🇺 Josh Hanley</p>
<div class="r-stretch">
<img src="assets/josh.jpg" class="fragment" data-fragment-index="1" />
</div>
</div>
<ul style="list-style: none; min-width:28ch;">
<li class="fragment">⛵ lives on a boat</li>
<li class="fragment">🤗 super handsome guy</li>
<li class="fragment">❓ takes care about issues</li>
<li class="fragment">📝 helps you writing failing tests</li>
<li class="fragment">⌛ busy since v3 public beta</li>
<li class="fragment">⚠️ be patient</li>
</ul>
</div>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>📢 Shout out</h3>
<div style="display:flex; gap:2rem; align-items:end;">
<div>
<p class="fragment" data-fragment-index="1">🇺🇸 Caleb Porzio</p>
<div class="r-stretch">
<img src="assets/caleb.jpg" class="fragment" data-fragment-index="1" />
</div>
</div>
<div class="fragment" style="font-size:20rem;margin:0 auto;">❤️</div>
</div>
</section>
<section data-auto-animate data-background-color="rgb(15 23 42)">
<h3>Thanks</h3>
<div class="fragment r-stack" style="position: relative;">
<img class="r-stretch" src="assets/head.png"/>
<div style="position: absolute; inset: 0; left: -10%; top: 74%;"><span class="animate-drink">🍺</span></div>
</div>
<div style="display: flex; gap:2rem;"><div>
<div data-qr="https://laravel-news.com/livewire-v3-beta"></div>
<img src="assets/laravel-news.svg"/>
</div>
<div>
<div data-qr="https://livewire.laravel.com"></div>
<img src="assets/livewire-icon.svg"/>
</div>
<div>
<div data-qr="https://github.com/livewire/livewire"></div>
<img src="assets/github.svg"/>
</div>
</div>
</section>
</div>
</div>
<footer>
<img src="assets/livewire.svg" height="50px" />
<div style="font-size: 1.8rem;padding-top: 0.4rem;margin-left: -0.5rem; display: inline-flex; align-items: center; gap: 1rem;">
<span>v3</span>
<span>💬 Adrian Nürnberger</span>
<span>|</span>
<img src="assets/x-logo.svg" height="25px" />
<span>@nuernberger_me</span>
</div>
</footer>
<script src="dist/qrcode.min.js"></script>
<script>
document.querySelectorAll('[data-qr]').forEach((el) => {
el.replaceWith(new QRCode({
msg: el.dataset.qr,
pal : ["#000000", "#f2f4f8"]
}))
});
</script>
<script src="dist/reveal.js"></script>
<script src="plugin/highlight/highlight.js"></script>
<script src="plugin/highlight/blade.min.js"></script>
<script>
// More info about initialization & config:
// - https://revealjs.com/initialization/
// - https://revealjs.com/config/
Reveal.initialize({
hash: true,
progress: false,
// width: 1920,
// height: 1080,
highlight: {
beforeHighlight: hljs => hljs.registerLanguage('blade', bladeLanguage)
},
// Learn about plugins: https://revealjs.com/plugins/
plugins: [RevealHighlight]
});
Reveal.on( 'slidechanged', event => {
const root = document.querySelector(':root');
if (event.indexh >= 1) {
root.style.setProperty('--display-footer', 'flex')
} else {
root.style.setProperty('--display-footer', 'none')
}
});
</script>
</body>
</html>