1
1
<section
2
2
class =" mt-2"
3
3
aria-labelledby =" hero-title"
4
+ role =" region"
4
5
>
5
6
<div
6
7
class =" relative z-0 flex flex-col overflow-hidden rounded-2xl bg-gradient-to-t from-[#E0E5EB] to-[#F9F9F9] px-5 pt-8 pb-10 ring-1 ring-zinc-200/50 lg:px-10 lg:pt-8 lg:pb-17 xl:pt-10 dark:from-slate-950 dark:to-slate-900 dark:ring-slate-800"
@@ -29,40 +30,52 @@ class="order-last mt-7 flex justify-center text-xs lg:order-first lg:mt-0 lg:-mb
29
30
"
30
31
class =" flex flex-wrap justify-center gap-2 lg:flex-col lg:items-end lg:gap-1.5"
31
32
>
32
- <h5
33
+ <p
33
34
class =" w-full text-center font-light lg:w-auto dark:font-extralight"
34
35
>
35
36
Try our
36
37
<span class =" font-medium" >Demo</span >
37
38
app:
38
- </h5 >
39
+ </p >
39
40
<div >
40
41
<a
41
42
href =" https://play.google.com/store/apps/details?id=com.nativephp.kitchensinkapp"
42
43
target =" _blank"
44
+ rel =" noopener noreferrer"
43
45
class =" flex items-center gap-2 rounded-xl bg-white/70 px-3 py-2.5 backdrop-blur-md transition duration-200 will-change-transform hover:scale-98 hover:bg-white dark:bg-slate-500/25 dark:hover:bg-slate-500/40"
44
46
>
45
- <x-icons .play-store class =" h-4.5 2xl:h-5" />
47
+ <x-icons .play-store
48
+ class =" h-4.5 2xl:h-5"
49
+ aria-hidden =" true"
50
+ />
46
51
<div >Play Store</div >
47
52
</a >
48
53
</div >
49
54
<div >
50
55
<a
51
56
href =" https://play.google.com/store/apps/details?id=com.nativephp.kitchensinkapp"
52
57
target =" _blank"
58
+ rel =" noopener noreferrer"
53
59
class =" flex items-center gap-2 rounded-xl bg-white/70 px-3 py-2.5 backdrop-blur-md transition duration-200 will-change-transform hover:scale-98 hover:bg-white dark:bg-slate-500/25 dark:hover:bg-slate-500/40"
54
60
>
55
- <x-icons .app-store class =" h-4.5 2xl:h-5" />
61
+ <x-icons .app-store
62
+ class =" h-4.5 2xl:h-5"
63
+ aria-hidden =" true"
64
+ />
56
65
<div >App Store</div >
57
66
</a >
58
67
</div >
59
68
<div >
60
69
<a
61
70
href =" https://github.com/nativephp"
62
71
target =" _blank"
72
+ rel =" noopener noreferrer"
63
73
class =" flex items-center gap-2 rounded-xl bg-white/70 px-3 py-2.5 backdrop-blur-md transition duration-200 will-change-transform hover:scale-98 hover:bg-white dark:bg-slate-500/25 dark:hover:bg-slate-500/40"
64
74
>
65
- <x-icons .github class =" h-4.5 2xl:h-5" />
75
+ <x-icons .github
76
+ class =" h-4.5 2xl:h-5"
77
+ aria-hidden =" true"
78
+ />
66
79
<div >Source code</div >
67
80
</a >
68
81
</div >
@@ -77,6 +90,7 @@ class="flex items-center gap-2 rounded-xl bg-white/70 px-3 py-2.5 backdrop-blur-
77
90
<img
78
91
src =" {{ Vite:: asset (' resources/images/home/macbook.webp' ) } }"
79
92
alt =" "
93
+ aria-hidden =" true"
80
94
class =" relative z-0 w-full self-center justify-self-center [grid-area:1/-1] dark:brightness-80 dark:contrast-150"
81
95
width =" 400"
82
96
height =" 250"
@@ -116,11 +130,13 @@ class="grid grow place-items-center bg-[#fdfdfc] dark:bg-[#0a0a0a]"
116
130
<img
117
131
src =" {{ Vite:: asset (' resources/images/home/laravel_welcome_light.webp' ) } }"
118
132
alt =" "
133
+ aria-hidden =" true"
119
134
class =" w-55 self-center justify-self-center [grid-area:1/-1] dark:opacity-0"
120
135
/>
121
136
<img
122
137
src =" {{ Vite:: asset (' resources/images/home/laravel_welcome_dark.webp' ) } }"
123
138
alt =" "
139
+ aria-hidden =" true"
124
140
class =" w-55 self-center justify-self-center opacity-0 [grid-area:1/-1] dark:opacity-100"
125
141
/>
126
142
</div >
@@ -131,6 +147,7 @@ class="w-55 self-center justify-self-center opacity-0 [grid-area:1/-1] dark:opac
131
147
<img
132
148
src =" {{ Vite:: asset (' resources/images/home/iphone.webp' ) } }"
133
149
alt =" "
150
+ aria-hidden =" true"
134
151
class =" relative z-2 -ml-15 w-18 sm:-ml-18 sm:w-23 2xl:-ml-25 2xl:w-30 dark:brightness-80 dark:contrast-150"
135
152
width =" 92"
136
153
height =" 190"
@@ -202,6 +219,7 @@ class="flex items-center gap-2 text-sm 2xl:text-base"
202
219
<x-dynamic-component
203
220
:component =" $feature['icon']"
204
221
class =" size-5 2xl:size-6"
222
+ aria-hidden =" true"
205
223
/>
206
224
<div class =" text-gray-700 dark:text-slate-300" >
207
225
{{ $feature [' label' ] } }
@@ -222,6 +240,7 @@ class="flex items-center gap-2 text-sm 2xl:text-base"
222
240
<x-dynamic-component
223
241
:component =" $feature['icon']"
224
242
class =" size-5 2xl:size-6"
243
+ aria-hidden =" true"
225
244
/>
226
245
<div class =" text-gray-700 dark:text-slate-300" >
227
246
{{ $feature [' label' ] } }
@@ -250,6 +269,7 @@ class="flex items-center gap-2 text-sm 2xl:text-base"
250
269
<x-dynamic-component
251
270
:component =" $feature['icon']"
252
271
class =" size-5 2xl:size-6"
272
+ aria-hidden =" true"
253
273
/>
254
274
<div class =" text-gray-700 dark:text-slate-300" >
255
275
{{ $feature [' label' ] } }
@@ -270,6 +290,7 @@ class="flex items-center gap-2 text-sm 2xl:text-base"
270
290
<x-dynamic-component
271
291
:component =" $feature['icon']"
272
292
class =" size-5 2xl:size-6"
293
+ aria-hidden =" true"
273
294
/>
274
295
<div class =" text-gray-700 dark:text-slate-300" >
275
296
{{ $feature [' label' ] } }
@@ -341,6 +362,7 @@ class="absolute -top-4 -left-4"
341
362
}
342
363
"
343
364
class =" size-4 text-gray-500"
365
+ aria-hidden =" true"
344
366
/>
345
367
</div >
346
368
@@ -416,7 +438,7 @@ class="-mb-1.5 size-1 rounded-full bg-white ring-[3px] ring-black dark:bg-black/
416
438
<a
417
439
href =" https://www.youtube.com/watch?v=WOTSjPFXQ2k"
418
440
target =" _blank"
419
- rel =" noopener"
441
+ rel =" noopener noreferrer "
420
442
class =" relative -top-5 grid size-10 place-items-center rounded-full bg-black/20 text-white ring-1 ring-white/10 backdrop-blur-sm transition duration-300 ease-in-out will-change-transform group-hover:scale-110 group-hover:text-[#d4fd7d] dark:bg-slate-500/20 dark:group-hover:text-[#9c90f0]"
421
443
aria-label =" Watch NativePHP introduction video on YouTube"
422
444
>
@@ -451,7 +473,7 @@ class="text-xs font-normal text-gray-600 2xl:text-sm dark:text-white/50"
451
473
<a
452
474
href =" https://www.youtube.com/watch?v=WOTSjPFXQ2k"
453
475
target =" _blank"
454
- rel =" noopener"
476
+ rel =" noopener noreferrer "
455
477
aria-label =" Watch Simon Hamp's Laracon EU talk about building mobile apps with PHP"
456
478
>
457
479
<img
@@ -490,7 +512,7 @@ class="xs:text-lg xs:mt-5 mx-auto mt-4 max-w-4xl text-center leading-relaxed tex
490
512
<a
491
513
href =" https://www.php.net"
492
514
target =" _blank"
493
- rel =" noopener"
515
+ rel =" noopener noreferrer "
494
516
class =" inline-block font-medium text-gray-900 transition duration-200 will-change-transform hover:-translate-y-0.5 dark:text-white"
495
517
aria-label =" Learn more about PHP programming language"
496
518
>
@@ -500,7 +522,7 @@ class="inline-block font-medium text-gray-900 transition duration-200 will-chang
500
522
<a
501
523
href =" https://laravel.com"
502
524
target =" _blank"
503
- rel =" noopener"
525
+ rel =" noopener noreferrer "
504
526
class =" inline-block font-medium text-gray-900 transition duration-200 will-change-transform hover:-translate-y-0.5 dark:text-white"
505
527
aria-label =" Learn more about Laravel framework"
506
528
>
@@ -606,7 +628,7 @@ class="absolute -bottom-12 -left-5 -z-20 h-20 w-44 rounded-full bg-transparent b
606
628
<a
607
629
href =" https://www.youtube.com/watch?v=WOTSjPFXQ2k"
608
630
target =" _blank"
609
- rel =" noopener"
631
+ rel =" noopener noreferrer "
610
632
class =" group relative"
611
633
aria-label =" Watch introduction to NativePHP for Mobile"
612
634
>
0 commit comments