diff --git a/frontend/src/components/application/CarouselStrip.tsx b/frontend/src/components/application/CarouselStrip.tsx index cc60ed0b3..a11861926 100644 --- a/frontend/src/components/application/CarouselStrip.tsx +++ b/frontend/src/components/application/CarouselStrip.tsx @@ -13,6 +13,7 @@ import { useTranslation } from "next-i18next" import { useEffect, useRef, useState } from "react" import clsx from "clsx" import CarouselNextJsImage from "./CarouselNextJsImage" +import { CarouselJsonLd } from "next-seo" export const CarouselStrip = ({ app }: { app: Appstream }) => { const { t } = useTranslation() @@ -44,19 +45,27 @@ export const CarouselStrip = ({ app }: { app: Appstream }) => { return (
{slides && ( - setShowLightbox(false)} - plugins={[Captions]} - slides={slides} - index={currentIndex} - render={{ - buttonPrev: app.screenshots.length <= 1 ? () => null : undefined, - buttonNext: app.screenshots.length <= 1 ? () => null : undefined, - slide: CarouselNextJsImage, - }} - /> + <> + { + return { url: slide.src } + })} + /> + setShowLightbox(false)} + plugins={[Captions]} + slides={slides} + index={currentIndex} + render={{ + buttonPrev: app.screenshots.length <= 1 ? () => null : undefined, + buttonNext: app.screenshots.length <= 1 ? () => null : undefined, + slide: CarouselNextJsImage, + }} + /> + )}
{slides && slides?.length > 0 && (