1import{k as i,l as n,m as d,j as e,B as m,p as x}from"./index-BhlmJFob.js";import c from"./BlogFooter-BsXRCtEM.js";import p from"./BlogSidebar-CskW3An-.js";import{B as g}from"./Breadcrumbs-BXA42URr.js";import"./logo-gh-araxa-CZdkL16A.js";import"./clock-C5WmZDUS.js";import"./trending-up-C8JncxTD.js";const v=()=>{const{slug:a}=i(),{getCategoryBySlug:t,getPostsByCategory:r}=n(),s=t(a||""),l=r(a||"");return d({title:`${(s==null?void 0:s.name)||"Categoria"} â Blog Grande Hotel Araxá`,description:(s==null?void 0:s.description)||`Posts sobre ${(s==null?void 0:s.name)||"esta categoria"} no Blog Grande Hotel Araxá.`,canonical:`/categoria/${a}`,robots:"noindex, follow"}),e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(m,{}),e.jsxs("main",{className:"pt-20 lg:pt-24",children:[e.jsx("div",{className:"container mx-auto px-4 lg:px-8 py-4",children:e.jsx(g,{items:[{label:"InÃcio",path:"/"},{label:(s==null?void 0:s.name)||"Categoria"}]})}),e.jsxs("section",{className:"container mx-auto px-4 lg:px-8 py-8",children:[e.jsxs("div",{className:"max-w-3xl mb-10",children:[e.jsx("h1",{className:"font-heading text-4xl font-bold text-foreground mb-3",children:(s==null?void 0:s.name)||"Categoria"}),(s==null?void 0:s.description)&&e.jsx("p",{className:"text-lg text-muted-foreground",children:s.description})]}),e.jsxs("div",{className:"flex flex-col lg:flex-row gap-12",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-10 gap-y-12",children:l.map(o=>e.jsx(x,{post:o},o.id))}),l.length===0&&e.jsx("p",{className:"text-center text-muted-foreground py-12",children:"Nenhum post encontrado nesta categoria."})]}),e.jsx("div",{className:"w-full lg:w-80 flex-shrink-0",children:e.jsx(p,{})})]})]})]}),e.jsx(c,{})]})};export{v 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.