Skip to content

Commit 57e26e7

Browse files
authored
homepage mobile cta button routes to /mobile (#171)
1 parent e2766bd commit 57e26e7

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

resources/views/welcome.blade.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class="truncate text-6xl font-extrabold uppercase min-[400px]:text-7xl md:text-8
4949
)
5050
}
5151
"
52-
class="truncate text-6xl font-extrabold uppercase text-violet-400 min-[400px]:text-7xl md:text-8xl"
52+
class="truncate text-6xl font-extrabold text-violet-400 uppercase min-[400px]:text-7xl md:text-8xl"
5353
aria-hidden="true"
5454
>
5555
Native
@@ -78,7 +78,7 @@ class="absolute -top-20 size-48 rounded-full bg-white/60 blur-[100px] md:-right-
7878
)
7979
}
8080
"
81-
class="absolute -right-10 -top-10"
81+
class="absolute -top-10 -right-10"
8282
>
8383
<svg
8484
xmlns="http://www.w3.org/2000/svg"
@@ -112,7 +112,7 @@ class="size-8 dark:size-6"
112112

113113
{{-- Glass shape --}}
114114
<div
115-
class="absolute -left-12 top-16 size-6 rounded-bl-xl rounded-br-3xl rounded-tl-3xl rounded-tr-xl bg-[#5A31FF]/10 ring-1 ring-white/50 backdrop-blur-xs min-[400px]:-left-14 min-[400px]:top-18 min-[400px]:size-8 md:-left-18 md:top-[5.6rem] md:size-10 dark:hidden dark:ring-gray-700/50"
115+
class="absolute top-16 -left-12 size-6 rounded-tl-3xl rounded-tr-xl rounded-br-3xl rounded-bl-xl bg-[#5A31FF]/10 ring-1 ring-white/50 backdrop-blur-xs min-[400px]:top-18 min-[400px]:-left-14 min-[400px]:size-8 md:top-[5.6rem] md:-left-18 md:size-10 dark:hidden dark:ring-gray-700/50"
116116
x-init="
117117
() => {
118118
motion.animate(
@@ -149,7 +149,7 @@ class="absolute -left-12 top-16 size-6 rounded-bl-xl rounded-br-3xl rounded-tl-3
149149
)
150150
}
151151
"
152-
class="group absolute -right-76 -top-[5.7rem] hidden items-end gap-1 text-left text-sm lg:flex"
152+
class="group absolute -top-[5.7rem] -right-76 hidden items-end gap-1 text-left text-sm lg:flex"
153153
>
154154
<div class="relative -top-1.5 -mr-6 flex items-end gap-1">
155155
{{-- Black circle --}}
@@ -284,7 +284,7 @@ class="truncate text-6xl font-extrabold uppercase min-[400px]:text-7xl md:text-8
284284

