import{j as s}from"./vendor-laZsiqLO.js";import{P as a}from"./PostCard-S-gB25Ls.js";import{S as m}from"./separator-DMopkgTA.js";import"./badge-CJ9RzXvO.js";import"./utils-RgT4yCq8.js";import"./card-BKDXjfy_.js";import"./useTranslation-BW0o-tkY.js";function n({section:r}){return!r||!r.posts||r.posts.length===0?null:s.jsxs("section",{className:"mb-12",children:[s.jsx("h2",{className:"text-3xl font-extrabold mb-4 border-s-4 border-primary ps-4",children:r.name}),s.jsx(m,{className:"mb-6"}),s.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:r.posts.map(o=>s.jsx(a,{post:o},o.id))})]})}export{n as default};
