-
-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathcourse.blade.php
More file actions
770 lines (742 loc) · 37 KB
/
course.blade.php
File metadata and controls
770 lines (742 loc) · 37 KB
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
762
763
764
765
766
767
768
769
770
<x-layout title="The NativePHP Masterclass">
<div class="mx-auto max-w-5xl">
@if (session('error'))
<div class="mt-6 rounded-2xl border border-red-200 bg-red-50 p-4 text-center text-red-700 dark:border-red-800 dark:bg-red-950/50 dark:text-red-300">
{{ session('error') }}
</div>
@endif
{{-- Hero Section --}}
<section
class="mt-12 md:mt-20"
aria-labelledby="hero-heading"
>
<div class="grid place-items-center text-center">
{{-- Badge --}}
<div
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
$el,
{
opacity: [0, 1],
scale: [0.9, 1],
},
{
duration: 0.5,
ease: motion.easeOut,
},
)
})
}
"
class="inline-flex items-center gap-2 rounded-full bg-emerald-100 px-4 py-1.5 text-sm font-medium text-emerald-700 dark:bg-emerald-900/40 dark:text-emerald-300"
>
<span class="relative flex size-2">
<span class="absolute inline-flex size-full animate-ping rounded-full bg-emerald-400 opacity-75"></span>
<span class="relative inline-flex size-2 rounded-full bg-emerald-500"></span>
</span>
Early Bird Pricing Available
</div>
{{-- Title --}}
<h1
id="hero-heading"
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
$el,
{
opacity: [0, 1],
y: [-10, 0],
},
{
duration: 0.7,
ease: motion.easeOut,
},
)
})
}
"
class="mt-6 text-4xl font-bold md:text-5xl lg:text-6xl"
>
<span class="text-gray-800 dark:text-white">The</span>
<span class="bg-gradient-to-r from-emerald-500 to-teal-500 bg-clip-text text-transparent">
NativePHP
</span>
<br />
<span class="text-gray-800 dark:text-white">Masterclass</span>
</h1>
{{-- Subtitle --}}
<p
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
$el,
{
opacity: [0, 1],
y: [10, 0],
},
{
duration: 0.7,
ease: motion.easeOut,
},
)
})
}
"
class="mx-auto mt-6 max-w-2xl text-lg text-gray-600 dark:text-gray-400"
>
Go from zero to published app. Learn to build native mobile
and desktop applications using the PHP and Laravel skills you
already have.
</p>
{{-- CTA --}}
<div
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
$el,
{
opacity: [0, 1],
y: [10, 0],
},
{
duration: 0.7,
delay: 0.2,
ease: motion.easeOut,
},
)
})
}
"
class="mt-8 flex flex-col items-center gap-4 sm:flex-row"
>
<a
href="#pricing"
class="inline-flex items-center gap-2 rounded-xl bg-emerald-600 px-8 py-4 font-semibold text-white transition hover:bg-emerald-700"
>
Get Early Bird Access — $101
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
class="size-5"
>
<path
fill-rule="evenodd"
d="M3 10a.75.75 0 0 1 .75-.75h10.638L10.23 5.29a.75.75 0 1 1 1.04-1.08l5.5 5.25a.75.75 0 0 1 0 1.08l-5.5 5.25a.75.75 0 1 1-1.04-1.08l4.158-3.96H3.75A.75.75 0 0 1 3 10Z"
clip-rule="evenodd"
/>
</svg>
</a>
<a
href="#signup"
class="text-sm font-medium text-gray-500 transition hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200"
>
or join the waitlist
</a>
</div>
</div>
</section>
{{-- What You'll Learn --}}
<section
class="mt-24"
aria-labelledby="curriculum-heading"
>
<header class="text-center">
<h2
id="curriculum-heading"
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
$el,
{
opacity: [0, 1],
y: [-10, 0],
},
{
duration: 0.7,
ease: motion.easeOut,
},
)
})
}
"
class="text-3xl font-semibold"
>
What You'll Learn
</h2>
<p
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
$el,
{
opacity: [0, 1],
y: [10, 0],
},
{
duration: 0.7,
ease: motion.easeOut,
},
)
})
}
"
class="mx-auto mt-3 max-w-2xl text-gray-600 dark:text-gray-400"
>
A complete curriculum taking you from setup to the app stores
</p>
</header>
<div
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
Array.from($el.children),
{
y: [20, 0],
opacity: [0, 1],
scale: [0.95, 1],
},
{
duration: 0.6,
ease: motion.backOut,
delay: motion.stagger(0.1),
},
)
})
}
"
class="mt-10 grid gap-6 sm:grid-cols-2 lg:grid-cols-3"
>
{{-- Module 1 --}}
<div class="rounded-2xl bg-gray-100 p-6 dark:bg-mirage">
<div class="flex size-12 items-center justify-center rounded-xl bg-emerald-100 text-emerald-600 dark:bg-emerald-900/50 dark:text-emerald-400">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path
fill-rule="evenodd"
d="M14.615 1.595a.75.75 0 0 1 .359.852L12.982 9.75h7.268a.75.75 0 0 1 .548 1.262l-10.5 11.25a.75.75 0 0 1-1.272-.71l1.992-7.302H3.75a.75.75 0 0 1-.548-1.262l10.5-11.25a.75.75 0 0 1 .913-.143Z"
clip-rule="evenodd"
/>
</svg>
</div>
<h3 class="mt-4 text-lg font-semibold">
Getting Started
</h3>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
Install NativePHP, configure your environment for mobile
and desktop, and run your first native app in minutes.
</p>
</div>
{{-- Module 2 --}}
<div class="rounded-2xl bg-gray-100 p-6 dark:bg-mirage">
<div class="flex size-12 items-center justify-center rounded-xl bg-violet-100 text-violet-600 dark:bg-violet-900/50 dark:text-violet-400">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path
d="M10.5 18.75a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z"
/>
<path
fill-rule="evenodd"
d="M8.625.75A3.375 3.375 0 0 0 5.25 4.125v15.75a3.375 3.375 0 0 0 3.375 3.375h6.75a3.375 3.375 0 0 0 3.375-3.375V4.125A3.375 3.375 0 0 0 15.375.75h-6.75ZM7.5 4.125C7.5 3.504 8.004 3 8.625 3h6.75C16.496 3 17 3.504 17 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-6.75A1.125 1.125 0 0 1 7.5 19.875V4.125Z"
clip-rule="evenodd"
/>
</svg>
</div>
<h3 class="mt-4 text-lg font-semibold">
Building for Mobile
</h3>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
Build iOS and Android apps with Livewire and Blade.
Learn navigation patterns, gestures, and mobile-first UI.
</p>
</div>
{{-- Module 3 --}}
<div class="rounded-2xl bg-gray-100 p-6 dark:bg-mirage">
<div class="flex size-12 items-center justify-center rounded-xl bg-sky-100 text-sky-600 dark:bg-sky-900/50 dark:text-sky-400">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path
fill-rule="evenodd"
d="M2.25 5.25a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3V15a3 3 0 0 1-3 3h-3v.257c0 .597.237 1.17.659 1.591l.621.622a.75.75 0 0 1-.53 1.28h-9a.75.75 0 0 1-.53-1.28l.621-.622a2.25 2.25 0 0 0 .659-1.59V18h-3a3 3 0 0 1-3-3V5.25Zm1.5 0v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5Z"
clip-rule="evenodd"
/>
</svg>
</div>
<h3 class="mt-4 text-lg font-semibold">
Building for Desktop
</h3>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
Create macOS, Windows, and Linux desktop apps. Window
management, menus, system tray, and file system access.
</p>
</div>
{{-- Module 4 --}}
<div class="rounded-2xl bg-gray-100 p-6 dark:bg-mirage">
<div class="flex size-12 items-center justify-center rounded-xl bg-amber-100 text-amber-600 dark:bg-amber-900/50 dark:text-amber-400">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path d="M12 9a3.75 3.75 0 1 0 0 7.5A3.75 3.75 0 0 0 12 9Z" />
<path
fill-rule="evenodd"
d="M9.344 3.071a49.52 49.52 0 0 1 5.312 0c.967.052 1.83.585 2.332 1.39l.821 1.317c.24.383.645.643 1.11.71.386.054.77.113 1.152.177 1.432.239 2.429 1.493 2.429 2.909V18a3 3 0 0 1-3 3H4.5a3 3 0 0 1-3-3V9.574c0-1.416.997-2.67 2.429-2.909.382-.064.766-.123 1.152-.177a1.56 1.56 0 0 0 1.11-.71l.822-1.315a2.942 2.942 0 0 1 2.332-1.39ZM6.75 12.75a5.25 5.25 0 1 1 10.5 0 5.25 5.25 0 0 1-10.5 0Zm12-1.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"
clip-rule="evenodd"
/>
</svg>
</div>
<h3 class="mt-4 text-lg font-semibold">
Native APIs
</h3>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
Access the camera, push notifications, biometrics,
haptics, sharing, and more — all from PHP.
</p>
</div>
{{-- Module 5 --}}
<div class="rounded-2xl bg-gray-100 p-6 dark:bg-mirage">
<div class="flex size-12 items-center justify-center rounded-xl bg-rose-100 text-rose-600 dark:bg-rose-900/50 dark:text-rose-400">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path
fill-rule="evenodd"
d="M12 6.75a5.25 5.25 0 0 1 6.775-5.025.75.75 0 0 1 .313 1.248l-3.32 3.319c.063.475.276.934.641 1.299.365.365.824.578 1.3.64l3.318-3.319a.75.75 0 0 1 1.248.313 5.25 5.25 0 0 1-5.472 6.756c-1.018-.086-1.87.1-2.309.634L7.344 21.3A3.298 3.298 0 1 1 2.7 16.657l8.684-7.151c.533-.44.72-1.291.634-2.309A5.342 5.342 0 0 1 12 6.75ZM4.117 19.125a.75.75 0 0 1 .75-.75h.008a.75.75 0 0 1 .75.75v.008a.75.75 0 0 1-.75.75h-.008a.75.75 0 0 1-.75-.75v-.008Z"
clip-rule="evenodd"
/>
</svg>
</div>
<h3 class="mt-4 text-lg font-semibold">
Plugins & Extensibility
</h3>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
Extend your app with the NativePHP plugin ecosystem.
Learn to use and build plugins for custom native features.
</p>
</div>
{{-- Module 6 --}}
<div class="rounded-2xl bg-gray-100 p-6 dark:bg-mirage">
<div class="flex size-12 items-center justify-center rounded-xl bg-indigo-100 text-indigo-600 dark:bg-indigo-900/50 dark:text-indigo-400">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path
fill-rule="evenodd"
d="M9.315 7.584C12.195 3.883 16.695 1.5 21.75 1.5a.75.75 0 0 1 .75.75c0 5.056-2.383 9.555-6.084 12.436A6.75 6.75 0 0 1 9.75 22.5a.75.75 0 0 1-.75-.75v-4.131A15.838 15.838 0 0 1 6.382 15H2.25a.75.75 0 0 1-.75-.75 6.75 6.75 0 0 1 7.815-6.666ZM15 6.75a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5Z"
clip-rule="evenodd"
/>
<path d="M5.26 17.242a.75.75 0 1 0-.897-1.203 5.243 5.243 0 0 0-2.05 5.022.75.75 0 0 0 .625.627 5.243 5.243 0 0 0 5.022-2.051.75.75 0 1 0-1.202-.897 3.744 3.744 0 0 1-3.008 1.51c0-1.23.592-2.323 1.51-3.008Z" />
</svg>
</div>
<h3 class="mt-4 text-lg font-semibold">
Deploy & Publish
</h3>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
Ship to the App Store, Google Play, and desktop platforms.
Use Bifrost for cloud builds and continuous deployment.
</p>
</div>
</div>
</section>
{{-- Who It's For --}}
<section
class="mt-24"
aria-labelledby="audience-heading"
>
<header class="text-center">
<h2
id="audience-heading"
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
$el,
{
opacity: [0, 1],
y: [-10, 0],
},
{
duration: 0.7,
ease: motion.easeOut,
},
)
})
}
"
class="text-3xl font-semibold"
>
Who Is This For?
</h2>
<p class="mx-auto mt-3 max-w-2xl text-gray-600 dark:text-gray-400">
This masterclass is built for developers who want to go
native without starting from scratch
</p>
</header>
<div
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
Array.from($el.children),
{
y: [30, 0],
opacity: [0, 1],
},
{
duration: 0.7,
ease: motion.backOut,
delay: motion.stagger(0.15),
},
)
})
}
"
class="mt-10 grid gap-6 lg:grid-cols-3"
>
{{-- Persona 1 --}}
<div class="rounded-2xl bg-gradient-to-br from-emerald-50 to-white p-8 ring-1 ring-emerald-200 dark:from-emerald-950/30 dark:to-gray-900 dark:ring-emerald-800/50">
<div class="flex size-12 items-center justify-center rounded-xl bg-emerald-100 text-emerald-600 dark:bg-emerald-900/50 dark:text-emerald-400">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path
fill-rule="evenodd"
d="M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm14.25 6a.75.75 0 0 1-.22.53l-2.25 2.25a.75.75 0 1 1-1.06-1.06L15.44 12l-1.72-1.72a.75.75 0 1 1 1.06-1.06l2.25 2.25c.141.14.22.331.22.53Zm-10.28-.53a.75.75 0 0 0 0 1.06l2.25 2.25a.75.75 0 1 0 1.06-1.06L8.56 12l1.72-1.72a.75.75 0 1 0-1.06-1.06l-2.25 2.25Z"
clip-rule="evenodd"
/>
</svg>
</div>
<h3 class="mt-4 text-lg font-semibold text-emerald-700 dark:text-emerald-400">
Laravel Developers
</h3>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
You already build web apps with Laravel. Now you want to
ship real native mobile and desktop apps — without
learning Swift, Kotlin, or Dart.
</p>
</div>
{{-- Persona 2 --}}
<div class="rounded-2xl bg-gradient-to-br from-violet-50 to-white p-8 ring-1 ring-violet-200 dark:from-violet-950/30 dark:to-gray-900 dark:ring-violet-800/50">
<div class="flex size-12 items-center justify-center rounded-xl bg-violet-100 text-violet-600 dark:bg-violet-900/50 dark:text-violet-400">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path
fill-rule="evenodd"
d="M7.5 6a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM3.751 20.105a8.25 8.25 0 0 1 16.498 0 .75.75 0 0 1-.437.695A18.683 18.683 0 0 1 12 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 0 1-.437-.695Z"
clip-rule="evenodd"
/>
</svg>
</div>
<h3 class="mt-4 text-lg font-semibold text-violet-700 dark:text-violet-400">
PHP Developers
</h3>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
You know PHP inside and out. This course shows you how
to leverage that expertise to build apps that run natively
on any device.
</p>
</div>
{{-- Persona 3 --}}
<div class="rounded-2xl bg-gradient-to-br from-sky-50 to-white p-8 ring-1 ring-sky-200 dark:from-sky-950/30 dark:to-gray-900 dark:ring-sky-800/50">
<div class="flex size-12 items-center justify-center rounded-xl bg-sky-100 text-sky-600 dark:bg-sky-900/50 dark:text-sky-400">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="currentColor"
class="size-6"
>
<path d="M15.75 8.25a.75.75 0 0 1 .75.75c0 1.12-.492 2.126-1.27 2.812a.75.75 0 1 1-.992-1.124A2.243 2.243 0 0 0 15 9a.75.75 0 0 1 .75-.75Z" />
<path
fill-rule="evenodd"
d="M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25ZM4.575 15.6a8.25 8.25 0 0 0 9.348 4.425 1.966 1.966 0 0 0-1.84-1.275.983.983 0 0 1-.97-.822l-.073-.437c-.094-.565.25-1.11.8-1.267l.99-.282c.427-.122.708-.53.654-.968a5.539 5.539 0 0 0-2.082-3.567 3.75 3.75 0 0 0-4.92.702 3.753 3.753 0 0 1-.847.849 1.5 1.5 0 0 1-2.078-.312c-.2-.267-.39-.542-.566-.826Zm5.507-8.373a.75.75 0 0 1 .468-.951 3.75 3.75 0 0 1 3.525.448 3.75 3.75 0 0 1-.463 6.535l-.972.486a.75.75 0 1 1-.67-1.342l.972-.486a2.25 2.25 0 0 0 .278-3.92 2.25 2.25 0 0 0-2.115-.27.75.75 0 0 1-.951-.467l.928-.033Z"
clip-rule="evenodd"
/>
</svg>
</div>
<h3 class="mt-4 text-lg font-semibold text-sky-700 dark:text-sky-400">
Web Developers
</h3>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
Tired of being told you need to learn a completely new
stack for native apps? This course proves you don't.
</p>
</div>
</div>
</section>
{{-- Pricing --}}
<section
id="pricing"
class="mt-24"
aria-labelledby="pricing-heading"
>
<header class="text-center">
<h2
id="pricing-heading"
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
$el,
{
opacity: [0, 1],
y: [-10, 0],
},
{
duration: 0.7,
ease: motion.easeOut,
},
)
})
}
"
class="text-3xl font-semibold"
>
Simple Pricing
</h2>
<p class="mx-auto mt-3 max-w-2xl text-gray-600 dark:text-gray-400">
One price. Full access. No subscriptions.
</p>
</header>
<div
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
$el,
{
opacity: [0, 1],
scale: [0.95, 1],
},
{
duration: 0.7,
ease: motion.backOut,
},
)
})
}
"
class="mx-auto mt-10 max-w-lg"
>
<div class="relative overflow-hidden rounded-3xl bg-gradient-to-br from-emerald-50 to-teal-50 p-10 ring-2 ring-emerald-300 dark:from-emerald-950/40 dark:to-teal-950/40 dark:ring-emerald-700">
{{-- Badge --}}
<div class="absolute right-6 top-6 rounded-full bg-emerald-600 px-3 py-1 text-xs font-bold text-white">
EARLY BIRD
</div>
<h3 class="text-lg font-semibold text-emerald-700 dark:text-emerald-400">
The NativePHP Masterclass
</h3>
<div class="mt-4 flex items-baseline gap-2">
<span class="text-5xl font-bold text-gray-900 dark:text-white">
$101
</span>
<span class="text-gray-500 dark:text-gray-400">
one-time payment
</span>
</div>
<ul class="mt-8 space-y-3">
<li class="flex items-center gap-3">
<x-icons.checkmark class="size-5 shrink-0 text-emerald-600 dark:text-emerald-400" />
<span class="text-sm text-gray-700 dark:text-gray-300">Full mobile + desktop curriculum</span>
</li>
<li class="flex items-center gap-3">
<x-icons.checkmark class="size-5 shrink-0 text-emerald-600 dark:text-emerald-400" />
<span class="text-sm text-gray-700 dark:text-gray-300">Lifetime access to all content</span>
</li>
<li class="flex items-center gap-3">
<x-icons.checkmark class="size-5 shrink-0 text-emerald-600 dark:text-emerald-400" />
<span class="text-sm text-gray-700 dark:text-gray-300">Future updates included</span>
</li>
<li class="flex items-center gap-3">
<x-icons.checkmark class="size-5 shrink-0 text-emerald-600 dark:text-emerald-400" />
<span class="text-sm text-gray-700 dark:text-gray-300">Source code for all example projects</span>
</li>
<li class="flex items-center gap-3">
<x-icons.checkmark class="size-5 shrink-0 text-emerald-600 dark:text-emerald-400" />
<span class="text-sm text-gray-700 dark:text-gray-300">Access to private community</span>
</li>
</ul>
<form
action="{{ route('course.checkout') }}"
method="POST"
class="mt-8"
id="checkout-form"
>
@csrf
<button
type="submit"
class="flex w-full items-center justify-center gap-2 rounded-xl bg-emerald-600 px-8 py-4 text-center font-semibold text-white transition hover:bg-emerald-700"
>
Get Early Bird Access
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
class="size-5"
>
<path
fill-rule="evenodd"
d="M3 10a.75.75 0 0 1 .75-.75h10.638L10.23 5.29a.75.75 0 1 1 1.04-1.08l5.5 5.25a.75.75 0 0 1 0 1.08l-5.5 5.25a.75.75 0 1 1-1.04-1.08l4.158-3.96H3.75A.75.75 0 0 1 3 10Z"
clip-rule="evenodd"
/>
</svg>
</button>
</form>
<p class="mt-4 text-center text-xs text-gray-500 dark:text-gray-400">
Early bird pricing won't last forever. Lock in the lowest price today.
</p>
</div>
</div>
</section>
{{-- Timeline / Availability --}}
<section
class="mt-24"
aria-labelledby="timeline-heading"
>
<div
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
$el,
{
opacity: [0, 1],
y: [20, 0],
},
{
duration: 0.7,
ease: motion.easeOut,
},
)
})
}
"
class="mx-auto max-w-2xl text-center"
>
<h2
id="timeline-heading"
class="text-3xl font-semibold"
>
When Can I Start?
</h2>
<p class="mt-4 text-lg text-gray-600 dark:text-gray-400">
The NativePHP Masterclass is coming <strong class="text-gray-900 dark:text-white">Summer/Fall 2026</strong>.
We're putting the finishing touches on the content to make sure it's the best learning experience possible.
</p>
<p class="mt-4 text-gray-600 dark:text-gray-400">
Grab the early bird price now and you'll be first in line when the doors open.
Sign up below to stay in the loop.
</p>
</div>
</section>
{{-- Email Signup --}}
<section
id="signup"
class="mt-24 pb-24"
aria-labelledby="signup-heading"
>
<div
x-init="
() => {
motion.inView($el, (element) => {
motion.animate(
$el,
{
opacity: [0, 1],
y: [20, 0],
},
{
duration: 0.7,
ease: motion.easeOut,
},
)
})
}
"
class="rounded-2xl bg-gray-100 p-10 text-center dark:bg-mirage"
>
<h2
id="signup-heading"
class="text-2xl font-semibold"
>
Not Ready to Buy?
</h2>
<p class="mx-auto mt-3 max-w-xl text-gray-600 dark:text-gray-400">
Join the waitlist and we'll let you know when the masterclass
launches, plus get exclusive early access content.
</p>
<form
action="https://simonhamp.mailcoach.app/subscribe/67c51b1c-f7e3-4bbd-a6b8-e68dbed8c31f"
method="post"
class="mx-auto mt-8 flex max-w-md flex-col gap-3 sm:flex-row"
>
<input
type="email"
name="email"
placeholder="you@example.com"
required
class="flex-1 rounded-xl border border-gray-300 bg-white px-4 py-3 text-sm text-gray-900 placeholder-gray-400 focus:border-emerald-500 focus:ring-emerald-500 dark:border-gray-700 dark:bg-gray-800 dark:text-white dark:placeholder-gray-500"
/>
{{-- Honeypot --}}
<div class="absolute -left-[9999px]">
<label for="website-honeypot">Your honeypot</label>
<input
type="text"
id="website-honeypot"
name="honeypot"
tabindex="-1"
autocomplete="nope"
/>
</div>
<button
type="submit"
class="rounded-xl bg-gray-900 px-6 py-3 text-sm font-semibold text-white transition hover:bg-gray-800 dark:bg-white dark:text-gray-900 dark:hover:bg-gray-100"
>
Join Waitlist
</button>
</form>
</div>
</section>
</div>
@auth
@if (request('checkout'))
<script>
document.getElementById('checkout-form').submit();
</script>
@endif
@endauth
</x-layout>