PageSourceSearch

https://granadasocial.org/_next/static/chunks/3231-56d5783bb6871283.js

js granadasocial.org collected 2026-10-06 21:33:41 UTC 7,291 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3231],{3231:(e,l,a)=>{a.r(l),a.d(l,{VolunteerRow:()=>x});var r=a(31687),t=a(65123),s=a.n(t),o=a(91520),n=a(35965),c=a(4302),i=a(72831);let d={PRESENTIAL:"Presencial",REMOTE:"Remoto",HYBRID:"Mixto",ANY:"Cualquiera"};function x(e){let{items:l,eyebrow:a="Voluntariado abierto",headingLead:t="Match con",headingAccent:x="causas",subtitle:m="Pasa cartas, marca lo que te mueve, y la entidad recibe tu inter\xe9s directamente. Sin intermediarios.",ctaLabel:p="Ver todas"}=e;if(!l.length)return(0,r.jsx)("section",{className:"py-20 md:py-24 overflow-hidden",children:(0,r.jsx)("div",{className:"mx-auto max-w-[1600px] px-6",children:(0,r.jsxs)("div",{className:"rounded-2xl border-2 border-dashed p-12 md:p-16 text-center max-w-3xl mx-auto",style:{borderColor:"var(--color-news-border)",background:"var(--color-news-bg-soft)"},children:[(0,r.jsx)("div",{className:"mb-4 flex justify-center",style:{color:"var(--color-news-accent)",opacity:.6},children:(0,r.jsx)(o.rK,{name:"mano",size:56})}),(0,r.jsx)("div",{className:"text-[11px] uppercase tracking-[0.4em] font-bold mb-3",style:{color:"var(--color-news-accent)"},children:"✦ Voluntariado abierto"}),(0,r.jsx)("h2",{className:"text-3xl md:text-5xl font-black leading-tight mb-4 tracking-tight",style:{color:"var(--color-news-fg)",letterSpacing:"-0.03em"},children:"Conecta con tu causa"}),(0,r.jsx)("p",{className:"text-lg max-w-2xl mx-auto mb-8",style:{color:"var(--color-news-fg-soft)"},children:"Pronto ver\xe1s aqu\xed oportunidades de las entidades del directorio social granadino. Si tu colectivo necesita voluntarios, t\xfa decides cu\xe1ndo aparece publicado."}),(0,r.jsxs)("div",{className:"flex flex-wrap justify-center gap-3",children:[(0,r.jsx)(s(),{href:"/voluntariado",className:"inline-flex items-center gap-2 px-6 py-3 rounded-md font-bold text-xs uppercase tracking-widest transition-all hover:scale-[1.04]",style:{background:"var(--color-brand-gradient)",color:"white"},children:"Ver match de causas"}),(0,r.jsx)(s(),{href:"/proponer?type=VOLUNTARY_OFFER",className:"inline-flex items-center gap-2 px-6 py-3 rounded-md font-bold text-xs uppercase tracking-widest border transition-all hover:bg-white/5",style:{borderColor:"var(--color-news-border)",color:"var(--color-news-fg)"},children:"Publicar primera oferta"})]})]})})});let u=new Set(l.map(e=>e.modality)).size>1;return(0,r.jsx)("section",{className:"py-20 md:py-24 overflow-hidden",children:(0,r.jsxs)("div",{className:"mx-auto max-w-[1600px] px-6",children:[(0,r.jsxs)("header",{className:"mb-10",children:[(0,r.jsxs)("div",{className:"text-[11px] uppercase tracking-[0.4em] font-bold mb-3 flex items-center gap-3",style:{color:"var(--color-news-accent)"},children:[(0,r.jsx)("span",{className:"inline-block w-12 h-px",style:{background:"var(--color-news-accent)"}}),"✦ ",a]}),(0,r.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-6 gap-y-2",children:[(0,r.jsxs)("h2",{className:"text-xl md:text-5xl font-black leading-[1.05] md:leading-[0.9] tracking-tight",style:{color:"var(--color-news-fg)",letterSpacing:"-0.04em"},children:[t,(0,r.jsxs)("span",{style:{color:"var(--color-news-accent)"},children:[" ",x]})]}),(0,r.jsxs)(s(),{href:"/voluntariado",className:"inline-flex items-center gap-2 text-xs uppercase tracking-widest font-bold whitespace-nowrap transition-opacity opacity-80 hover:opacity-100",style:{color:"var(--color-news-fg)"},children:[p,(0,r.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,r.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,r.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]})]}),(0,r.jsx)("p",{className:"mt-3 text-base md:text-lg leading-relaxed max-w-xl",style:{color:"var(--color-news-fg-soft)"},children:m})]}),(0,r.jsx)("div",{className:"grid gap-6",style:{gridTemplateColumns:"repeat(auto-fit, minmax(280px, 1fr))"},children:l.map(e=>{var l,a,t,o,x,m;let p=(0,i.cZ)(e.organizerTags),g=(0,i.cZ)(e.organizerTags,1/0),h=(0,i.AL)(null!=(m=e.organizerEntityShortName)?m:e.organizerName,e.title),f=!e.coverUrl&&!e.organizerLogoUrl&&!h,v=(null==(l=e.hoursPerWeek)?void 0:l.trim())||(u?null!=(a=d[e.modality])?a:e.modality:null);return(0,r.jsxs)(s(),{href:"/voluntariado/".concat(e.slug),className:"group netflix-card relative flex flex-col h-full rounded-2xl overflow-hidden",style:{border:"2px s
1olid ".concat(e.isFeatured?"var(--color-news-accent)":"var(--color-news-border)"),background:"var(--color-news-bg-soft)",boxShadow:e.isFeatured?"0 0 0 4px rgba(55,179,231,0.08)":void 0},children:[e.isFeatured?(0,r.jsxs)("div",{className:"absolute top-3 left-3 z-10 px-3 py-1.5 rounded-full font-bold flex items-center gap-1",style:{background:"var(--color-news-accent)",color:"#fff",fontSize:"0.75rem",letterSpacing:"0.06em",textTransform:"uppercase"},children:[(0,r.jsx)("span",{"aria-hidden":!0,children:"⭐"}),(0,r.jsx)("span",{children:"Destacada"})]}):null,(0,r.jsxs)("div",{className:"relative overflow-hidden ".concat(f?"h-14":e.coverUrl?"aspect-[12/5] sm:aspect-[16/10]":"aspect-[12/5] sm:aspect-[16/7]"),style:{background:"var(--color-brand-gradient)"},children:[e.coverUrl?(0,r.jsx)("img",{...null!=(t=(0,c.Vl)(e.coverUrl,"card"))?t:{src:e.coverUrl},alt:e.title,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-700 group-hover:scale-[1.06]"}):(0,r.jsx)(n.a,{seed:e.title,sello:!1,temas:g}),f?null:(0,r.jsx)("div",{className:"absolute inset-0 transition-opacity duration-500",style:{background:"linear-gradient(180deg, transparent 50%, rgba(5, 8, 22, 0.85) 100%)"}}),u?(0,r.jsx)("div",{className:"absolute top-3 right-3 px-2.5 py-1 rounded-full text-[10px] uppercase tracking-[0.2em] font-bold backdrop-blur-md",style:{background:"rgba(11, 18, 40, 0.7)",color:"white"},children:null!=(o=d[e.modality])?o:e.modality}):null,e.organizerLogoUrl||h?(0,r.jsxs)("div",{className:"absolute bottom-3 left-3 right-3 flex items-center gap-2",children:[e.organizerLogoUrl?(0,r.jsx)("img",{...null!=(x=(0,c.Vl)(e.organizerLogoUrl,"thumb"))?x:{src:e.organizerLogoUrl},alt:e.organizerName,className:"w-8 h-8 rounded-full object-contain border-2 border-white/80 flex-shrink-0",style:{background:"#fff"}}):null,h?(0,r.jsx)("span",{className:"text-xs font-bold text-white drop-shadow-md truncate",children:h}):null]}):null]}),(0,r.jsxs)("div",{className:"p-5 flex flex-col flex-1 gap-3",children:[(0,r.jsx)("h3",{className:"text-lg font-black leading-tight tracking-tight line-clamp-3 min-h-[2.4em]",style:{color:"var(--color-news-fg)",letterSpacing:"-0.02em"},children:e.title}),e.summary?(0,r.jsx)("p",{className:"text-sm leading-relaxed ".concat(p.length>0?"line-clamp-2":"line-clamp-5"),style:{color:"var(--color-news-fg-soft)"},children:e.summary}):null,(0,r.jsxs)("div",{className:"mt-auto flex flex-col gap-3",children:[p.length>0?(0,r.jsx)("div",{className:"flex flex-wrap gap-1.5",children:p.map(e=>(0,r.jsx)("span",{className:"px-2 py-0.5 rounded-full text-[11px] font-bold max-w-full",style:{background:"rgba(55, 179, 231, 0.12)",color:"var(--color-news-accent)"},children:e},e))}):null,v?(0,r.jsx)("div",{className:"text-[11px] uppercase tracking-widest",style:{color:"var(--color-news-fg-soft)"},children:v}):null]})]})]},e.id)})})]})})}}}]);

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.