@@ -97,46 +97,46 @@ export default function HeroHacking({
9797 { /* 2x2 animals */ }
9898 < div className = "grid grid-cols-2 gap-2" >
9999 { /* Cow */ }
100- < div className = "relative rounded-[20px] bg-[#93F5F3 ] overflow-hidden flex items-end justify-center" >
100+ < div className = "relative aspect-[5/3] rounded-[20px] bg-[#CCFFFE ] overflow-hidden flex items-end justify-center" >
101101 < Image
102102 src = { peepingCow }
103103 alt = "Peeking cow"
104104 width = { 520 }
105105 height = { 320 }
106- className = "w-[100%] h -auto pointer-events-none select-none"
106+ className = "h-full w -auto max-w-none pointer-events-none select-none"
107107 />
108108 </ div >
109109
110110 { /* Duck */ }
111- < div className = "relative rounded-[20px] bg-[#FFF3B6] overflow-hidden flex items-end justify-center" >
111+ < div className = "relative aspect-[5/3] rounded-[20px] bg-[#FFF3B6] overflow-hidden flex items-end justify-center" >
112112 < Image
113113 src = { peepingDuck }
114114 alt = "Peeking duck"
115115 width = { 520 }
116116 height = { 320 }
117- className = "w-[100%] h -auto pointer-events-none select-none"
117+ className = "h-full w -auto max-w-none pointer-events-none select-none"
118118 />
119119 </ div >
120120
121121 { /* Frog */ }
122- < div className = "relative rounded-[20px] bg-[#E9FBBA] overflow-hidden flex items-end justify-center" >
122+ < div className = "relative aspect-[5/3] rounded-[20px] bg-[#E9FBBA] overflow-hidden flex items-end justify-center" >
123123 < Image
124124 src = { peepingFrog }
125125 alt = "Peeking frog"
126126 width = { 520 }
127127 height = { 320 }
128- className = "w-[100%] h -auto pointer-events-none select-none"
128+ className = "h-full w -auto max-w-none pointer-events-none select-none"
129129 />
130130 </ div >
131131
132132 { /* Bunny */ }
133- < div className = "relative rounded-[20px] bg-[#FFD2D2] overflow-hidden flex items-end justify-center" >
133+ < div className = "relative aspect-[5/3] rounded-[20px] bg-[#FFD2D2] overflow-hidden flex items-end justify-center" >
134134 < Image
135135 src = { peepingBunny }
136136 alt = "Peeking bunny"
137137 width = { 520 }
138138 height = { 320 }
139- className = "w-[100%] h -auto pointer-events-none select-none"
139+ className = "h-full w -auto max-w-none pointer-events-none select-none"
140140 />
141141 </ div >
142142 </ div >
@@ -174,13 +174,13 @@ export default function HeroHacking({
174174 { /* Row 1: 3 tiles */ }
175175 < div className = "min-h-0 grid grid-cols-[50fr_30fr_20fr] gap-5" >
176176 { /* Cow */ }
177- < div className = "min-h-0 relative rounded-[28px] bg-[#93F5F3 ] backdrop-blur-xl overflow-hidden flex items-end justify-center" >
177+ < div className = "min-h-0 relative rounded-[28px] bg-[#CCFFFE ] backdrop-blur-xl overflow-hidden flex items-end justify-center" >
178178 < Image
179179 src = { peepingCow }
180180 alt = "Peeking cow"
181181 width = { 520 }
182182 height = { 320 }
183- className = "w-[100%] max- h-full h -auto pointer-events-none select-none"
183+ className = "h-full w -auto max-w-none pointer-events-none select-none"
184184 />
185185 </ div >
186186
@@ -191,7 +191,7 @@ export default function HeroHacking({
191191 alt = "Peeking duck"
192192 width = { 520 }
193193 height = { 320 }
194- className = "w-[100%] max- h-full h -auto pointer-events-none select-none"
194+ className = "h-full w -auto max-w-none pointer-events-none select-none"
195195 />
196196 </ div >
197197
@@ -202,7 +202,7 @@ export default function HeroHacking({
202202 alt = "Peeking frog"
203203 width = { 520 }
204204 height = { 320 }
205- className = "w-[100%] max- h-full h -auto pointer-events-none select-none"
205+ className = "h-full w -auto max-w-none pointer-events-none select-none"
206206 />
207207 </ div >
208208 </ div >
@@ -216,7 +216,7 @@ export default function HeroHacking({
216216 alt = "Peeking bunny"
217217 width = { 520 }
218218 height = { 320 }
219- className = "w-[100%] max- h-full h -auto pointer-events-none select-none"
219+ className = "h-full w -auto max-w-none pointer-events-none select-none"
220220 />
221221 </ div >
222222
0 commit comments