'use client' import { useState } from 'react'; import Footer from "@/components/Footer/Footer"; import Image from "next/image"; import Link from "next/link"; import styles from "./gallery.module.css"; import { galleryData } from "@/utils/constant"; import { motion, AnimatePresence } from "framer-motion"; const categories = ['All', 'Food', 'Interior']; export default function GalleryContent() { const [activeTab, setActiveTab] = useState('All'); const [lightboxOpen, setLightboxOpen] = useState(false); const [currentIndex, setCurrentIndex] = useState(0); // Animation variants const heroVariants = { hidden: { opacity: 0, y: -20 }, visible: { opacity: 1, y: 0, transition: { duration: 0.8 } } }; const tabsVariants = { hidden: { opacity: 0, y: 20 }, visible: { opacity: 1, y: 0, transition: { duration: 0.6, staggerChildren: 0.1 } } }; const tabVariants = { hidden: { opacity: 0, y: 10 }, visible: { opacity: 1, y: 0, transition: { duration: 0.4 } } }; const gridVariants = { hidden: { opacity: 0 }, visible: { opacity: 1, transition: { staggerChildren: 0.08, delayChildren: 0.1 } } }; const imageVariants = { hidden: { opacity: 0, scale: 0.9 }, visible: { opacity: 1, scale: 1, transition: { duration: 0.5 } } }; const filteredImages = activeTab === 'All' ? galleryData : galleryData.filter(img => img.category === activeTab); const openLightbox = (index: number) => { setCurrentIndex(index); setLightboxOpen(true); }; const closeLightbox = () => { setLightboxOpen(false); }; const nextImage = (e: React.MouseEvent) => { e.stopPropagation(); setCurrentIndex((prev) => (prev + 1) % filteredImages.length); }; const prevImage = (e: React.MouseEvent) => { e.stopPropagation(); setCurrentIndex((prev) => (prev - 1 + filteredImages.length) % filteredImages.length); }; return (

Our Gallery

Home / Gallery

Gallery Section Decorative Dinner Icon ANTALYA Gallery Section Decorative Cutlery Icon

A Visual Journey Through Authentic Turkish Dining

Explore our gallery that captures the flavours, artistry, and elegance of Antalya. From charcoal-grilled kebabs to handcrafted baklava and vibrant interiors, every image reflects our passion for culinary excellence and warm Turkish hospitality.

{categories.map(category => ( setActiveTab(category)} variants={tabVariants} whileHover={{ scale: 1.05 }} whileTap={{ scale: 0.95 }} > {category} ))} {filteredImages.map((img, index) => ( openLightbox(index)} variants={imageVariants} whileHover={{ scale: 1.05, transition: { duration: 0.3 } }} > {img.alt}
View
))}
{lightboxOpen && ( e.stopPropagation()} initial={{ scale: 0.8, opacity: 0 }} animate={{ scale: 1, opacity: 1 }} exit={{ scale: 0.8, opacity: 0 }} transition={{ duration: 0.3 }} > {filteredImages[currentIndex].alt} )}
); }