PageSourceSearch

https://cidadessemfome.org/assets/transparencia.conselho-DcGem92s.js

js cidadessemfome.org collected 2026-10-02 17:30:11 UTC 2,453 bytes, 1 lines download raw bytes

1import{r as s,s as n,j as e,L as d,a as i}from"./main-Dp6gAyj-.js";import{A as c}from"./arrow-left-CClv3oRq.js";function u(){const[a,t]=s.useState([]),[o,l]=s.useState(!0);return s.useEffect(()=>{n.from("council_members").select("id,name,role,bio,photo_url,linkedin_url,sort_order,active").eq("active",!0).order("sort_order").then(({data:r})=>{t(r||[]),l(!1)})},[]),e.jsx("section",{className:"bg-background py-20",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-5 lg:px-8",children:[e.jsxs(d,{to:"/transparencia",className:"inline-flex items-center gap-2 text-xs font-bold uppercase tracking-wider text-primary hover:underline",children:[e.jsx(c,{className:"h-3.5 w-3.5"})," Transparência"]}),e.jsx("p",{className:"section-kicker mt-4",children:"Conselho"}),e.jsx("h1",{className:"section-title max-w-4xl",children:"Quem cuida da governança da organização."}),e.jsx("p",{className:"mt-4 max-w-2xl text-muted-foreground",children:"O conselho é responsável por garantir o cumprimento da missão, da ética e da transparência da Cidades Sem Fome."}),o?e.jsx("p",{className:"mt-10 text-sm text-muted-foreground",children:"Carregando..."}):a.length===0?e.jsx("div",{className:"mt-10 rounded-lg border border-dashed border-border bg-card p-10 text-center text-sm text-muted-foreground",children:"Os membros do conselho serão apresentados em breve."}):e.jsx("div",{className:"mt-10 grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:a.map(r=>e.jsxs("article",{className:"overflow-hidden rounded-lg border border-border bg-card shadow-card",children:[e.jsx("div",{className:"aspect-square w-full overflow-hidden bg-muted",children:r.photo_url?e.jsx("img",{src:r.photo_url,alt:r.name,className:"h-full w-full object-cover"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center text-xs text-muted-foreground",children:"sem foto"})}),e.jsxs("div",{className:"p-5",children:[e.jsx("h2",{className:"font-display text-xl font-black text-azul",children:r.name}),r.role&&e.jsx("p",{className:"mt-1 text-sm font-semibold text-primary",children:r.role}),r.bio&&e.jsx("p",{className:"mt-3 text-sm leading-6 text-muted-foreground",children:r.bio}),r.linkedin_url&&e.jsxs("a",{href:r.linkedin_url,target:"_blank",rel:"noopener noreferrer",className:"mt-4 inline-flex items-center gap-1.5 text-xs font-bold text-primary hover:underline",children:[e.jsx(i,{className:"h-3.5 w-3.5"})," LinkedIn"]})]})]},r.id))})]})})}export{u 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.