PageSourceSearch

https://lecnamciv.vercel.app/_next/static/chunks/app/actualites/page-75bc1b123aacfd3b.js

js lecnamciv.vercel.app collected 2026-10-03 07:13:45 UTC 7,604 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8560],{355:(e,t,r)=>{Promise.resolve().then(r.bind(r,3510))},1847:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var s=r(2115);let a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},l=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,s.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:n=2,absoluteStrokeWidth:c,className:o="",children:d,iconNode:x,...h}=e;return(0,s.createElement)("svg",{ref:t,...i,width:a,height:a,stroke:r,strokeWidth:c?24*Number(n)/Number(a):n,className:l("lucide",o),...!d&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(h)&&{"aria-hidden":"true"},...h},[...x.map(e=>{let[t,r]=e;return(0,s.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),c=(e,t)=>{let r=(0,s.forwardRef)((r,i)=>{let{className:c,...o}=r;return(0,s.createElement)(n,{ref:i,iconNode:t,className:l("lucide-".concat(a(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),c),...o})});return r.displayName=a(e),r}},3510:(e,t,r)=>{"use strict";r.d(t,{default:()=>m});var s=r(5155),a=r(2115),l=r(2619),i=r.n(l),n=r(7937),c=r(6651),o=r(5229),d=r(6485);let x=["Tous","Actualit\xe9","\xc9v\xe9nement","T\xe9moignage","Partenariat"],h=["Tous","Salari\xe9","Entreprise"];function m(e){let{actualites:t}=e,[r,l]=(0,a.useState)("Tous"),[m,u]=(0,a.useState)("Tous"),[p,g]=(0,a.useState)(""),b=t.filter(e=>{var t;let s="Tous"===r||e.type===r,a="Tous"===m||(null!=(t=e.audience)?t:[]).includes(m),l=!p||e.titre.toLowerCase().includes(p.toLowerCase())||e.description.toLowerCase().includes(p.toLowerCase());return s&&a&&l});return(0,s.jsxs)("div",{className:"pt-20 min-h-screen",children:[(0,s.jsx)("div",{className:"bg-gradient-to-r from-[#C1002A] to-[#75021B] text-white py-14",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto px-4",children:[(0,s.jsxs)("nav",{className:"flex items-center gap-2 text-xs text-white/70 mb-4","aria-label":"Fil d'Ariane",children:[(0,s.jsx)(i(),{href:"/",className:"hover:text-white",children:"Accueil"}),(0,s.jsx)(n.A,{className:"w-3 h-3"}),(0,s.jsx)("span",{className:"text-white",children:"Actualit\xe9s & \xc9v\xe9nements"})]}),(0,s.jsx)("h1",{className:"text-3xl md:text-4xl font-black text-white tracking-tight mb-3",children:"Actualit\xe9s & \xc9v\xe9nements"}),(0,s.jsx)("p",{className:"text-white/80 max-w-xl",children:"Restez inform\xe9 des derni\xe8res nouvelles, activit\xe9s etc du Cnam C\xf4te d'Ivoire."})]})}),(0,s.jsxs)("div",{className:"max-w-7xl mx-auto px-4 py-10",children:[(0,s.jsxs)("div",{className:"bg-white rounded-xl p-5 shadow-sm border border-gray-100 mb-8",children:[(0,s.jsxs)("div",{className:"relative mb-5",children:[(0,s.jsx)(c.A,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),(0,s.jsx)("input",{type:"search",placeholder:"Rechercher un article...",className:"w-full pl-10 pr-4 py-2.5 border border-gray-200 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-[#C1002A] focus:border-transparent",value:p,onChange:e=>g(e.target.value)}),p&&(0,s.jsx)("button",{onClick:()=>g(""),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400",children:(0,s.jsx)(o.A,{className:"w-4 h-4"})})]}),(0,s.jsxs)("div",{className:"flex flex-col md:flex-row gap-5",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs font-semibold text-[#555555] uppercase tracking-wider mb-2",children:"Type de contenu"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:x.map(e=>(0,s.jsx)("button",{onClick:()=>l(e),className:"text-sm px-4 py-1.5 rounded-full border transition-colors ".concat(r===e?"bg-[#C1002A] text-white border-[#C1002A]":"border-gray-200 text-[#555555] hover:border-[#C1002A] hover:text-[#C1002A]"),children:e},e))})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"text-xs font-semibold text-[#555555] uppercase tracking-wider mb-2",children:"Audience"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:h.map(e=>(0,s.jsx)("button",{onClick:()=>u(e),className:"text-sm px-4 py-1.5 rounded-full border transition-colors ".concat(m===e?"bg-[#C1002A] text-white border-[#C1002A]":"border-gray-200 text-[#555555] hover:border-[#C1002A] hover:text-[#C1002A]"),children:e},e))})]})]})]}),(0,s.jsxs)("p",{className:"text-sm text-[#555555] mb-6",children:[(0,s.jsx)("strong",{className:"text-[#333333]",children:b.length})," article",1!==b.length?"s":""," trouv\xe9",1!==b.length?"s":""]}),0===b.length?(0,s.jsx)("div",{className:"text-center py-16 bg-white rounded-xl border border-gray-100",children:(0,s.jsx)("p",{className:"text-[#555555]",children:"Aucun article ne correspond \xe0 vos crit\xe8res."})}):(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:b.map(e=>{var t;return(0,s.jsxs)(i(),{href:"/actualites/".concat(e.slug),className:"group bg-white rounded-xl overflow-hidden shadow-sm border border-gray-100 hover:shadow-md hover:border-[#C1002A]/20 transition-all",children:[(0,s.jsxs)("div",{className:"h-44 relative overflow-hidden bg-gradient-to-br from-gray-200 to-gray-300",children:[e.image&&(0,s.jsx)("img",{src:e.image,alt:e.titre,className:"absolute inset-0 w-full h-full object-cover"}),(0,s.jsxs)("div",{className:"absolute top-3 left-3 flex flex-wrap gap-1.5",children:[(0,s.jsx)("span",{className:"text-xs font-bold px-2.5 py-1 rounded-full text-white ".concat((e=>{switch(e){case"\xc9v\xe9nement":return"bg-[#75021B]";case"T\xe9moignage":return"bg-[#2E7D32]";case"Partenariat":return"bg-blue-700";default:return"bg-[#C1002A]"}})(e.type)),children:e.type}),(null!=(t=e.audience)?t:[]).slice(0,1).map(e=>(0,s.jsx)("span",{className:"text-xs bg-black/40 text-white px-2.5 py-1 rounded-full",children:e},e))]})]}),(0,s.jsxs)("div",{className:"p-5",children:[(0,s.jsxs)("div",{className:"flex items-center gap-1.5 text-xs text-[#555555] mb-2",children:[(0,s.jsx)(d.A,{className:"w-3.5 h-3.5"}),new Date(e.date).toLocaleDateString("fr-FR",{day:"numeric",month:"long",year:"numeric"})]}),(0,s.jsx)("h2",{className:"font-bold text-[#333333] mb-2 group-hover:text-[#C1002A] transition-colors leading-snug",children:e.titre}),(0,s.jsx)("p",{className:"text-sm text-[#555555] line-clamp-2",children:e.description}),(0,s.jsxs)("div",{className:"mt-4 text-sm font-semibold text-[#C1002A] flex items-center gap-1",children:["Lire la suite",(0,s.jsx)(n.A,{className:"w-4 h-4 group-hover:translate-x-1 transition-transform"})]})]})]},e.id)})})]})]})}},5229:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(1847).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},6485:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(1847).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},6651:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(1847).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},7937:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let s=(0,r(1847).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])}},e=>{e.O(0,[2619,8441,1255,7358],()=>e(e.s=355)),_N_E=e.O()}]);

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.