We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7542311 commit 387fb14Copy full SHA for 387fb14
1 file changed
landing/src/components/home/toolkit-lanes.tsx
@@ -17,6 +17,13 @@ type Lane = {
17
icons: [PixelIconName, PixelIconName, PixelIconName];
18
};
19
20
+const laneImage = {
21
+ displayWidth: 528,
22
+ displayHeight: 868,
23
+ intrinsicWidth: 1056,
24
+ intrinsicHeight: 1736,
25
+} as const;
26
+
27
const lanes: Lane[] = [
28
{
29
id: "interact",
@@ -155,10 +162,11 @@ export function ToolkitLanes() {
155
162
<Image
156
163
src={lane.image}
157
164
alt=""
158
- width={528}
159
- height={868}
160
- sizes="(max-width: 1024px) 100vw, 528px"
165
+ width={laneImage.intrinsicWidth}
166
+ height={laneImage.intrinsicHeight}
167
+ sizes={`(max-width: 1024px) 100vw, ${laneImage.displayWidth}px`}
161
168
className="h-full w-full object-cover"
169
+ unoptimized
170
/>
171
</div>
172
</article>
0 commit comments