(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94196,e=>{"use strict";let t=(0,e.i(75840).default)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);e.s(["Share2",()=>t],94196)},98003,73667,89844,35774,e=>{"use strict";var t=e.i(75840);let a=(0,t.default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",()=>a],98003);let s=(0,t.default)("facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);e.s(["Facebook",()=>s],73667);let r=(0,t.default)("linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);e.s(["Linkedin",()=>r],89844);let l=(0,t.default)("instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);e.s(["Instagram",()=>l],35774)},46314,e=>{"use strict";let t=(0,e.i(75840).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPin",()=>t],46314)},75531,e=>{"use strict";let t=(0,e.i(75840).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["CheckCircle",()=>t],75531)},5763,e=>{"use strict";let t=(0,e.i(75840).default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]);e.s(["Phone",()=>t],5763)},83612,e=>{"use strict";let t=(0,e.i(75840).default)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);e.s(["Search",()=>t],83612)},26887,e=>{"use strict";let t=(0,e.i(75840).default)("briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);e.s(["Briefcase",()=>t],26887)},46392,e=>{"use strict";var t=e.i(5974),a=e.i(32653),s=e.i(42500),r=e.i(75531),l=e.i(46314),i=e.i(98003),c=e.i(5763),o=e.i(94196),n=e.i(73667),d=e.i(89844),x=e.i(35774);let h=(0,e.i(75840).default)("twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);e.s(["default",0,({business:e})=>{let[m,u]=(0,a.useState)(!1),p=t=>{let a=encodeURIComponent(`${window.location.origin}/#/directory/${e.id}`),s=encodeURIComponent(`D\xe9couvrez ${e.name} sur Afropreunariat`),r="";switch(t){case"facebook":r=`https://www.facebook.com/sharer/sharer.php?u=${a}`;break;case"twitter":r=`https://twitter.com/intent/tweet?url=${a}&text=${s}`;break;case"linkedin":r=`https://www.linkedin.com/sharing/share-offsite/?url=${a}`;break;case"instagram":alert("Pour partager sur Instagram, copiez le lien ou faites une capture d'écran."),u(!1);return}r&&window.open(r,"_blank","width=600,height=400"),u(!1)};return(0,t.jsxs)("div",{className:"bg-white rounded-xl shadow-sm hover:shadow-md transition-shadow duration-200 border border-gray-100 overflow-hidden flex flex-col h-full group relative",children:[(0,t.jsxs)("div",{className:"relative h-40 bg-gray-200",children:[(0,t.jsx)("img",{src:`https://picsum.photos/seed/${e.id}/500/300`,alt:"Couverture",className:"w-full h-full object-cover transition-transform duration-700 group-hover:scale-105"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 to-transparent"}),(0,t.jsxs)("div",{className:"absolute top-2 right-2 flex gap-2 z-20",children:[e.contactPhone&&(0,t.jsx)("a",{href:`tel:${e.contactPhone}`,onClick:e=>e.stopPropagation(),className:"p-2 bg-white/20 backdrop-blur-md border border-white/20 rounded-full text-white hover:bg-white hover:text-brand-600 transition-all shadow-sm",title:"Appeler",children:(0,t.jsx)(c.Phone,{className:"w-4 h-4"})}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("button",{onClick:e=>{e.preventDefault(),e.stopPropagation(),u(!m)},className:"p-2 bg-white/20 backdrop-blur-md border border-white/20 rounded-full text-white hover:bg-white hover:text-brand-600 transition-all shadow-sm",title:"Partager",children:(0,t.jsx)(o.Share2,{className:"w-4 h-4"})}),m&&(0,t.jsxs)("div",{className:"absolute right-0 mt-2 w-48 bg-white rounded-lg shadow-xl py-2 border border-gray-100 z-30 animate-in fade-in zoom-in duration-200",onMouseLeave:()=>u(!1),children:[(0,t.jsx)("div",{className:"px-4 py-2 text-xs font-semibold text-gray-400 uppercase tracking-wider",children:"Partager"}),(0,t.jsxs)("button",{onClick:e=>{e.preventDefault(),e.stopPropagation(),p("facebook")},className:"w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 flex items-center hover:text-blue-600",children:[(0,t.jsx)(n.Facebook,{className:"w-4 h-4 mr-3"})," Facebook"]}),(0,t.jsxs)("button",{onClick:e=>{e.preventDefault(),e.stopPropagation(),p("twitter")},className:"w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 flex items-center hover:text-black",children:[(0,t.jsx)(h,{className:"w-4 h-4 mr-3"})," X (Twitter)"]}),(0,t.jsxs)("button",{onClick:e=>{e.preventDefault(),e.stopPropagation(),p("linkedin")},className:"w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 flex items-center hover:text-blue-700",children:[(0,t.jsx)(d.Linkedin,{className:"w-4 h-4 mr-3"})," LinkedIn"]}),(0,t.jsxs)("button",{onClick:e=>{e.preventDefault(),e.stopPropagation(),p("instagram")},className:"w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-50 flex items-center hover:text-pink-600",children:[(0,t.jsx)(x.Instagram,{className:"w-4 h-4 mr-3"})," Instagram"]})]})]})]}),(0,t.jsx)("div",{className:"absolute -bottom-6 left-4 z-10 w-16 h-16 bg-white rounded-lg p-1 shadow-md",children:(0,t.jsx)("img",{src:e.logoUrl,alt:e.name,className:"w-full h-full object-cover rounded-md bg-gray-50"})}),(0,t.jsx)(s.default,{href:`/directory/${e.id}`,className:"absolute inset-0 z-0","aria-label":`Voir ${e.name}`})]}),(0,t.jsxs)("div",{className:"pt-8 px-4 pb-4 flex-1 flex flex-col",children:[(0,t.jsxs)("div",{className:"flex justify-between items-start",children:[(0,t.jsx)(s.default,{href:`/directory/${e.id}`,className:"font-bold text-lg text-gray-900 truncate hover:text-brand-600 transition-colors",children:e.name}),e.verified&&(0,t.jsx)(r.CheckCircle,{className:"w-5 h-5 text-blue-500 flex-shrink-0 ml-1"})]}),(0,t.jsx)("p",{className:"text-xs text-brand-600 font-semibold mb-2 uppercase tracking-wide",children:e.category}),(0,t.jsxs)("div",{className:"flex items-center text-sm text-gray-500 mb-3",children:[(0,t.jsx)(l.MapPin,{className:"w-4 h-4 mr-1"}),e.location]}),(0,t.jsx)("p",{className:"text-sm text-gray-600 line-clamp-2 mb-4 flex-1",children:e.description}),(0,t.jsxs)("div",{className:"mt-auto flex items-center justify-between pt-4 border-t border-gray-50",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)(i.Star,{className:"w-4 h-4 text-yellow-400 fill-current"}),(0,t.jsx)("span",{className:"text-sm font-bold ml-1 text-gray-700",children:e.rating}),(0,t.jsxs)("span",{className:"text-xs text-gray-400 ml-1",children:["(",e.viewCount," vues)"]})]}),(0,t.jsx)(s.default,{href:`/directory/${e.id}`,className:"text-brand-600 text-sm font-medium hover:underline",children:"Voir la fiche"})]})]})]})}],46392)},18263,e=>{"use strict";var t=e.i(5974),a=e.i(32653),s=e.i(42500),r=e.i(23862),l=e.i(83612),i=e.i(46314),c=e.i(26887);let o=(0,e.i(75840).default)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]);var n=e.i(57348),d=e.i(67810),x=e.i(46392);e.s(["default",0,()=>{let e=(0,r.useRouter)(),[h,m]=(0,a.useState)("");return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"relative bg-dark-900 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 opacity-40",children:(0,t.jsx)("img",{src:"https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1740&q=80",className:"w-full h-full object-cover",alt:"African entrepreneurs team"})}),(0,t.jsxs)("div",{className:"relative max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24 lg:py-32",children:[(0,t.jsxs)("h1",{className:"text-4xl md:text-6xl font-serif font-bold text-white mb-6 tracking-tight",children:["Boostez votre visibilité dans ",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-brand-500",children:"l'écosystème africain"})]}),(0,t.jsx)("p",{className:"text-xl text-gray-300 mb-8 max-w-2xl",children:"L'annuaire 2.0 qui connecte les talents, les entrepreneurs et les entreprises de la diaspora et du continent."}),(0,t.jsxs)("form",{onSubmit:t=>{t.preventDefault(),e.push(`/directory?q=${h}`)},className:"max-w-3xl bg-white p-2 rounded-lg shadow-xl flex flex-col md:flex-row gap-2",children:[(0,t.jsxs)("div",{className:"flex-1 relative",children:[(0,t.jsx)(l.Search,{className:"absolute left-3 top-3 text-gray-400 w-5 h-5"}),(0,t.jsx)("input",{type:"text",placeholder:"Que recherchez-vous ? (ex: Développeur, Traiteur...)",className:"w-full pl-10 pr-4 py-3 rounded-md focus:outline-none text-gray-900",value:h,onChange:e=>m(e.target.value)})]}),(0,t.jsxs)("div",{className:"md:w-1/3 relative border-t md:border-t-0 md:border-l border-gray-200",children:[(0,t.jsx)(i.MapPin,{className:"absolute left-3 top-3 text-gray-400 w-5 h-5"}),(0,t.jsx)("input",{type:"text",placeholder:"Localisation (ex: Abidjan)",className:"w-full pl-10 pr-4 py-3 rounded-md focus:outline-none text-gray-900"})]}),(0,t.jsx)("button",{type:"submit",className:"bg-brand-600 text-white px-8 py-3 rounded-md font-semibold hover:bg-brand-700 transition-colors",children:"Rechercher"})]})]})]}),(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-16",children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-gray-900 mb-8 font-serif",children:"Secteurs en vedette"}),(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:n.CATEGORIES.slice(0,4).map((e,a)=>(0,t.jsxs)("div",{className:"group cursor-pointer bg-white p-6 rounded-xl border border-gray-100 shadow-sm hover:shadow-md hover:border-brand-200 transition-all text-center",children:[(0,t.jsx)("div",{className:"w-12 h-12 bg-brand-50 text-brand-600 rounded-full flex items-center justify-center mx-auto mb-4 group-hover:bg-brand-600 group-hover:text-white transition-colors",children:(0,t.jsx)(c.Briefcase,{className:"w-6 h-6"})}),(0,t.jsx)("h3",{className:"font-semibold text-gray-900",children:e})]},a))})]}),(0,t.jsx)("div",{className:"bg-gray-50 py-16",children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)("div",{className:"flex justify-between items-end mb-8",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-gray-900 font-serif",children:"Entreprises à la une"}),(0,t.jsx)("p",{className:"text-gray-500 mt-2",children:"Découvrez les pépites de notre communauté."})]}),(0,t.jsxs)(s.default,{href:"/directory",className:"text-brand-600 font-medium hover:text-brand-700 flex items-center",children:["Voir tout l'annuaire ",(0,t.jsx)(o,{className:"w-4 h-4 ml-1"})]})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:d.MOCK_BUSINESSES.map(e=>(0,t.jsx)(x.default,{business:e},e.id))})]})})]})}],18263)}]);