Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 11m34s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 12m8s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 15m14s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 15m47s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m48s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 14m15s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 16m38s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 17m2s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 1m16s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m53s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 line
No EOL
1.2 KiB
JavaScript
1 line
No EOL
1.2 KiB
JavaScript
import{At as e,C as t,O as n,S as r,T as i,Tt as a,i as o,k as s,ot as c,q as l,w as u}from"./framework-Cy4cevSy.js";import{E as d}from"./app-V0HOzKwI.js";import{n as f,t as p}from"./NewsImage-Dy1ahx9-.js";import{t as m}from"./NewsStats-C0CJYjij.js";var h={class:`flex flex-1 flex-col p-4`},g={class:`mt-1 line-clamp-2 text-[15px] leading-snug font-semibold group-hover:underline`},_={key:0,class:`mt-1.5 line-clamp-2 text-[13px] text-muted-foreground`},v={class:`mt-auto flex items-center gap-1 pt-3 text-xs text-muted-foreground`},y={__name:`NewsCard`,props:{post:{type:Object,required:!0}},setup(y){return(b,x)=>(l(),t(a(o),{href:`/neuigkeiten/${y.post.slug}`,prefetch:``,"cache-for":`10s`,class:`group flex h-full flex-col overflow-hidden rounded-lg border bg-card transition-shadow hover:shadow-md`},{default:c(()=>[s(p,{src:y.post.thumb_url,alt:y.post.title},null,8,[`src`,`alt`]),r(`div`,h,[s(f,{category:y.post.category},null,8,[`category`]),r(`h3`,g,e(y.post.title),1),y.post.teaser?(l(),i(`p`,_,e(y.post.teaser),1)):u(``,!0),r(`p`,v,[n(e(a(d)(y.post.published_at))+` · `+e(y.post.reading_minutes)+` Min. `,1),s(m,{post:y.post,class:`ml-auto`},null,8,[`post`])])])]),_:1},8,[`href`]))}};export{y as t}; |