Loheide-eu-mitarbeiterplatt.../public/build/assets/NewsCard-CV4VT1rB.js
Friederich Loheide 21307fc953
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m6s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m4s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 7m25s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 8m3s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 10m26s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 9m49s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 9m1s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 8m41s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 45s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m6s
Herzen und Kommentare schon in der Vorschau (0.44.0)
- NewsPost::withStats: Herzen (Anzahl, eigenes) und Kommentare (Anzahl) für
  alle Vorschau-Abfragen: Übersicht, Widgets, Slider, Block, Profil, „Weitere Beiträge“, API
- NewsPostResource: „comments“ (null bei ausgeschalteten Kommentaren)
- NewsStats.vue in Karte, Listeneintrag, Block-Layouts, Slider und Seitenleiste

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-27 20:44:37 +00:00

1 line
No EOL
1.2 KiB
JavaScript

import{D as e,E as t,On as n,_ as r,b as i,mt as a,qt as o,tr as s,v as c,y as l}from"./runtime-core.esm-bundler-B8D2lM98.js";import{i as u}from"./dist--2OKCVzt.js";import{F as d}from"./app-vgCvlyPj.js";import{n as f,t as p}from"./NewsImage-DBgj_Se6.js";import{t as m}from"./NewsStats-DomVmVv9.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)=>(a(),c(n(u),{href:`/neuigkeiten/${y.post.slug}`,class:`group flex h-full flex-col overflow-hidden rounded-lg border bg-card transition-shadow hover:shadow-md`},{default:o(()=>[e(p,{src:y.post.thumb_url,alt:y.post.title},null,8,[`src`,`alt`]),r(`div`,h,[e(f,{category:y.post.category},null,8,[`category`]),r(`h3`,g,s(y.post.title),1),y.post.teaser?(a(),i(`p`,_,s(y.post.teaser),1)):l(``,!0),r(`p`,v,[t(s(n(d)(y.post.published_at))+` · `+s(y.post.reading_minutes)+` Min. `,1),e(m,{post:y.post,class:`ml-auto`},null,8,[`post`])])])]),_:1},8,[`href`]))}};export{y as t};