module.exports=[70222,a=>{"use strict";var b=a.i(81139),c=a.i(50683),d=a.i(63411);function e({berita: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:`/berita/${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:[a.imageUrl?(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.jsx)("div",{className:"aspect-[3/4] w-full bg-gray-100 flex items-center justify-center text-gray-400",children:(0,b.jsx)(d.Newspaper,{className:"w-12 h-12 stroke-[1.5]"})}),(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.jsx)("p",{className:"text-gray-500 text-sm leading-relaxed line-clamp-3 flex-1",children:a.narasi}),(0,b.jsx)("div",{className:"mt-4 pt-4 border-t border-gray-100 text-right",children:(0,b.jsx)("span",{className:"inline-flex items-center gap-1 text-[#E63946] font-semibold text-sm",children:"Baca selengkapnya →"})})]})]},a.id))})}a.s(["default",()=>e])}];

//# sourceMappingURL=2078d_scratch_HMF%20FPMIPA%20UPI_src_components_public_berita-client-grid_tsx_3f884c57._.js.map