import { LandingShell } from "@/components/landing/shell"; import type { LandingProps } from "@/components/landing/types"; import { imageDataSchema } from "@/lib/qr/types/image"; export function ImageLanding({ data }: LandingProps) { const { title, description, images } = imageDataSchema.parse(data); return (
{images.map((image, index) => (
{/* eslint-disable-next-line @next/next/no-img-element -- eigene Auslieferung ohne bekannte Maße; der Optimierer von Next brächte hier nichts. */} {image.caption {image.caption ? (
{image.caption}
) : null}
))}
); }