@@ -2,13 +2,13 @@ export default function TeamSkeleton() {
22 return (
33 < div className = "bg-tansa-blue" >
44 < div className = "bg-tansa-blue overflow-hidden" >
5- < div className = "max-w-6xl h-[300px] relative mx-auto flex items-center justify-between py-16 " >
5+ < div className = "max-w-6xl relative mx-auto flex items-center justify-between py-[clamp(2rem,6vw,4rem)] h-[clamp(180px,30vw,300px)] " >
66 < div >
7- < div className = "h-16 w-64 bg-white/20 rounded animate-pulse mb-4" />
8- < div className = "h-20 w-80 bg-white/20 rounded animate-pulse" />
7+ < div className = "h-[clamp(2rem,4vw,4rem)] w-[clamp(150px,25vw,250px)] bg-white/20 rounded animate-pulse mb-4" />
8+ < div className = "h-[clamp(2.5rem,5vw,5rem)] w-[clamp(200px,30vw,320px)] bg-white/20 rounded animate-pulse" />
99 </ div >
10- < div className = "w-[400px] bottom-[-70px ] absolute right-0" >
11- < div className = "w-[400px] h-[400px] bg-white/10 rounded animate-pulse" />
10+ < div className = "w-[clamp(200px,30vw, 400px) ] bottom-[-10% ] absolute right-0" >
11+ < div className = "w-full aspect-square bg-white/10 rounded animate-pulse" />
1212 </ div >
1313 </ div >
1414 </ div >
@@ -17,15 +17,15 @@ export default function TeamSkeleton() {
1717 { [ 1 , 2 , 3 ] . map ( ( section ) => (
1818 < div key = { section } className = "bg-tansa-cream" >
1919 < div className = "container mx-auto px-4 pt-12 text-center" >
20- < div className = "h-8 w-48 bg-gray-300 rounded animate-pulse mx-auto" />
20+ < div className = "h-[clamp(1.5rem,3vw,2rem)] w-[clamp(150px,25vw,200px)] bg-gray-300 rounded animate-pulse mx-auto" />
2121 </ div >
22- < div className = "mx-auto flex flex-wrap justify-center gap-10 pt-6 pb-6" >
22+ < div className = "mx-auto flex flex-wrap justify-center gap-[clamp(1rem,3vw,2.5rem)] pt-6 pb-6" >
2323 { [ 1 , 2 , 3 , 4 ] . map ( ( card ) => (
24- < div key = { card } className = "flex flex-col items-center w-[250px] min-h-[350px]" >
25- < div className = "w-[250px] h-[250px] bg-gray-300 rounded-md animate-pulse" />
26- < div className = "mt-2 h-6 w-32 bg-gray-300 rounded animate-pulse" />
27- < div className = "mt-1 h-4 w-24 bg-gray-300 rounded animate-pulse" />
28- < div className = "mt-1 h-4 w-28 bg-gray-300 rounded animate-pulse" />
24+ < div key = { card } className = "flex flex-col items-center w-[clamp(150px,20vw, 250px) ] min-h-[clamp(220px,28vw, 350px) ]" >
25+ < div className = "w-full aspect-square bg-gray-300 rounded-md animate-pulse" />
26+ < div className = "mt-2 h-[clamp(1rem,2vw,1.5rem)] w-[clamp(100px,15vw,150px)] bg-gray-300 rounded animate-pulse" />
27+ < div className = "mt-1 h-[clamp(0.8rem,1.5vw,1rem)] w-[clamp(80px,12vw,120px)] bg-gray-300 rounded animate-pulse" />
28+ < div className = "mt-1 h-[clamp(0.8rem,1.5vw,1rem)] w-[clamp(90px,13vw,140px)] bg-gray-300 rounded animate-pulse" />
2929 </ div >
3030 ) ) }
3131 </ div >
0 commit comments