1import{d,u as x,n as m,j as e,L as l,S as h}from"./index-C9q-8Zsw.js";const u=()=>{const{slug:i}=d(),{lang:s,t:a,localePath:r}=x(),t=m.find(n=>n.slug===i);if(!t)return e.jsxs("div",{className:"page-section section-container text-center",children:[e.jsx("h1",{className:"font-display text-3xl font-bold text-foreground mb-4",children:s==="en"?"Article not found":"Artikkel ikke funnet"}),e.jsx(l,{to:r("/news"),className:"text-primary hover:underline",children:a.news.backToNews})]});const o={"@context":"https://schema.org","@type":"Article",headline:t.title[s],datePublished:t.publishedAt,author:{"@type":"Person",name:t.author},publisher:{"@type":"Organization",name:"Fjord Cricket Club",url:"https://www.fjordcricket.com"},mainEntityOfPage:{"@type":"WebPage","@id":`https://www.fjordcricket.com/${s}/news/${t.slug}`},articleSection:t.category,keywords:t.tags.join(", ")};return e.jsxs(e.Fragment,{children:[e.jsx(h,{title:`${t.title[s]} â Fjord Cricket Club`,description:t.excerpt[s],path:`/news/${t.slug}`,type:"article",jsonLd:o}),e.jsxs("section",{className:"relative h-64 sm:h-80 lg:h-96 overflow-hidden",children:[e.jsx("img",{src:t.coverImage,alt:t.title[s],className:"w-full h-full object-cover",fetchPriority:"high"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-foreground
1/60 to-transparent"}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 section-container max-w-3xl pb-8",children:[e.jsx(l,{to:r("/news"),className:"text-background/80 hover:text-background text-sm mb-3 inline-block",children:a.news.backToNews}),e.jsx("h1",{className:"font-display text-3xl sm:text-4xl font-bold text-background mb-3",children:t.title[s]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-3 text-sm text-background/70",children:[e.jsxs("span",{children:[a.news.publishedOn," ",t.publishedAt]}),e.jsx("span",{children:"â¢"}),e.jsxs("span",{children:[a.news.by," ",t.author]}),e.jsx("span",{children:"â¢"}),e.jsx("span",{className:"text-secondary font-medium",children:t.category})]})]})]}),e.jsx("section",{className:"page-section",children:e.jsxs("div",{className:"section-container max-w-3xl",children:[e.jsx("div",{className:"prose prose-lg max-w-none text-muted-foreground leading-relaxed",children:t.content[s].split(` 2 3`).map((n,c)=>e.jsx("p",{className:"mb-4",children:n},c))}),t.tags.length>0&&e.jsx("div",{className:"mt-8 pt-6 border-t border-border flex flex-wrap gap-2",children:t.tags.map(n=>e.jsxs("span",{className:"px-3 py-1 bg-muted text-muted-foreground text-xs rounded-full",children:["#",n]},n))})]})})]})};export{u 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.