Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m8s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m12s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m12s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m5s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m6s
CI / Build-Artefakte aktuell (pull_request) Failing after 43s
- Neuigkeiten mit Kategorien, Titelbild (WebP-Varianten), Lesezeit, geplanter Veröffentlichung und Hervorhebung; Text wird beim Speichern bereinigt - Termine mit Ort, Online-Link, ganztägigen Terminen und .ics-Export - Startseite nach Intranet-Vorbild: Slider, Neuigkeiten, Termine, Aktuelles aus den Bereichen; mobil in sinnvoller Reihenfolge - Admin: Beiträge, Kategorien und Termine - Bildverarbeitung für Shared Hosting: nur eine Vollbild-Kopie im Speicher, Speicherlimit bei Bedarf auf 256 MB angehoben (wie WordPress) - Demo-Inhalte für die Entwicklung Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 line
No EOL
2 KiB
JavaScript
1 line
No EOL
2 KiB
JavaScript
import{J as e,K as t,Sn as n,Ut as r,Y as i,lr as a,n as o,nt as s,q as c,rr as l}from"./app-CsynT-MH.js";import{A as u}from"./BrandLogo-BTmxPYut.js";import{o as d}from"./format-Dlm0nTI_.js";var f=u({name:`newspaper`,size:24,node:[[`path`,{d:`M15 18h-5`,key:`95g1m2`}],[`path`,{d:`M18 14h-8`,key:`sponae`}],[`path`,{d:`M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2`,key:`39pd36`}],[`rect`,{width:`8`,height:`4`,x:`10`,y:`6`,rx:`1`,key:`aywv1n`}]]}),p={key:0,class:`text-[11px] font-semibold tracking-wide text-brand-text uppercase`},m={__name:`CategoryLabel`,props:{category:{type:Object,default:null}},setup(t){return(n,o)=>t.category?(r(),i(`span`,p,a(t.category.name),1)):e(``,!0)}},h={class:`relative aspect-video overflow-hidden bg-muted`},g=[`src`,`alt`],_={key:1,class:`grid size-full place-items-center bg-brand-soft`},v={__name:`NewsImage`,props:{src:{type:String,default:null},alt:{type:String,default:``}},setup(e){return(t,n)=>(r(),i(`div`,h,[e.src?(r(),i(`img`,{key:0,src:e.src,alt:e.alt,loading:`lazy`,class:`size-full object-cover`},null,8,g)):(r(),i(`div`,_,[s(l(f),{class:`size-1/4 max-h-10 max-w-10 text-brand-text opacity-60`,"stroke-width":1.5})]))]))}},y={class:`flex flex-1 flex-col p-4`},b={class:`mt-1 line-clamp-2 text-[15px] leading-snug font-semibold group-hover:underline`},x={key:0,class:`mt-1.5 line-clamp-2 text-[13px] text-muted-foreground`},S={class:`mt-auto pt-3 text-xs text-muted-foreground`},C={__name:`NewsCard`,props:{post:{type:Object,required:!0}},setup(u){return(f,p)=>(r(),c(l(o),{href:`/neuigkeiten/${u.post.slug}`,class:`group flex h-full flex-col overflow-hidden rounded-lg border bg-card transition-shadow hover:shadow-md`},{default:n(()=>[s(v,{src:u.post.thumb_url,alt:u.post.title},null,8,[`src`,`alt`]),t(`div`,y,[s(m,{category:u.post.category},null,8,[`category`]),t(`h3`,b,a(u.post.title),1),u.post.teaser?(r(),i(`p`,x,a(u.post.teaser),1)):e(``,!0),t(`p`,S,a(l(d)(u.post.published_at))+` · `+a(u.post.reading_minutes)+` Min.`,1)])]),_:1},8,[`href`]))}};export{f as i,v as n,m as r,C as t}; |