285285
{{-- Shiny line --}}
286286
<div
287-
class="absolute left-1/2 top-32 z-20 -translate-x-1/2 rotate-50 transition duration-500 ease-out will-change-transform group-hover/header:translate-x-[-55%] group-hover/header:opacity-0"
287+
class="absolute top-32 left-1/2 z-20 -translate-x-1/2 rotate-50 transition duration-500 ease-out will-change-transform group-hover/header:translate-x-[-55%] group-hover/header:opacity-0"
288288
aria-hidden="true"
289289
>
290290
<div
@@ -319,7 +319,7 @@ class="group relative"
319319
>
320320
{{-- Play button --}}
321321
<div
322-
class="absolute right-1/2 top-1/2 grid size-16 -translate-y-1/2 translate-x-1/2 place-items-center rounded-full bg-white/10 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]"
322+
class="absolute top-1/2 right-1/2 grid size-16 translate-x-1/2 -translate-y-1/2 place-items-center rounded-full bg-white/10 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]"
323323
aria-hidden="true"
324324
>
325325
<x-icons.play-button
@@ -436,7 +436,7 @@ class="transition duration-300"
436436
>
437437
<a
438438
href="/docs/desktop/1"
439-
class="group relative isolate z-0 flex h-16 items-center justify-between gap-3 overflow-hidden rounded-2xl bg-[#EBEDF2] pl-5 pr-6 leading-snug transition duration-200 ease-in-out will-change-transform hover:bg-[#e5d6ff] dark:bg-haiti dark:hover:bg-indigo-900/60"
439+
class="group dark:bg-haiti relative isolate z-0 flex h-16 items-center justify-between gap-3 overflow-hidden rounded-2xl bg-[#EBEDF2] pr-6 pl-5 leading-snug transition duration-200 ease-in-out will-change-transform hover:bg-[#e5d6ff] dark:hover:bg-indigo-900/60"
440440
aria-label="Get started with NativePHP documentation for desktop apps"
441441
x-on:mouseenter="desktopHover = true"
442442
x-on:mouseleave="desktopHover = false"
@@ -490,8 +490,8 @@ class="transition duration-300"
490490
:class="{ 'opacity-60 grayscale': desktopHover }"
491491
>
492492
<a
493-
href="/docs/mobile/1"
494-
class="group relative isolate z-0 flex h-16 items-center justify-between gap-3 overflow-hidden rounded-2xl bg-[#EBEDF2] pl-6 pr-5 leading-snug transition duration-200 ease-in-out will-change-transform hover:bg-[#e5d6ff] dark:bg-haiti dark:hover:bg-indigo-900/50"
493+
href="/mobile"
494+
class="group dark:bg-haiti relative isolate z-0 flex h-16 items-center justify-between gap-3 overflow-hidden rounded-2xl bg-[#EBEDF2] pr-5 pl-6 leading-snug transition duration-200 ease-in-out will-change-transform hover:bg-[#e5d6ff] dark:hover:bg-indigo-900/50"
495495
aria-label="Get started with NativePHP documentation for mobile apps"
496496
x-on:mouseenter="mobileHover = true"
497497
x-on:mouseleave="mobileHover = false"
@@ -664,7 +664,7 @@ class="group relative"
664664
>
665665
{{-- Play button --}}
666666
<div
667-
class="absolute right-1/2 top-1/2 grid size-16 -translate-y-1/2 translate-x-1/2 place-items-center rounded-full bg-white/10 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]"
667+
class="absolute top-1/2 right-1/2 grid size-16 translate-x-1/2 -translate-y-1/2 place-items-center rounded-full bg-white/10 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]"
668668
aria-hidden="true"
669669
>
670670
<x-icons.play-button
@@ -850,7 +850,7 @@ class="opacity-0 will-change-transform"
850850
>
851851
<a
852852
href="/docs/getting-started/sponsoring"
853-
class="group flex flex-wrap items-center justify-center gap-x-5 gap-y-3 rounded-3xl bg-gray-100 px-8 py-8 transition duration-200 ease-in-out hover:ring-1 hover:ring-black/60 md:justify-between md:px-12 md:py-10 dark:bg-mirage dark:hover:bg-haiti dark:hover:ring-cloud"
853+
class="group dark:bg-mirage dark:hover:bg-haiti dark:hover:ring-cloud flex flex-wrap items-center justify-center gap-x-5 gap-y-3 rounded-3xl bg-gray-100 px-8 py-8 transition duration-200 ease-in-out hover:ring-1 hover:ring-black/60 md:justify-between md:px-12 md:py-10"
854854
aria-label="Learn about sponsoring the NativePHP project"
855855
>
856856
<div
@@ -866,7 +866,7 @@ class="inline-flex shrink-0 flex-col-reverse items-center gap-x-5 gap-y-3 md:fle
866866
xmlns="http://www.w3.org/2000/svg"
867867
fill="none"
868868
viewBox="0 0 24 24"
869-
class="w-12 -rotate-45 transition duration-300 ease-out will-change-transform group-hover:-translate-y-0.5 group-hover:translate-x-0.5 md:w-16 md:rotate-0"
869+
class="w-12 -rotate-45 transition duration-300 ease-out will-change-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5 md:w-16 md:rotate-0"
870870
aria-hidden="true"
871871
>
872872
<path

0 commit comments

Comments
 (0)