1import{x as r,j as e,s as a,L as n}from"./index-CrlHD_rY.js";import{u as i}from"./useSuspenseQuery-CIGvVceM.js";import{P as l,M as o}from"./public-layout-Dgt4YvtQ.js";import{C as m}from"./calendar-DOVAZWO0.js";import"./useBaseQuery-C3gpq6iF.js";import"./cookie-banner-CZ9Vfr7P.js";import"./createLucideIcon-D7E4aMTN.js";import"./button-C9mq-HB0.js";import"./utils-CsI7vFqD.js";import"./clsx-B-dksMZM.js";import"./x-DbwQtEZ-.js";import"./users-CQ1L-uez.js";import"./mail-B_NaO__j.js";function k(){const{data:s}=i(r);return e.jsx(l,{children:e.jsxs("section",{className:"mx-auto max-w-5xl px-4 py-12 sm:px-6 md:py-16",children:[e.jsxs("div",{className:"text-center",children:[e.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full bg-primary/10 px-4 py-1.5 text-xs font-bold uppercase tracking-wider text-primary",children:[e.jsx(m,{className:"h-3.5 w-3.5"})," Aktuelles"]}),e.jsx("h1",{className:"mt-4 font-display text-4xl font-bold sm:text-5xl",children:"News & Events"}),e.jsx("p",{className:"mx-auto mt-4 max-w-xl text-muted-foreground",children:"Kurzfristige Neuigkeiten und Ãnderungen â zum Beispiel abweichende Ãffnungszeiten â teilen wir in unserem WhatsApp-Kanal."})]}),e.jsx("div",{className:"mt-8 flex justify-center",children:e.jsxs("a",{href:a.whatsappChannel,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full bg-primary px-6 py-3 text-sm font-bold text-primary-foreground shadow-soft transition-transform hover:-translate-y-0.5",children:[e.jsx(o,{className:"h-4 w-4"})," WhatsApp-Kanal beitreten"]})}),e.jsxs("div",{className:"mt-10 grid gap-5",children:[s.map(t=>e.jsxs(n,{to:"/news/$slug",params:{slug:t.slug},className:"group rounded-3xl border border-border bg-card p-6 shadow-soft transition-transform hover:-translate-y-0.5 sm:p-8",children:[e.jsx("p",{className:"text-xs font-semibold uppercase tracking-wider text-muted-foreground",children:new Date(t.published_at).toLocaleDateString("de-DE",{day:"2-digit",month:"long",year:"numeric"})}),e.jsx("h2",{className:"mt-1 font-display text-xl font-bold group-hover:text-primary sm:text-2xl",children:t.title}),e.jsx("p",{className:"mt-2 text-muted-foreground",children:t.excerpt}),e.jsx("p",{className:"mt-3 text-sm font-semibold text-primary",children:"Weiterlesen â"})]},t.id)),s.length===0&&e.jsx("p",{className:"text-center text-muted-foreground",children:"Aktuell keine News."})]})]})})}export{k as component};
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.