(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67001,e=>{"use strict";let a=(0,e.i(77749).default)("trophy",[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]]);e.s(["Trophy",()=>a],67001)},85115,e=>{"use strict";var a=e.i(78117),t=e.i(41348),l=e.i(67001);function r({prestasi:e}){return(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map(e=>(0,a.jsxs)("a",{href:`/prestasi/${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:[e.imageUrl?(0,a.jsx)("div",{className:"aspect-[3/4] w-full overflow-hidden bg-gray-100 relative",children:(0,a.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,a.jsx)("div",{className:"aspect-[3/4] w-full bg-gray-100 flex items-center justify-center text-gray-400",children:(0,a.jsx)(l.Trophy,{className:"w-12 h-12 stroke-[1.5]"})}),(0,a.jsxs)("div",{className:"p-6 flex flex-col flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-xs text-gray-400 mb-3",children:[(0,a.jsx)(t.Calendar,{className:"w-3.5 h-3.5"}),new Date(e.createdAt).toLocaleDateString("id-ID",{day:"numeric",month:"long",year:"numeric"})]}),(0,a.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,a.jsx)("p",{className:"text-gray-500 text-sm leading-relaxed line-clamp-4 flex-1",children:e.narasi}),(0,a.jsx)("div",{className:"mt-4 pt-4 border-t border-gray-100 text-right",children:(0,a.jsx)("span",{className:"inline-flex items-center gap-1 text-[#E63946] font-semibold text-sm",children:"Baca selengkapnya →"})})]})]},e.id))})}e.s(["default",()=>r])}]);