diff --git a/components/officeLightbox/OfficeLightbox.tsx b/components/officeLightbox/OfficeLightbox.tsx index 2ae23dd..17bc908 100644 --- a/components/officeLightbox/OfficeLightbox.tsx +++ b/components/officeLightbox/OfficeLightbox.tsx @@ -1,3 +1,4 @@ +/* eslint-disable react/no-unescaped-entities */ 'use client' import { ChevronLeftIcon, ChevronRightIcon } from '@heroicons/react/24/outline'; import { Mouse } from '@playwright/test'; @@ -30,61 +31,62 @@ const OfficeLightbox: React.FC = () => { const handleNext = (event: React.MouseEvent) => { event.stopPropagation(); setCurrentIndex(prevIndex => (prevIndex === images.length -1 ? 0 : prevIndex +1)); - setSelectedImage(images[currentIndex +1 >= images.length ? 0 : currentIndex +1]) - } + setSelectedImage(images[currentIndex +1 >= images.length ? 0 : currentIndex +1]); + }; return ( -
-
-

Coworking copy

-

Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorem quo quibusdam ipsam aliquid sequi, qui alias. Repellat quasi exercitationem impedit, officia odio veniam pariatur temporibus reprehenderit aspernatur, perferendis soluta quaerat.

+
+
+

Looking for office space?
we have you covered!

+

Explore a practical coworking space in the heart of Antwerp's Kammenstraat. Our cozy office setup is designed for productivity, offering a limited number of spots. Secure your place in the city center and be part of a workspace that balances comfort and inspiration.

+
-
-
+
+
{images.map((image, index) => ( {`Image openLightbox(image, index)} - className="cursor-pointer" + className="cursor-pointer h-36 border rounded-lg border-primary-50" width={600} - height={275} + height={400} /> ))}
-
- - {/* Render the lightbox when an image is selected */} - {selectedImage && ( -
-
- Selected Image -
- - -
- )}
+ + {selectedImage && ( +
+
+ Selected Image +
+ + +
+ )} +
); }; export default OfficeLightbox; -