module.exports=[24895,a=>{"use strict";var b=a.i(81139),c=a.i(50683);function d({galeri:a}){return(0,b.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:a.map(a=>(0,b.jsxs)("a",{href:`/galeri/${a.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,b.jsx)("div",{className:"aspect-[3/4] w-full overflow-hidden bg-gray-100 relative",children:(0,b.jsx)("img",{src:a.imageUrl,alt:a.judul,className:"absolute inset-0 w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"})}),(0,b.jsxs)("div",{className:"p-6 flex flex-col flex-1",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 text-xs text-gray-400 mb-3",children:[(0,b.jsx)(c.Calendar,{className:"w-3.5 h-3.5"}),new Date(a.createdAt).toLocaleDateString("id-ID",{day:"numeric",month:"long",year:"numeric"})]}),(0,b.jsx)("h2",{className:"text-xl font-bold text-[#0B1F3A] group-hover:text-[#E63946] transition-colors mb-3 leading-tight line-clamp-2",children:a.judul}),(0,b.jsxs)("div",{className:"mt-auto pt-3 flex items-center justify-between",children:[(0,b.jsx)("span",{className:`px-2 py-0.5 rounded-full text-[10px] font-bold tracking-wider uppercase
                                ${"PRESTASI"===a.kategori?"bg-amber-100 text-amber-700":"bg-slate-100 text-slate-700"}`,children:a.kategori}),(0,b.jsx)("span",{className:"text-[#E63946] font-semibold text-sm",children:"Detail Gambar →"})]})]})]},a.id))})}a.s(["default",()=>d])}];

//# sourceMappingURL=2078d_scratch_HMF%20FPMIPA%20UPI_src_components_public_galeri-client-grid_tsx_1eb390d3._.js.map