update styling to gallery
This commit is contained in:
parent
a5ac68610b
commit
41f8b179e6
@ -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>
|
||||||
);
|
);
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user