(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[529],{16622:function(e,t,s){Promise.resolve().then(s.bind(s,81741))},66648:function(e,t,s){"use strict";s.d(t,{default:function(){return o.a}});var i=s(55601),o=s.n(i)},55601:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var s in t)Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}(t,{default:function(){return a},getImageProps:function(){return n}});let i=s(99920),o=s(80497),l=s(38173),r=i._(s(21241));function n(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:r.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,s]of Object.entries(t))void 0===s&&delete t[e];return{props:t}}let a=l.Image},81741:function(e,t,s){"use strict";s.r(t);var i=s(57437),o=s(66648);let l=[{id:1,title:"Class Project",src:"https://images.pexels.com/photos/207692/pexels-photo-207692.jpeg"},{id:2,title:"Field Trip",src:"https://images.pexels.com/photos/1708936/pexels-photo-1708936.jpeg"},{id:3,title:"Science Fair",src:"https://images.pexels.com/photos/1181675/pexels-photo-1181675.jpeg"}];t.default=()=>(0,i.jsxs)("div",{className:"p-6 bg-gray-50 min-h-screen",children:[(0,i.jsxs)("div",{className:"flex justify-between items-center mb-8",children:[(0,i.jsx)("h1",{className:"text-2xl font-bold text-gray-800",children:"Class Gallery"}),(0,i.jsx)("button",{className:"bg-gray-900 text-white px-5 py-2 rounded-lg text-sm font-bold hover:bg-black",children:"+ Upload Photo"})]}),(0,i.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:l.map(e=>(0,i.jsxs)("div",{className:"relative aspect-video rounded-2xl overflow-hidden group cursor-pointer",children:[(0,i.jsx)(o.default,{src:e.src,alt:e.title,fill:!0,className:"object-cover transition-transform duration-500 group-hover:scale-110"}),(0,i.jsx)("div",{className:"absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 transition-opacity flex items-center justify-center",children:(0,i.jsx)("span",{className:"text-white font-bold text-lg",children:e.title})})]},e.id))})]})}},function(e){e.O(0,[8173,2971,7023,1744],function(){return e(e.s=16622)}),_N_E=e.O()}]);