From 98d5a6ae6bbe461e674a49441ce8b66f9af56d5b Mon Sep 17 00:00:00 2001 From: liliana <liliana.sanfilippo@uni-bielefeld.de> Date: Sat, 29 Jun 2024 18:58:30 +0200 Subject: [PATCH] gallery finally working yay --- src/components/photo-grid.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/photo-grid.tsx b/src/components/photo-grid.tsx index 55331e98..2e805995 100644 --- a/src/components/photo-grid.tsx +++ b/src/components/photo-grid.tsx @@ -1,5 +1,5 @@ /* */ - +import PhotoAlbum from "react-photo-album"; const images = [ {src:"https://static.igem.wiki/teams/5247/photos/meetup/badges.jpeg", width: 320, height: 212}, {src:"https://static.igem.wiki/teams/5247/photos/meetup/joern.jpeg", width: 320, height: 212}, @@ -38,11 +38,7 @@ export default function BFHGallery(){ return( <div> - - - {/* - <Gallery images={images} enableImageSelection={false}/> - */} + <PhotoAlbum layout="rows" photos={images} />; </div> ) } -- GitLab