/* eslint-disable react/no-unescaped-entities */ 'use client' import { ChevronLeftIcon, ChevronRightIcon } from '@heroicons/react/24/outline'; import { Mouse } from '@playwright/test'; import Image from 'next/image'; import React, { useState } from 'react'; const OfficeLightbox: React.FC = () => { const [selectedImage, setSelectedImage] = useState(null); const [currentIndex, setCurrentIndex] = useState(0); const images = [ '/office1.jpeg', '/office5.jpeg', '/office3.jpeg', '/office2.jpeg', '/office6.jpeg', '/office8.jpeg' ]; const openLightbox = (image: string, index: number) => { setSelectedImage(image); setCurrentIndex(index); }; const closeLightbox = () => { setSelectedImage(null); }; const handlePrev = (event: React.MouseEvent) => { event.stopPropagation(); setCurrentIndex(prevIndex => (prevIndex === 0 ? images.length -1 : prevIndex -1)); setSelectedImage(images[currentIndex -1 < 0 ? images.length -1 : currentIndex -1]); }; 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]); }; return (

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 h-36 border rounded-lg border-primary-50" width={600} height={400} /> ))}
{selectedImage && (
Selected Image
)}
); }; export default OfficeLightbox;