PageSourceSearch

https://aabaf1885.dk/assets/VennerNyhedDetalje-CiEq1Tm7.js

js aabaf1885.dk collected 2026-09-25 07:19:25 UTC 1,709 bytes, 1 lines download raw bytes

1import{l as r,d as o,j as s,P as d,L as l,s as i}from"./index-408BZkP3.js";import{A as m}from"./ArticleContent-Bo6pJZv7.js";import{C as c}from"./chevron-left-BTF4FHev.js";const h=()=>{const{slug:a}=r(),{data:e,isLoading:t}=o({queryKey:["venner-news-detail",a],queryFn:async()=>{const{data:n}=await i.from("venner_news").select("*").eq("slug",a).single();return n},enabled:!!a});return s.jsxs(d,{children:[s.jsx("section",{className:"topbar-gradient py-10 md:py-16",children:s.jsxs("div",{className:"container",children:[s.jsxs(l,{to:"/aabs-venner/nyheder",className:"inline-flex items-center gap-1 text-topbar-foreground/70 hover:text-topbar-foreground text-sm mb-3 transition-colors",children:[s.jsx(c,{className:"w-4 h-4"})," Nyheder"]}),s.jsx("h1",{className:"font-heading text-3xl md:text-5xl text-topbar-foreground tracking-wide",children:(e==null?void 0:e.title)||"Indlæser..."}),(e==null?void 0:e.publish_date)&&s.jsxs("p",{className:"text-topbar-foreground/70 mt-2 text-sm",children:[new Date(e.publish_date).toLocaleDateString("da-DK",{day:"numeric",month:"long",year:"numeric"}),e.author_name&&` · ${e.author_name}`]})]})}),s.jsx("section",{className:"container py-10 md:py-14 max-w-3xl",children:t?s.jsxs("div",{className:"animate-pulse space-y-4",children:[s.jsx("div",{className:"h-4 bg-muted rounded w-3/4"}),s.jsx("div",{className:"h-4 bg-muted rounded w-full"})]}):e!=null&&e.content?s.jsxs(s.Fragment,{children:[e.featured_image&&s.jsx("img",{loading:"lazy",decoding:"async",src:e.featured_image,alt:e.title,className:"w-full rounded-lg mb-8"}),s.jsx(m,{content:e.content})]}):s.jsx("p",{className:"text-muted-foreground",children:"Artiklen blev ikke fundet."})})]})};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.