(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,92195,e=>{"use strict";var t=e.i(78117),a=e.i(41348);function l({galeri:e}){return(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map(e=>(0,t.jsxs)("a",{href:`/galeri/${e.id}`,className:"group bg-white rounded-3xl overflow-hidden border border-gray-100 shadow-sm hover:shadow-xl hover:-translate-y-1 transition-all duration-300 flex flex-col cursor-pointer",children:[(0,t.jsx)("div",{className:"aspect-[3/4] w-full overflow-hidden bg-gray-100 relative",children:(0,t.jsx)("img",{src:e.imageUrl,alt:e.judul,className:"absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"})}),(0,t.jsxs)("div",{className:"p-6 flex flex-col flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-xs text-gray-400 mb-3",children:[(0,t.jsx)(a.Calendar,{className:"w-3.5 h-3.5"}),new Date(e.createdAt).toLocaleDateString("id-ID",{day:"numeric",month:"long",year:"numeric"})]}),(0,t.jsx)("h2",{className:"text-xl font-bold text-[#0B1F3A] group-hover:text-[#E63946] transition-colors mb-3 leading-tight line-clamp-2",children:e.judul}),(0,t.jsxs)("div",{className:"mt-auto pt-3 flex items-center justify-between",children:[(0,t.jsx)("span",{className:`px-2 py-0.5 rounded-full text-[10px] font-bold tracking-wider uppercase
                                ${"PRESTASI"===e.kategori?"bg-amber-100 text-amber-700":"bg-slate-100 text-slate-700"}`,children:e.kategori}),(0,t.jsx)("span",{className:"text-[#E63946] font-semibold text-sm",children:"Detail Gambar →"})]})]})]},e.id))})}e.s(["default",()=>l])}]);