@@ -232,7 +232,7 @@ class="mx-auto max-w-2xl pt-4 text-base/relaxed text-gray-600 sm:text-lg/relaxed
232
232
class =" mt-7 w-full max-w-56"
233
233
>
234
234
<a
235
- href =" #enter -to-win "
235
+ href =" #how -to-enter "
236
236
class =" flex items-center justify-center gap-2.5 rounded-2xl bg-zinc-800 px-6 py-4 text-white transition duration-200 hover:bg-zinc-900 dark:bg-violet-400/80 dark:drop-shadow-xl dark:drop-shadow-transparent dark:hover:bg-violet-400 dark:hover:drop-shadow-violet-400/30"
237
237
>
238
238
Enter to Win
@@ -289,7 +289,7 @@ class="text-center text-3xl font-extrabold sm:text-4xl"
289
289
})
290
290
}
291
291
"
292
- class =" mt-10 flex flex-col items-center justify-center gap-x-6 gap-y- 8 lg:flex-row lg:items-start"
292
+ class =" mt-10 flex flex-col items-center justify-center gap-8 lg:flex-row lg:items-start"
293
293
>
294
294
<div
295
295
class =" flex flex-col items-center gap-x-7 gap-y-5 sm:flex-row lg:flex-col"
@@ -454,4 +454,118 @@ class="h-8 lg:h-9"
454
454
</div >
455
455
</div >
456
456
</section >
457
+
458
+ {{-- How to enter --}}
459
+ <section
460
+ id =" how-to-enter"
461
+ class =" mx-auto mt-20 max-w-5xl px-5"
462
+ >
463
+ <div
464
+ x-init ="
465
+ () => {
466
+ motion.inView($el, (element) => {
467
+ motion.animate(
468
+ $el,
469
+ {
470
+ opacity: [0, 1],
471
+ x: [-10, 0],
472
+ },
473
+ {
474
+ duration: 0.7,
475
+ ease: motion.easeOut,
476
+ },
477
+ )
478
+ })
479
+ }
480
+ "
481
+ class =" rounded-2xl bg-[#F4F1EE] p-12 dark:bg-[#1a1a2e]"
482
+ >
483
+ {{-- Header --}}
484
+ <header class =" text-center" >
485
+ <h2 class =" text-4xl font-bold sm:text-5xl" >How to enter</h2 >
486
+ <h6 class =" pt-2 text-slate-600 dark:text-gray-400" >
487
+ Increase your chances with each step
488
+ </h6 >
489
+ </header >
490
+
491
+ {{-- List --}}
492
+ <div class =" mt-8 space-y-4" >
493
+ <a
494
+ href =" https://x.com/nativephp"
495
+ target =" _blank"
496
+ class =" group dark:bg-mirage flex items-center justify-between gap-5 rounded-2xl bg-white/50 p-6 transition duration-300 hover:bg-white/80 dark:hover:bg-slate-700/40"
497
+ >
498
+ {{-- Left side --}}
499
+ <div
500
+ class =" flex flex-col items-start gap-x-2 gap-y-1 sm:flex-row sm:items-center"
501
+ >
502
+ <div
503
+ class =" font-medium text-nowrap opacity-40 transition duration-300 group-hover:text-indigo-500 group-hover:opacity-100"
504
+ >
505
+ Step 1:
506
+ </div >
507
+ <h3 class =" font-medium opacity-90" >
508
+ Retweet the Ticket Giveaway on X/Bluesky
509
+ </h3 >
510
+ </div >
511
+
512
+ {{-- Icon --}}
513
+ <x-icons .right-arrow
514
+ class =" size-3.5 shrink-0 transition duration-300 group-hover:translate-x-1"
515
+ aria-hidden =" true"
516
+ />
517
+ </a >
518
+ <a
519
+ href =" https://youtube.com/@NativePHPOfficial "
520
+ target =" _blank"
521
+ class =" group dark:bg-mirage flex items-center justify-between gap-5 rounded-2xl bg-white/50 p-6 transition duration-300 hover:bg-white/80 dark:hover:bg-slate-700/40"
522
+ >
523
+ {{-- Left side --}}
524
+ <div
525
+ class =" flex flex-col items-start gap-x-2 gap-y-1 sm:flex-row sm:items-center"
526
+ >
527
+ <div
528
+ class =" font-medium text-nowrap opacity-40 transition duration-300 group-hover:text-indigo-500 group-hover:opacity-100"
529
+ >
530
+ Step 2:
531
+ </div >
532
+ <h3 class =" font-medium opacity-90" >
533
+ Subscribe to NativePHP on YouTube
534
+ </h3 >
535
+ </div >
536
+
537
+ {{-- Icon --}}
538
+ <x-icons .right-arrow
539
+ class =" size-3.5 shrink-0 transition duration-300 group-hover:translate-x-1"
540
+ aria-hidden =" true"
541
+ />
542
+ </a >
543
+ <a
544
+ href =" https://nativephp.app.test/newsletter"
545
+ target =" _blank"
546
+ class =" group dark:bg-mirage flex items-center justify-between gap-5 rounded-2xl bg-white/50 p-6 transition duration-300 hover:bg-white/80 dark:hover:bg-slate-700/40"
547
+ >
548
+ {{-- Left side --}}
549
+ <div
550
+ class =" flex flex-col items-start gap-x-2 gap-y-1 sm:flex-row sm:items-center"
551
+ >
552
+ <div
553
+ class =" font-medium text-nowrap opacity-40 transition duration-300 group-hover:text-indigo-500 group-hover:opacity-100"
554
+ >
555
+ Step 3:
556
+ </div >
557
+ <h3 class =" font-medium opacity-90" >
558
+ Subscribe to our newsletter
559
+ </h3 >
560
+ </div >
561
+
562
+ {{-- Icon --}}
563
+ <x-icons .right-arrow
564
+ class =" size-3.5 shrink-0 transition duration-300 group-hover:translate-x-1"
565
+ aria-hidden =" true"
566
+ />
567
+ </a >
568
+ </div >
569
+ </div >
570
+ </section >
457
571
</x-layout >
0 commit comments