1import{b as c,k as n,d as o,j as e,P as d,L as u,s as g}from"./index-CYm_BE3J.js";const h=()=>{const{t:s}=c(),{data:l}=n("nav"),{data:t=[],isLoading:r}=o({queryKey:["public-archive-list"],queryFn:async()=>{const{data:a,error:i}=await g.from("event_archives").select("id,slug,title,slogan,feature_image_url").eq("published",!0).order("order_index",{ascending:!1});if(i)throw i;return a??[]}});return l?.cta_url,e.jsxs("main",{children:[e.jsx(d,{pageKey:"archive",title:s("archive.title"),cta:{label:s("archive.inquiry"),to:"/contact"}}),e.jsx("section",{className:"bg-black text-white py-16 md:py-24",children:e.jsx("div",{className:"container-ub-wide",children:r?e.jsx("p",{className:"text-white/60 text-center",children:s("common.loading")}):t.length===0?e.jsx("p",{className:"text-white/60 text-center",children:"â"}):e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6",children:t.map(a=>e.jsxs(u,{to:`/archive/${a.slug}`,className:"group block",children:[e.jsx("div",{className:"relative aspect-[3/4] overflow-hidden rounded-lg bg-neutral-900",children:a.feature_image_url&&e.jsx("img",{src:a.feature_image_url,alt:a.title,loading:"lazy",decoding:"async",className:"absolute inset-0 h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"})}),e.jsxs("div",{className:"mt-3",children:[e.jsx("div",{className:"text-sm font-semibold tracking-wide",children:a.title}),a.slogan&&e.jsx("div",{className:"text-xs text-white/60 mt-1",children:a.slogan})]})]},a.id))})})})]})};export{h as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.