'use client'; import { useTranslations } from 'next-intl'; import { useState } from 'react'; import Image from 'next/image'; import dynamic from 'next/dynamic'; const Lightbox = dynamic(() => import('@/components/Lightbox'), { ssr: false }); import { Section, Container, Heading } from '@/components/ui'; export default function Gallery() { const t = useTranslations('Team'); const [lightboxOpen, setLightboxOpen] = useState(false); const [lightboxIndex, setLightboxIndex] = useState(0); const teamGalleryImages = [ '/uploads/2024/12/DSC07539-Large-600x400.webp', '/uploads/2024/12/DSC07460-Large-600x400.webp', '/uploads/2024/12/DSC07469-Large-600x400.webp', '/uploads/2024/12/DSC07433-Large-600x400.webp', '/uploads/2024/12/DSC07387-Large-600x400.webp' ]; return (
{t('gallery.title')}
{teamGalleryImages.map((src, idx) => ( ))}
setLightboxOpen(false)} />
); }