update styling to gallery

This commit is contained in:
Jacob Delgado 2023-11-12 23:29:06 -08:00
parent a5ac68610b
commit 41f8b179e6
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ const WSPGallery = ({ galleryImages }) => {
return ( return (
<div> <div>
<div className="galleryWrapper"> <div className="flex flex-wrap gap-10 items-center justify-center max-w-[620px] my-auto">
{galleryImages && {galleryImages &&
galleryImages.map((slide, index) => { galleryImages.map((slide, index) => {
return ( return (
@ -17,8 +17,8 @@ const WSPGallery = ({ galleryImages }) => {
<Image <Image
src={slide.img} src={slide.img}
alt="/" alt="/"
width={40} width={100}
height={40} height={100}
/> />
</div> </div>
); );

View File

@ -66,7 +66,7 @@ const Gallery = () => {
{/* <div className=""> {/* <div className="">
<EmblaCarousel /> <EmblaCarousel />
</div> */} </div> */}
<div className="flex flex-col w-full"> <div className="flex justify-center py-8">
<WSPGallery galleryImages={galleryImages} /> <WSPGallery galleryImages={galleryImages} />
</div> </div>
</div> </div>