(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14],{665:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/home/components/gallery-light-box",function(){return r(2818)}])},2818:function(e,n,r){"use strict";r.r(n),r.d(n,{default:function(){return i}});var a=r(5893),l=r(7294);r(5737);var t=r(216);function i(){var e;let[n,r]=(0,l.useState)(!1),[i,s]=(0,l.useState)(0),{frontContent:c}=(0,t.a)(),o=(null==c?void 0:null===(e=c.galleries)||void 0===e?void 0:e.map(e=>({src:e.image_url,alt:"Graduation Ceremony"})))||[];return(0,a.jsx)(a.Fragment,{children:o.length>0&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"py-10 bg-gray-100",children:(0,a.jsxs)("div",{className:"container mx-auto",children:[(0,a.jsx)("h2",{className:"text-3xl font-bold text-center text-gray-800 mb-3 text-primaryRed",children:"Gallery"}),(0,a.jsx)("div",{className:"grid",children:(0,a.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:o.map((e,n)=>(0,a.jsx)("button",{className:"relative overflow-hidden rounded-lg",children:(0,a.jsx)("img",{src:e.src,alt:e.alt||"Gallery image",className:"w-full h-48 object-cover hover:scale-105 transition"})},n))})})]})})})})}},5737:function(){}},function(e){e.O(0,[774,888,179],function(){return e(e.s=665)}),_N_E=e.O()}]);