"use client"; import { useState } from "react"; import Image from "next/image"; import ScrollReveal from "./ScrollReveal"; import { X } from "lucide-react"; const photos = [ { src: "/images/photos/rack-build-ultrix.jpg", alt: "Ross Ultrix rack build", caption: "Ross Ultrix Router Build" }, { src: "/images/photos/rack-build-wide.jpg", alt: "Full rack build wide view", caption: "Facility Rack Infrastructure" }, { src: "/images/photos/monumental-buildout.jpg", alt: "Monumental Sports buildout", caption: "Monumental Sports Buildout" }, { src: "/images/photos/led-wall-testing.jpg", alt: "LED wall testing", caption: "LED Wall Calibration" }, { src: "/images/photos/thor-stage-setup.jpg", alt: "THOR stage setup", caption: "THOR Broadcast Stage" }, { src: "/images/photos/rack-work.jpg", alt: "Rack wiring detail", caption: "Cable Infrastructure" }, { src: "/images/photos/studio-construction.jpg", alt: "Studio under construction", caption: "Studio Construction" }, { src: "/images/photos/red-camera-closeup.jpg", alt: "RED camera closeup", caption: "RED Camera System" }, ]; export default function Gallery() { const [lightbox, setLightbox] = useState(null); return ( <> {/* Lightbox */} {lightbox !== null && (
setLightbox(null)} >
e.stopPropagation()}> {photos[lightbox].alt}

{photos[lightbox].caption}

{/* Nav arrows */} {lightbox > 0 && ( )} {lightbox < photos.length - 1 && ( )}
)} ); }