import{c as a,e as l,f as n,h as d,g as m,a as t,i as c,o,F as r,k as p,t as u}from"./app-DE5EohoY.js";import{_ as x}from"./PublicLayout-DbteHrlL.js";import"./keyboard-Dv1rPSug.js";import"./transition-DGEEpog3.js";import"./focus-management-kdTTqDTv.js";import"./use-resolve-button-type-DXPQmTZV.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./ClockIcon-DItaisvz.js";import"./XMarkIcon-DP8qbKLL.js";import"./BanknotesIcon-F0qhSNAB.js";const g={class:"max-w-7xl mx-auto px-4 py-12"},f={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"},h={class:"relative h-64 overflow-hidden"},v=["src","alt"],_={class:"p-6"},b={class:"text-lg font-bold text-slate-800 mb-2"},k={key:0,class:"text-center py-20"},S={__name:"Galeri",props:{slides:Array},setup(i){return(w,s)=>(o(),a(r,null,[l(n(d),{title:"Galeri Kegiatan"}),l(x,null,{default:m(()=>[s[3]||(s[3]=t("div",{class:"bg-emerald-700 pt-32 pb-16 text-center text-white"},[t("h1",{class:"text-4xl font-bold mb-4"},"Galeri Kegiatan"),t("p",{class:"text-emerald-100"},"Dokumentasi kegiatan dan informasi masjid")],-1)),t("div",g,[t("div",f,[(o(!0),a(r,null,p(i.slides,e=>(o(),a("div",{key:e.id,class:"group bg-white rounded-xl shadow-md overflow-hidden hover:shadow-xl transition-shadow"},[t("div",h,[t("img",{src:e.image_url,alt:e.title,class:"w-full h-full object-cover transform group-hover:scale-105 transition-transform duration-500"},null,8,v),s[0]||(s[0]=t("div",{class:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"},null,-1))]),t("div",_,[t("h3",b,u(e.title),1),s[1]||(s[1]=t("p",{class:"text-sm text-slate-500"},"Ditampilkan di TV Informasi Masjid",-1))])]))),128))]),i.slides.length===0?(o(),a("div",k,[...s[2]||(s[2]=[t("div",{class:"text-6xl mb-4"},"📷",-1),t("h3",{class:"text-xl font-bold text-slate-600"},"Belum ada foto galeri",-1),t("p",{class:"text-slate-500"},"Silakan cek kembali nanti.",-1)])])):c("",!0)])]),_:1})],64))}};export{S as default};
