We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 424f750 commit 44bd62aCopy full SHA for 44bd62a
src/components/widget/performers.tsx
@@ -6,6 +6,7 @@ import Lenis from "@studio-freight/lenis";
6
import { useGSAP } from "@gsap/react";
7
import { tedxsjecAssetsPrefix } from "@/lib/utils";
8
import { Dialog, DialogContent } from "@/components/ui/dialog";
9
+import Image from "next/image";
10
gsap.registerPlugin(ScrollTrigger);
11
12
interface PerformerSection {
@@ -156,7 +157,7 @@ export default function Component() {
156
157
onClick={() => handleSectionClick(section)}
158
>
159
{section.images.map((image, imageIndex) => (
- <img
160
+ <Image
161
key={imageIndex}
162
src={image}
163
alt={`Performer section ${sectionIndex + 1}, slide ${imageIndex + 1} of ${section.images.length}`}
0 commit comments