We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52dd94d commit 960393aCopy full SHA for 960393a
src/app/conf/2025/components/gallery-strip/index.tsx
@@ -70,21 +70,14 @@ function GalleryStripImage({
70
return (
71
<div role="presentation" className="relative md:px-2">
72
<Image
73
+ data-index={index}
74
src={image}
75
alt=""
76
role="presentation"
77
// intrinsic 799x533
78
height={320}
- width={480}
79
- className={clsx(
80
- "pointer-events-none h-[320px] w-auto object-cover",
81
- // Alternate between 3 widths
82
- index % 4 === 2
83
- ? "w-[200px]"
84
- : index % 3 === 2
85
- ? "w-[420px]"
86
- : "w-[480px]",
87
- )}
+ width={index % 4 === 2 ? 200 : index % 3 === 2 ? 420 : 480}
+ className="pointer-events-none h-[320px] object-cover"
88
/>
89
</div>
90
)
0 commit comments