1import{u as c,j as e,L as m,C as d}from"./index-xiHmsbwW.js";import{u as x}from"./useQuery-DfpKWyh8.js";import{P as g,S as u}from"./Section-D-jqfQ8n.js";import{C as f}from"./card-D-F8_TGl.js";import{A as h}from"./arrow-right-DY5_ujix.js";import"./chevron-right-C8VU1lGd.js";async function p(){const r=await fetch("/blog-posts.json");if(!r.ok)throw new Error("Failed to load blog posts");return r.json()}function L(){const{i18n:r}=c(),a=(r.resolvedLanguage||r.language)==="mr",t=(s,n)=>a?n:s,{data:l,isLoading:o,error:i}=x({queryKey:["blog-posts"],queryFn:p,staleTime:1e3*60*60});return e.jsxs(e.Fragment,{children:[e.jsx(g,{eyebrow:t("Blog","बà¥à¤²à¥à¤"),title:t("Insights, awareness & expert care","माहितà¥, à¤à¤¨à¤à¤¾à¤à¥à¤¤à¥ à¤à¤£à¤¿ तà¤à¥à¤à¥à¤ à¤à¤¾à¤³à¤à¥"),subtitle:t("Articles by Dr. Kamthe's Piles Clinic on piles, fissure, fistula, Ayurvedic care and digestive wellness.","डà¥. à¤à¤¾à¤®à¤ ॠपाà¤à¤²à¥à¤¸ à¤à¥à¤²à¤¿à¤¨à¤¿à¤à¤à¥ मà¥à¤³à¤µà¥à¤¯à¤¾à¤§, फिशर, फिसà¥à¤¤à¥à¤²à¤¾, à¤à¤¯à¥à¤°à¥à¤µà¥à¤¦à¤¿à¤ à¤à¤¾à¤³à¤à¥ à¤à¤£à¤¿ पà¤à¤¨ à¤à¤°à¥à¤à¥à¤¯à¤¾à¤µà¤°à¥à¤² लà¥à¤.")}),e.jsxs(u,{children:[o&&e.jsx("p",{className:"text-center text-muted-foreground",children:t("Loading articlesâ¦","लà¥à¤ लà¥à¤¡ हà¥à¤¤ à¤à¤¹à¥à¤¤â¦")}),i&&e.jsx("p",{className:"text-center text-destructive",children:t("Failed to load articles.","लà¥à¤ लà¥à¤¡ à¤à¤°à¤£à¥à¤¯à¤¾à¤¤ à¤
यशसà¥à¤µà¥.")}),l&&e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-6",children:l.map(s=>e.jsx(m,{to:"/blog/$slug",params:{slug:s.slug},className:"group",children:e.jsxs(f,{className:"overflow-hidden h-full flex flex-col transition-all hover:shadow-elevated hover:-translate-y-1",children:[s.thumbnail&&e.jsx("div",{className:"aspect-video overflow-hidden bg-muted",children:e.jsx("img",{src:s.thumbnail,alt:s.title,loading:"lazy",className:"w-full h-full object-cover transition-transform group-hover:scale-105"})}),e.jsxs("div",{className:"p-5 flex-1 flex flex-col",children:[e.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[e.jsx(d,{className:"size-3.5"}),new Date(s.date).toLocaleDateString(a?"mr-IN":"en-IN",{day:"numeric",month:"long",year:"numeric"})]}),e.jsx("h2",{className:"mt-2 font-semibold text-lg leading-snug text-foreground group-hover:text-primary transition-colors line-clamp-3",dangerouslySetInnerHTML:{__html:s.title}}),s.excerpt&&e.jsx("p",{className:"mt-2 text-sm text-muted-foreground line-clamp-3 flex-1",children:s.excerpt}),e.jsxs("span",{className:"mt-4 inline-flex items-center gap-1 text-sm font-semibold text-primary",children:[t("Read more","à¤
धिठवाà¤à¤¾")," ",e.jsx(h,{className:"size-3.5"})]})]})]})},s.id))})]})]})}export{L as component};
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.