import Image from "next/image"; import styles from "./BentoGallery.module.css"; interface GalleryImage { src: string; alt: string; } interface BentoGalleryProps { images: GalleryImage[]; } export default function BentoGallery({ images }: BentoGalleryProps) { const items = images.slice(0, 6); return (
{items.map((image, index) => (
{image.alt}
))}
); }