File tree Expand file tree Collapse file tree 2 files changed +8
-26
lines changed
resources/views/components Expand file tree Collapse file tree 2 files changed +8
-26
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class="h-5"
4444 () => {
4545 motion.inView($el, (element) => {
4646 motion.animate(
47- $refAll('socialLink' ),
47+ Array.from($el.children ),
4848 {
4949 y: [10, 0],
5050 opacity: [0, 1],
@@ -58,7 +58,7 @@ class="h-5"
5858 })
5959 }
6060 "
61- class =" flex flex-wrap items-center justify-center gap-2.5"
61+ class =" flex flex-wrap items-center justify-center gap-2.5 *:opacity-0 "
6262 aria-label =" Social networks"
6363 >
6464 <x-social-networks-all />
Original file line number Diff line number Diff line change 1- <div
2- x-ref =" socialLink"
3- class =" opacity-0"
4- >
1+ <div >
52 <a
63 href =" https://bsky.app/profile/nativephp.bsky.social"
74 title =" Bluesky"
@@ -13,10 +10,7 @@ class="size-[1.1rem] text-black transition duration-200 group-hover:text-violet-
1310 </a >
1411</div >
1512
16- <div
17- x-ref =" socialLink"
18- class =" opacity-0"
19- >
13+ <div >
2014 <a
2115 href =" https://discord.gg/X62tWNStZK"
2216 title =" Go to discord server"
@@ -28,10 +22,7 @@ class="size-[1.1rem] text-black transition duration-200 group-hover:text-violet-
2822 </a >
2923</div >
3024
31- <div
32- x-ref =" socialLink"
33- class =" opacity-0"
34- >
25+ <div >
3526 <a
3627 href =" https://opencollective.com/nativephp"
3728 title =" NativePHP on Open Collective"
@@ -43,10 +34,7 @@ class="size-[1.1rem] text-black transition duration-200 hover:invert-0 group-hov
4334 </a >
4435</div >
4536
46- <div
47- x-ref =" socialLink"
48- class =" opacity-0"
49- >
37+ <div >
5038 <a
5139 href =" https://github.com/nativephp"
5240 title =" Source code of NativePHP"
@@ -58,10 +46,7 @@ class="size-[1.1rem] transition duration-200 group-hover:fill-violet-400 dark:fi
5846 </a >
5947</div >
6048
61- <div
62- x-ref =" socialLink"
63- class =" opacity-0"
64- >
49+ <div >
6550 <a
6651 href =" https://pinkary.com/@nativephp "
6752 title =" NativePHP on Pinkary"
@@ -73,10 +58,7 @@ class="size-[1.1rem] text-black transition duration-200 hover:invert-0 group-hov
7358 </a >
7459</div >
7560
76- <div
77- x-ref =" socialLink"
78- class =" opacity-0"
79- >
61+ <div >
8062 <a
8163 href =" https://www.linkedin.com/company/nativephp/"
8264 title =" NativePHP on LinkedIn"
You can’t perform that action at this time.
0 commit comments