Files
afrov2/.next/static/chunks/f7efb6bb765c216f.js
2026-04-08 14:46:10 +02:00

1 line
5.2 KiB
JavaScript

(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,51809,e=>{"use strict";let t=(0,e.i(75840).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["Play",()=>t],51809)},56911,e=>{"use strict";var t=e.i(5974),s=e.i(32653),a=e.i(42500),l=e.i(51809),r=e.i(75840);let i=(0,r.default)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]),n=(0,r.default)("clock",[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),d=(0,r.default)("mic",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]);var c=e.i(67810),o=e.i(57348);e.s(["default",0,()=>{let[e,r]=(0,s.useState)("ALL"),x=c.MOCK_INTERVIEWS.filter(t=>"ALL"===e||t.type===e);return(0,t.jsxs)("div",{className:"bg-white min-h-screen",children:[(0,t.jsxs)("div",{className:"bg-dark-900 text-white py-20 relative overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 opacity-30 bg-[url('https://images.unsplash.com/photo-1523580494863-6f3031224c94?ixlib=rb-4.0.3&auto=format&fit=crop&w=1740&q=80')] bg-cover bg-center"}),(0,t.jsxs)("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[(0,t.jsx)("span",{className:"inline-block py-1 px-3 rounded-full bg-brand-600/20 border border-brand-500 text-brand-400 text-xs font-bold tracking-wider uppercase mb-4",children:"Lifestyle & Inspiration"}),(0,t.jsx)("h1",{className:"text-4xl md:text-6xl font-serif font-bold mb-6",children:"Afro Life"}),(0,t.jsx)("p",{className:"text-xl text-gray-300 max-w-2xl mx-auto",children:"Plongez dans l'intimité des bâtisseurs. Entretiens exclusifs, parcours de vie et leçons de leadership."})]})]}),(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12",children:[(0,t.jsxs)("div",{className:"flex justify-center mb-12 space-x-4",children:[(0,t.jsx)("button",{onClick:()=>r("ALL"),className:`px-6 py-2 rounded-full text-sm font-medium transition-all ${"ALL"===e?"bg-brand-600 text-white shadow-md":"bg-gray-100 text-gray-600 hover:bg-gray-200"}`,children:"Tout voir"}),(0,t.jsxs)("button",{onClick:()=>r("VIDEO"),className:`flex items-center px-6 py-2 rounded-full text-sm font-medium transition-all ${"VIDEO"===e?"bg-brand-600 text-white shadow-md":"bg-gray-100 text-gray-600 hover:bg-gray-200"}`,children:[(0,t.jsx)(l.Play,{className:"w-4 h-4 mr-2"})," Vidéos"]}),(0,t.jsxs)("button",{onClick:()=>r("ARTICLE"),className:`flex items-center px-6 py-2 rounded-full text-sm font-medium transition-all ${"ARTICLE"===e?"bg-brand-600 text-white shadow-md":"bg-gray-100 text-gray-600 hover:bg-gray-200"}`,children:[(0,t.jsx)(i,{className:"w-4 h-4 mr-2"})," Articles"]})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:x.map(e=>(0,t.jsxs)(a.default,{href:`/afrolife/${e.id}`,className:"group block h-full",children:[(0,t.jsxs)("div",{className:"relative h-64 rounded-xl overflow-hidden shadow-sm group-hover:shadow-xl transition-all duration-300",children:[(0,t.jsx)("img",{src:e.thumbnailUrl,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-black/10 transition-colors"}),(0,t.jsx)("div",{className:"absolute top-4 left-4",children:(0,t.jsxs)("span",{className:`inline-flex items-center px-3 py-1 rounded-full text-xs font-bold uppercase tracking-wide text-white backdrop-blur-md ${e.type===o.InterviewType.VIDEO?"bg-red-600/90":"bg-blue-600/90"}`,children:[e.type===o.InterviewType.VIDEO?(0,t.jsx)(l.Play,{className:"w-3 h-3 mr-1 fill-current"}):(0,t.jsx)(d,{className:"w-3 h-3 mr-1"}),e.type===o.InterviewType.VIDEO?"Vidéo":"Interview"]})}),e.type===o.InterviewType.VIDEO&&(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity duration-300",children:(0,t.jsx)("div",{className:"w-16 h-16 bg-white/30 backdrop-blur-sm rounded-full flex items-center justify-center border border-white/50",children:(0,t.jsx)(l.Play,{className:"w-8 h-8 text-white fill-current ml-1"})})})]}),(0,t.jsxs)("div",{className:"pt-6 px-2",children:[(0,t.jsxs)("div",{className:"flex items-center text-xs text-gray-500 mb-3 space-x-3",children:[(0,t.jsx)("span",{className:"font-semibold text-brand-600 uppercase",children:e.guestName}),(0,t.jsx)("span",{className:"w-1 h-1 bg-gray-300 rounded-full"}),(0,t.jsx)("span",{children:e.companyName}),(0,t.jsx)("span",{className:"w-1 h-1 bg-gray-300 rounded-full"}),(0,t.jsxs)("span",{className:"flex items-center",children:[(0,t.jsx)(n,{className:"w-3 h-3 mr-1"})," ",e.duration]})]}),(0,t.jsx)("h3",{className:"text-xl font-serif font-bold text-gray-900 mb-2 group-hover:text-brand-600 transition-colors leading-tight",children:e.title}),(0,t.jsx)("p",{className:"text-gray-600 text-sm line-clamp-2",children:e.excerpt})]})]},e.id))})]})]})}],56911)}]);