import{j as e,H as r}from"./app-BRoRPa4x.js";import{N as l,F as n}from"./Footer-DMFO-n_M.js";import{m as i}from"./proxy-iYr3ghlA.js";import"./index-CHm4akKZ.js";const o={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15,delayChildren:.3}}},c={hidden:{y:20,opacity:0},visible:{y:0,opacity:1,transition:{duration:.5,ease:"easeOut"}}};function p({setting:s,galleries:t}){return e.jsxs("div",{className:"min-h-screen bg-gray-100 font-sans antialiased",children:[e.jsx(r,{title:"Our Gallery"}),e.jsx(l,{setting:s}),e.jsx("div",{className:"relative bg-gradient-to-r from-blue-600 to-indigo-700 py-20 text-white",children:e.jsxs("div",{className:"container mx-auto px-6 text-center",children:[e.jsx("h1",{className:"text-4xl font-bold mb-2",children:"Our Gallery"}),e.jsx("p",{className:"text-lg opacity-90",children:"A visual journey through our work and achievements."})]})}),e.jsx("section",{className:"py-12",children:e.jsx("div",{className:"container mx-auto px-6",children:t.length>0?e.jsx(i.div,{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6",variants:o,initial:"hidden",whileInView:"visible",viewport:{once:!0,amount:.2},children:t.map(a=>e.jsxs(i.div,{className:"bg-white rounded-lg shadow-md overflow-hidden group",variants:c,whileHover:{scale:1.03},children:[e.jsxs("a",{href:a.url||a.image_url,target:"_blank",rel:"noopener noreferrer",className:"block relative overflow-hidden",children:[e.jsx("img",{src:a.image_url,alt:a.title,className:"w-full object-contain transform group-hover:scale-105 transition-transform duration-300"}),a.url&&e.jsx("div",{className:"absolute inset-0 bg-black bg-opacity-50 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:e.jsx("span",{className:"text-white text-lg font-semibold",children:"View Project"})})]}),e.jsxs("div",{className:"p-4",children:[e.jsx("h2",{className:"text-xl font-semibold text-gray-800 mb-1",children:a.title}),e.jsx("p",{className:"text-gray-600 text-sm",children:a.description})]})]},a.id))}):e.jsx("p",{className:"text-center text-gray-600",children:"No gallery items found."})})}),e.jsx(n,{setting:s})]})}export{p as default};
