Skip to content

Commit 4f846b5

Browse files
✨ Update contributor images scaling and enhance layout in welcome view
1 parent bc45672 commit 4f846b5

File tree

1 file changed

+54
-7
lines changed

1 file changed

+54
-7
lines changed

resources/views/welcome.blade.php

Lines changed: 54 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ class="group grid size-12 place-items-center overflow-hidden rounded-full opacit
892892
<img
893893
src="https://avatars.githubusercontent.com/u/1408020?v=4"
894894
alt="Eser DENIZ - NativePHP contributor"
895-
class="h-full w-full object-cover transition duration-300 ease-out will-change-transform group-hover:scale-125"
895+
class="h-full w-full object-cover transition duration-300 ease-out will-change-transform group-hover:scale-110"
896896
loading="lazy"
897897
width="48"
898898
height="48"
@@ -909,7 +909,7 @@ class="group grid size-12 place-items-center overflow-hidden rounded-full opacit
909909
<img
910910
src="https://avatars.githubusercontent.com/u/12668624?v=4"
911911
alt="A G - NativePHP contributor"
912-
class="h-full w-full object-cover transition duration-300 ease-out will-change-transform group-hover:scale-125"
912+
class="h-full w-full object-cover transition duration-300 ease-out will-change-transform group-hover:scale-110"
913913
loading="lazy"
914914
width="48"
915915
height="48"
@@ -926,7 +926,7 @@ class="group grid size-12 place-items-center overflow-hidden rounded-full opacit
926926
<img
927927
src="https://avatars.githubusercontent.com/u/17123491?v=4"
928928
alt="Willem Leuverink - NativePHP contributor"
929-
class="h-full w-full object-cover transition duration-300 ease-out will-change-transform group-hover:scale-125"
929+
class="h-full w-full object-cover transition duration-300 ease-out will-change-transform group-hover:scale-110"
930930
loading="lazy"
931931
width="48"
932932
height="48"
@@ -943,7 +943,7 @@ class="group grid size-12 place-items-center overflow-hidden rounded-full opacit
943943
<img
944944
src="https://avatars.githubusercontent.com/u/9081809?v=4"
945945
alt="Peter Bishop - NativePHP contributor"
946-
class="h-full w-full object-cover transition duration-300 ease-out will-change-transform group-hover:scale-125"
946+
class="h-full w-full object-cover transition duration-300 ease-out will-change-transform group-hover:scale-110"
947947
loading="lazy"
948948
width="48"
949949
height="48"
@@ -954,10 +954,57 @@ class="h-full w-full object-cover transition duration-300 ease-out will-change-t
954954
href="https://github.com/NativePHP/laravel/graphs/contributors"
955955
target="_blank"
956956
rel="noopener"
957-
class="group grid size-12 place-items-center overflow-hidden rounded-full border-[1px] border-dashed border-indigo-500 bg-indigo-100 text-sm font-medium opacity-0 transition duration-300 ease-out hover:bg-indigo-200/70 dark:bg-indigo-500/20 dark:hover:bg-indigo-500/30"
957+
class="group relative z-0 grid size-12 place-items-center overflow-hidden rounded-full opacity-0"
958958
aria-label="View all additional contributors to the NativePHP project on GitHub"
959959
>
960-
40+
960+
<div
961+
class="z-10 self-center justify-self-center truncate text-center text-sm font-medium [grid-area:1/-1]"
962+
>
963+
40+
964+
</div>
965+
<svg
966+
class="-z-10 h-full w-full self-center justify-self-center [grid-area:1/-1]"
967+
viewBox="0 0 63 64"
968+
fill="none"
969+
xmlns="http://www.w3.org/2000/svg"
970+
>
971+
<rect
972+
class="text-[#C4FEE8] transition duration-300 ease-out group-hover:text-[#aeffe0] dark:text-emerald-500/30 dark:group-hover:text-emerald-500/30"
973+
x="0.75"
974+
y="1.25"
975+
width="61.5"
976+
height="61.5"
977+
rx="30.75"
978+
fill="currentColor"
979+
/>
980+
<rect
981+
x-init="
982+
() => {
983+
motion.animate(
984+
$el,
985+
{
986+
rotate: [0, 180],
987+
},
988+
{
989+
duration: 6,
990+
repeat: Infinity,
991+
repeatType: 'loop',
992+
ease: 'linear',
993+
},
994+
)
995+
}
996+
"
997+
class="origin-center text-[#8CDDBF] dark:opacity-50"
998+
x="0.75"
999+
y="1.25"
1000+
width="61.5"
1001+
height="61.5"
1002+
rx="30.75"
1003+
stroke="currentColor"
1004+
stroke-width="1.5"
1005+
stroke-dasharray="7 7"
1006+
/>
1007+
</svg>
9611008
</a>
9621009
</div>
9631010
</section>
@@ -1095,7 +1142,7 @@ class="size-7"
10951142
<img
10961143
src="{{ Vite::asset('resources/images/marcel2023laraconus.webp') }}"
10971144
alt="Marcel Pociot at Laracon US - Building Desktop Applications with PHP"
1098-
class="w-full max-w-[505px] rounded-xl ring-1 ring-black/10"
1145+
class="w-full max-w-[505px] rounded-2xl ring-1 ring-black/10"
10991146
width="505"
11001147
height="284"
11011148
loading="lazy"

0 commit comments

Comments
 (0)