Files
afrov2/.next/server/chunks/ssr/[root-of-the-server]__8911603b._.js
2026-04-08 14:46:10 +02:00

45 lines
27 KiB
JavaScript

module.exports=[43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},4355,(a,b,c)=>{"use strict";b.exports=a.r(18622)},92240,(a,b,c)=>{"use strict";b.exports=a.r(4355).vendored["react-ssr"].ReactJsxRuntime},88345,(a,b,c)=>{"use strict";b.exports=a.r(4355).vendored["react-ssr"].React},57234,(a,b,c)=>{"use strict";b.exports=a.r(4355).vendored.contexts.AppRouterContext},8176,(a,b,c)=>{"use strict";b.exports=a.r(4355).vendored["react-ssr"].ReactServerDOMTurbopackClient},79188,(a,b,c)=>{"use strict";b.exports=a.r(4355).vendored.contexts.HooksClientContext},93673,(a,b,c)=>{"use strict";b.exports=a.r(4355).vendored.contexts.ServerInsertedHtml},67803,a=>{"use strict";var b=a.i(88345);let c=a=>{let b=a.replace(/^([A-Z])|[\s-_]+(\w)/g,(a,b,c)=>c?c.toUpperCase():b.toLowerCase());return b.charAt(0).toUpperCase()+b.slice(1)},d=(...a)=>a.filter((a,b,c)=>!!a&&""!==a.trim()&&c.indexOf(a)===b).join(" ").trim();var e={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 f=(0,b.forwardRef)(({color:a="currentColor",size:c=24,strokeWidth:f=2,absoluteStrokeWidth:g,className:h="",children:i,iconNode:j,...k},l)=>(0,b.createElement)("svg",{ref:l,...e,width:c,height:c,stroke:a,strokeWidth:g?24*Number(f)/Number(c):f,className:d("lucide",h),...!i&&!(a=>{for(let b in a)if(b.startsWith("aria-")||"role"===b||"title"===b)return!0})(k)&&{"aria-hidden":"true"},...k},[...j.map(([a,c])=>(0,b.createElement)(a,c)),...Array.isArray(i)?i:[i]])),g=(a,e)=>{let g=(0,b.forwardRef)(({className:g,...h},i)=>(0,b.createElement)(f,{ref:i,iconNode:e,className:d(`lucide-${c(a).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${a}`,g),...h}));return g.displayName=c(a),g};a.s(["default",()=>g],67803)},16740,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},25689,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DEFAULT_SEGMENT_KEY:function(){return l},NOT_FOUND_SEGMENT_KEY:function(){return m},PAGE_SEGMENT_KEY:function(){return k},addSearchParamsIfPageSegment:function(){return i},computeSelectedLayoutSegment:function(){return j},getSegmentValue:function(){return f},getSelectedLayoutSegmentPath:function(){return function a(b,c,d=!0,e=[]){let g;if(d)g=b[1][c];else{let a=b[1];g=a.children??Object.values(a)[0]}if(!g)return e;let h=f(g[0]);return!h||h.startsWith(k)?e:(e.push(h),a(g,c,!1,e))}},isGroupSegment:function(){return g},isParallelRouteSegment:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){return Array.isArray(a)?a[1]:a}function g(a){return"("===a[0]&&a.endsWith(")")}function h(a){return a.startsWith("@")&&"@children"!==a}function i(a,b){if(a.includes(k)){let a=JSON.stringify(b);return"{}"!==a?k+"?"+a:k}return a}function j(a,b){if(!a||0===a.length)return null;let c="children"===b?a[0]:a[a.length-1];return c===l?null:c}let k="__PAGE__",l="__DEFAULT__",m="/_not-found"},67085,50395,a=>{"use strict";var b,c,d,e=((b={}).VISITOR="VISITOR",b.ENTREPRENEUR="ENTREPRENEUR",b.ADMIN="ADMIN",b),f=((c={}).PRODUCT="PRODUCT",c.SERVICE="SERVICE",c),g=((d={}).VIDEO="VIDEO",d.ARTICLE="ARTICLE",d);a.s(["CATEGORIES",0,["Technologie & IT","Agriculture & Agrobusiness","Mode & Textile","Cosmétique & Beauté","Services aux entreprises","Restauration & Alimentation","Construction & BTP","Éducation & Formation"],"InterviewType",()=>g,"OfferType",()=>f,"UserRole",()=>e],50395);let h={id:"u1",name:"Jean-Marc Kouassi",email:"jm.kouassi@example.com",role:e.ENTREPRENEUR,avatar:"https://i.pravatar.cc/150?u=a042581f4e29026024d"},i=[{id:"o1",businessId:"1",title:"Audit Digital Gratuit",type:f.SERVICE,price:0,currency:"XOF",imageUrl:"https://picsum.photos/300/200?random=20",active:!0},{id:"o2",businessId:"1",title:"Pack Site Vitrine",type:f.SERVICE,price:15e4,currency:"XOF",imageUrl:"https://picsum.photos/300/200?random=21",active:!0},{id:"o3",businessId:"1",title:"Logiciel Gestion de Stock",type:f.PRODUCT,price:35e3,currency:"XOF",imageUrl:"https://picsum.photos/300/200?random=22",active:!0},{id:"o4",businessId:"5",title:"Coffret Rituel Karité",type:f.PRODUCT,price:25e3,currency:"XOF",description:"Beurre corporel, savon noir et huile hydratante.",imageUrl:"https://picsum.photos/300/200?random=23",active:!0},{id:"o5",businessId:"5",title:"Savon Noir Liquide",type:f.PRODUCT,price:5e3,currency:"XOF",imageUrl:"https://picsum.photos/300/200?random=24",active:!0},{id:"o6",businessId:"6",title:"Bootcamp Fullstack (6 mois)",type:f.SERVICE,price:1500,currency:"EUR",description:"Formation intensive pour devenir développeur web. Paiement échelonné possible.",imageUrl:"https://picsum.photos/300/200?random=25",active:!0},{id:"o7",businessId:"8",title:"Étude de faisabilité",type:f.SERVICE,price:1e5,currency:"XOF",description:"Analyse de terrain et propositions de matériaux écologiques.",imageUrl:"https://picsum.photos/300/200?random=26",active:!0}],j=[{id:"1",title:"Comment financer sa start-up en Afrique en 2025 ?",excerpt:"Analyse des nouveaux fonds d'investissement et des opportunités pour les jeunes entrepreneurs.",content:`Le financement des startups en Afrique conna\xeet une v\xe9ritable r\xe9volution. En 2025, de nouveaux acteurs entrent en jeu, diversifiant les sources de capitaux au-del\xe0 du capital-risque traditionnel.
1. Les Business Angels Locaux
De plus en plus d'entrepreneurs \xe0 succ\xe8s r\xe9investissent dans l'\xe9cosyst\xe8me local. Ces "afro-capitalistes" apportent non seulement des fonds, mais aussi un mentorat pr\xe9cieux et un r\xe9seau local indispensable.
2. Le Crowdfunding (Financement participatif)
Les plateformes de financement participatif d\xe9di\xe9es \xe0 l'Afrique permettent de mobiliser la diaspora. C'est un excellent moyen de valider son march\xe9 tout en levant des fonds d'amor\xe7age sans diluer son capital trop t\xf4t.
3. Les Fonds d'Impact
Les investisseurs internationaux cherchent d\xe9sormais la rentabilit\xe9 coupl\xe9e \xe0 l'impact social. Si votre projet r\xe9sout un probl\xe8me structurel (\xe9ducation, sant\xe9, logistique), vous avez toutes vos chances.
En conclusion, la cl\xe9 en 2025 n'est plus seulement d'avoir une bonne id\xe9e, mais de d\xe9montrer une capacit\xe9 d'ex\xe9cution rapide et une compr\xe9hension fine des sp\xe9cificit\xe9s locales.`,author:"Sarah Ndiaye",date:"12 Oct 2024",imageUrl:"https://picsum.photos/800/400?random=10"},{id:"2",title:"Digitalisation des TPE : Les outils indispensables",excerpt:"De la comptabilité au marketing, voici la stack technique idéale pour débuter à moindre coût.",content:`La transformation num\xe9rique n'est pas r\xe9serv\xe9e aux grandes entreprises. Pour une TPE africaine, bien choisir ses outils peut faire la diff\xe9rence entre stagnation et croissance exponentielle.
Voici notre s\xe9lection d'outils incontournables et souvent gratuits :
- Gestion de projet : Trello ou Asana pour organiser les t\xe2ches de l'\xe9quipe sans usine \xe0 gaz.
- Communication : WhatsApp Business est incontournable en Afrique pour la relation client, bien plus que l'email dans certains secteurs.
- Design : Canva permet de cr\xe9er des visuels professionnels pour vos r\xe9seaux sociaux sans comp\xe9tences graphiques.
- Paiement : Int\xe9grez des solutions d'agr\xe9gation de paiement mobile (Mobile Money) d\xe8s le premier jour. C'est l\xe0 que se trouve l'argent de vos clients.
Ne cherchez pas \xe0 tout automatiser d\xe8s le d\xe9but. Commencez par digitaliser ce qui vous prend le plus de temps et qui a le moins de valeur ajout\xe9e.`,author:"Admin Afropreunariat",date:"05 Oct 2024",imageUrl:"https://picsum.photos/800/400?random=11"},{id:"3",title:"Diaspora et retour au pays : Entreprendre le grand saut",excerpt:"Témoignages d'entrepreneurs qui ont quitté l'Europe pour lancer leur activité sur le continent.",content:`Le ph\xe9nom\xe8ne des "Repats" s'acc\xe9l\xe8re. Quitter une situation stable \xe0 Paris, Londres ou Montr\xe9al pour entreprendre \xe0 Abidjan, Dakar ou Nairobi est un d\xe9fi autant personnel que professionnel.
Le choc culturel invers\xe9
Beaucoup sous-estiment le temps de r\xe9adaptation. "Je pensais conna\xeetre mon pays, mais j'y venais en vacances. Y faire du business est totalement diff\xe9rent", nous confie Marc, fondateur d'une startup logistique.
Les opportunit\xe9s
L'avantage de la diaspora est la double culture. La capacit\xe9 \xe0 faire le pont entre les standards internationaux et les r\xe9alit\xe9s locales est un atout concurrentiel majeur.
Conseil cl\xe9 : Ne venez pas en "donneur de le\xe7ons". Venez avec humilit\xe9, \xe9coutez le march\xe9 local, et adaptez vos processus. Ce qui marche en Europe ne marche pas forc\xe9ment tel quel en Afrique.`,author:"Marc Dubois",date:"28 Sept 2024",imageUrl:"https://picsum.photos/800/400?random=12"}],k=[{id:"i1",title:"De la Silicone Valley à Lagos : Itinéraire d'un génie du code",guestName:"Tunde Onakoya",companyName:"Lagos Code Academy",role:"Fondateur",type:g.VIDEO,thumbnailUrl:"https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",videoUrl:"https://www.youtube.com/watch?v=dQw4w9WgXcQ",excerpt:"Tunde nous raconte comment il a quitté un poste prestigieux chez Google pour former la prochaine génération de développeurs nigérians.",date:"15 Oct 2024",duration:"24 min"},{id:"i2",title:"La reine du Karité : Bâtir un empire cosmétique bio",guestName:"Amina Diop",companyName:"Shea Gold",role:"CEO",type:g.ARTICLE,thumbnailUrl:"https://images.unsplash.com/photo-1571781926291-280584795465?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",content:`
C'est dans son village natal du nord de la C\xf4te d'Ivoire qu'Amina Diop a puis\xe9 son inspiration. Aujourd'hui, sa marque Shea Gold s'exporte dans 15 pays.
**Journaliste : Comment est n\xe9e l'id\xe9e de Shea Gold ?**
Amina : Je voyais ma grand-m\xe8re produire ce beurre de karit\xe9 d'une qualit\xe9 exceptionnelle, mais qui \xe9tait vendu \xe0 vil prix sur les march\xe9s locaux. J'ai r\xe9alis\xe9 qu'il y avait un d\xe9calage entre la valeur du produit et sa valorisation commerciale.
**J : Quels ont \xe9t\xe9 les principaux d\xe9fis logistiques ?**
Amina : L'exportation est un parcours du combattant. Les normes phytosanitaires europ\xe9ennes sont drastiques. Il nous a fallu deux ans pour certifier toute notre cha\xeene de production. Mais aujourd'hui, cette rigueur est notre force.
**J : Un conseil pour les entrepreneuses ?**
Amina : N'ayez pas peur de commencer petit. J'ai commenc\xe9 avec 50 pots vendus \xe0 mes coll\xe8gues de bureau. Testez, apprenez, et grandissez organiquement.
`,excerpt:"Découvrez comment une recette ancestrale est devenue une marque de luxe internationale.",date:"02 Oct 2024",duration:"8 min de lecture"},{id:"i3",title:"AgriTech : Nourrir l'Afrique grâce à l'IA",guestName:"Kwame Mensah",companyName:"GreenFields",role:"Co-fondateur",type:g.VIDEO,thumbnailUrl:"https://images.unsplash.com/photo-1595841055318-943e1bf83383?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",videoUrl:"https://www.youtube.com/watch?v=placeholder",excerpt:"Kwame explique comment ses drones analysent les sols pour optimiser les récoltes sans produits chimiques.",date:"20 Sept 2024",duration:"18 min"}];a.s(["MOCK_BLOG_POSTS",0,j,"MOCK_BUSINESSES",0,[{id:"1",ownerId:"u1",name:"AfroTech Solutions",category:"Technologie & IT",location:"Abidjan, Côte d'Ivoire",description:"Leader dans le développement de solutions logicielles sur mesure pour les PME ouest-africaines. Nous accompagnons la transformation digitale des entreprises locales avec des outils ERP et CRM adaptés aux réalités du terrain (faible connectivité, mobile money).",logoUrl:"https://picsum.photos/200/200?random=1",videoUrl:"https://www.youtube.com/watch?v=ysz5S6P_ks0",socialLinks:{website:"https://afrotech.ci",linkedin:"https://linkedin.com",facebook:"https://facebook.com"},contactEmail:"contact@afrotech.ci",contactPhone:"+225 07 07 07 07 07",verified:!0,viewCount:1240,rating:4.8,tags:["Dev","SaaS","Mobile","ERP"],isFeatured:!0,founderName:"Jean-Marc Kouassi",founderImageUrl:"https://images.unsplash.com/photo-1531384441138-2736e62e0919?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80",keyMetric:"+50 Projets Livrés"},{id:"2",ownerId:"u2",name:"Baobab Foods",category:"Restauration & Alimentation",location:"Paris, France",description:"Traiteur événementiel haut de gamme spécialisé dans la gastronomie panafricaine revisitée. Nous apportons une touche d'élégance et de modernité aux saveurs ancestrales pour vos mariages, séminaires et événements d'entreprise.",logoUrl:"https://picsum.photos/200/200?random=2",contactEmail:"hello@baobabfoods.fr",contactPhone:"+33 6 12 34 56 78",verified:!0,viewCount:850,rating:4.9,tags:["Traiteur","Bio","Événementiel","Gastronomie"],founderName:"Aïssa Maïga",socialLinks:{instagram:"https://instagram.com"}},{id:"3",ownerId:"u3",name:"Lagos Fashion House",category:"Mode & Textile",location:"Lagos, Nigeria",description:"Création de tenues modernes utilisant le tissu Ankara authentique. Nous travaillons directement avec des tisserands locaux pour garantir une qualité exceptionnelle et une rémunération équitable. Exportation internationale et vente en ligne.",logoUrl:"https://picsum.photos/200/200?random=3",contactEmail:"sales@lagosfashion.ng",verified:!1,viewCount:320,rating:4.5,tags:["Mode","Ankara","Luxe","Ethique"],founderName:"Chidinma Okeke"},{id:"4",ownerId:"u4",name:"Sahara Solar",category:"Construction & BTP",location:"Dakar, Sénégal",description:"Installation de panneaux solaires pour les zones rurales et urbaines. L'énergie propre accessible à tous. Nous proposons des kits solaires domestiques payables en plusieurs fois via mobile money.",logoUrl:"https://picsum.photos/200/200?random=4",contactEmail:"info@saharasolar.sn",contactPhone:"+221 77 000 00 00",verified:!0,viewCount:560,rating:4.7,tags:["Énergie","Solaire","Durable","Tech"],founderName:"Ousmane Diop"},{id:"5",ownerId:"u5",name:"Nubian Essence",category:"Cosmétique & Beauté",location:"Douala, Cameroun",description:"Une gamme de soins de la peau 100% naturels à base de beurre de karité, de cacao et d'huiles essentielles locales. Nos produits sont sans parabènes et non testés sur les animaux.",logoUrl:"https://picsum.photos/200/200?random=5",contactEmail:"contact@nubianessence.cm",contactPhone:"+237 6 99 99 99 99",socialLinks:{instagram:"https://instagram.com",facebook:"https://facebook.com"},verified:!0,viewCount:410,rating:4.6,tags:["Bio","Skincare","Karité","Naturel"],founderName:"Marie-Claire Etoa",founderImageUrl:"https://images.unsplash.com/photo-1589156191108-c762ff4b96ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80"},{id:"6",ownerId:"u6",name:"Kijani Academy",category:"Éducation & Formation",location:"Nairobi, Kenya",description:"L'école de code qui forme la prochaine génération de développeurs africains. Bootcamp intensif de 6 mois en JavaScript, Python et React. Partenariats d'embauche avec les plus grandes Tech Companies.",logoUrl:"https://picsum.photos/200/200?random=6",videoUrl:"https://www.youtube.com/watch?v=FpMNs7H24X0",contactEmail:"admissions@kijani.ke",contactPhone:"+254 700 000 000",socialLinks:{linkedin:"https://linkedin.com",website:"https://kijani.ke"},verified:!0,viewCount:980,rating:5,tags:["Formation","Code","Bootcamp","Emploi"],founderName:"David Ochieng",keyMetric:"90% d'embauche"},{id:"7",ownerId:"u7",name:"PayNa",category:"Services aux entreprises",location:"Kinshasa, RDC",description:"La solution de paiement agrégée pour les e-commerçants en RDC. Acceptez M-Pesa, Orange Money, Airtel Money et les cartes Visa/Mastercard via une API unique et sécurisée.",logoUrl:"https://picsum.photos/200/200?random=7",contactEmail:"biz@payna.cd",verified:!1,viewCount:230,rating:4.2,tags:["FinTech","Paiement","Mobile Money","API"],founderName:"Serge Mbemba"},{id:"8",ownerId:"u8",name:"EcoBati Africa",category:"Construction & BTP",location:"Cotonou, Bénin",description:"Cabinet d'architecture écologique spécialisé dans l'utilisation de matériaux géo-sourcés (briques de terre compressée, bambou). Nous concevons des bâtiments modernes, frais et durables.",logoUrl:"https://picsum.photos/200/200?random=8",contactEmail:"projet@ecobati.bj",contactPhone:"+229 97 00 00 00",socialLinks:{instagram:"https://instagram.com",website:"https://ecobati.bj"},verified:!0,viewCount:670,rating:4.8,tags:["Architecture","Écologie","BTC","Durable"],founderName:"Fatimata Sylla",founderImageUrl:"https://images.unsplash.com/photo-1542596594-649edbc13630?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80"}],"MOCK_INTERVIEWS",0,k,"MOCK_OFFERS",0,i,"MOCK_USER",0,h],67085)},50318,a=>{"use strict";let b=(0,a.i(67803).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);a.s(["User",()=>b],50318)},30929,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"HandleISRError",{enumerable:!0,get:function(){return e}});let d=a.r(56704).workAsyncStorage;function e({error:a}){if(d){let b=d.getStore();if(b?.isStaticGeneration)throw a&&console.error(a),a}return null}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},17031,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return h}});let d=a.r(92240),e=a.r(30929),f={fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},g={fontSize:"14px",fontWeight:400,lineHeight:"28px",margin:"0 8px"},h=function({error:a}){let b=a?.digest;return(0,d.jsxs)("html",{id:"__next_error__",children:[(0,d.jsx)("head",{}),(0,d.jsxs)("body",{children:[(0,d.jsx)(e.HandleISRError,{error:a}),(0,d.jsx)("div",{style:f,children:(0,d.jsxs)("div",{children:[(0,d.jsxs)("h2",{style:g,children:["Application error: a ",b?"server":"client","-side exception has occurred while loading ",window.location.hostname," (see the"," ",b?"server logs":"browser console"," for more information)."]}),b?(0,d.jsx)("p",{style:g,children:`Digest: ${b}`}):null]})})]})]})};("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},87470,a=>{"use strict";var b=a.i(92240),c=a.i(88345),d=a.i(67085);let e=(0,c.createContext)(void 0);function f({children:a}){let[f,g]=(0,c.useState)(null);return(0,b.jsx)(e.Provider,{value:{user:f,login:()=>{g(d.MOCK_USER)},logout:()=>{g(null)}},children:a})}function g(){let a=(0,c.useContext)(e);if(void 0===a)throw Error("useUser must be used within a UserProvider");return a}a.s(["UserProvider",()=>f,"useUser",()=>g])},8174,a=>{"use strict";let b=(0,a.i(67803).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);a.s(["X",()=>b],8174)},171,a=>{"use strict";let b=(0,a.i(67803).default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);a.s(["LayoutDashboard",()=>b],171)},91156,a=>{"use strict";var b=a.i(92240),c=a.i(88345),d=a.i(941),e=a.i(14403);let f=(0,a.i(67803).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);var g=a.i(8174),h=a.i(171),i=a.i(50318),j=a.i(87470);a.s(["default",0,()=>{let{user:a}=(0,j.useUser)(),[k,l]=(0,c.useState)(!1),m=(0,e.usePathname)()||"";return m.startsWith("/dashboard")?null:(0,b.jsxs)("nav",{className:"bg-white shadow-sm sticky top-0 z-50",children:[(0,b.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,b.jsxs)("div",{className:"flex justify-between h-16",children:[(0,b.jsxs)("div",{className:"flex items-center",children:[(0,b.jsxs)(d.default,{href:"/",className:"flex-shrink-0 flex items-center gap-2",children:[(0,b.jsx)("div",{className:"w-8 h-8 bg-brand-600 rounded-lg flex items-center justify-center text-white font-bold font-serif",children:"A"}),(0,b.jsx)("span",{className:"font-serif font-bold text-xl text-gray-900",children:"Afropreunariat"})]}),(0,b.jsxs)("div",{className:"hidden sm:ml-8 sm:flex sm:space-x-8",children:[(0,b.jsx)(d.default,{href:"/",className:`inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium ${"/"===m?"border-brand-500 text-gray-900":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"}`,children:"Accueil"}),(0,b.jsx)(d.default,{href:"/directory",className:`inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium ${m.startsWith("/directory")?"border-brand-500 text-gray-900":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"}`,children:"Annuaire"}),(0,b.jsx)(d.default,{href:"/afrolife",className:`inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium ${m.startsWith("/afrolife")?"border-brand-500 text-brand-600":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"}`,children:"Afro Life"}),(0,b.jsx)(d.default,{href:"/blog",className:`inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium ${m.startsWith("/blog")?"border-brand-500 text-gray-900":"border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300"}`,children:"Blog"})]})]}),(0,b.jsx)("div",{className:"hidden sm:ml-6 sm:flex sm:items-center space-x-4",children:a?(0,b.jsx)(b.Fragment,{children:(0,b.jsxs)(d.default,{href:"/dashboard",className:"inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-brand-600 hover:bg-brand-700 focus:outline-none",children:[(0,b.jsx)(h.LayoutDashboard,{className:"w-4 h-4 mr-2"}),"Mon Espace"]})}):(0,b.jsxs)(d.default,{href:"/login",className:"inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none",children:[(0,b.jsx)(i.User,{className:"w-4 h-4 mr-2"}),"Connexion / Inscription"]})}),(0,b.jsx)("div",{className:"-mr-2 flex items-center sm:hidden",children:(0,b.jsx)("button",{onClick:()=>l(!k),className:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none",children:k?(0,b.jsx)(g.X,{className:"block h-6 w-6"}):(0,b.jsx)(f,{className:"block h-6 w-6"})})})]})}),k&&(0,b.jsx)("div",{className:"sm:hidden bg-white border-t",children:(0,b.jsxs)("div",{className:"pt-2 pb-3 space-y-1",children:[(0,b.jsx)(d.default,{href:"/",className:"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300",onClick:()=>l(!1),children:"Accueil"}),(0,b.jsx)(d.default,{href:"/directory",className:"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300",onClick:()=>l(!1),children:"Annuaire"}),(0,b.jsx)(d.default,{href:"/afrolife",className:"block pl-3 pr-4 py-2 border-l-4 border-brand-500 text-base font-medium text-brand-700 bg-brand-50",onClick:()=>l(!1),children:"Afro Life"}),(0,b.jsx)(d.default,{href:"/blog",className:"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300",onClick:()=>l(!1),children:"Blog"}),a?(0,b.jsx)(d.default,{href:"/dashboard",className:"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300",onClick:()=>l(!1),children:"Mon Espace"}):(0,b.jsx)(d.default,{href:"/login",className:"block pl-3 pr-4 py-2 border-l-4 border-transparent text-base font-medium text-gray-600 hover:text-gray-800 hover:bg-gray-50 hover:border-gray-300",onClick:()=>l(!1),children:"Connexion"})]})})]})}],91156)},98691,a=>{"use strict";var b=a.i(92240),c=a.i(941),d=a.i(14403);a.s(["default",0,()=>((0,d.usePathname)()||"").startsWith("/dashboard")?null:(0,b.jsx)("footer",{className:"bg-dark-900 text-white",children:(0,b.jsxs)("div",{className:"max-w-7xl mx-auto py-12 px-4 overflow-hidden sm:px-6 lg:px-8",children:[(0,b.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[(0,b.jsxs)("div",{children:[(0,b.jsx)("h3",{className:"text-2xl font-serif font-bold text-brand-500 mb-4",children:"Afropreunariat"}),(0,b.jsx)("p",{className:"text-gray-400 text-sm",children:"La plateforme de référence pour l'entrepreneuriat africain. Visibilité, connexion et croissance pour les TPE/PME."})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h4",{className:"font-bold text-lg mb-4",children:"Liens Rapides"}),(0,b.jsxs)("ul",{className:"space-y-2 text-gray-400 text-sm",children:[(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:"/directory",className:"hover:text-brand-500",children:"Rechercher une entreprise"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:"/login",className:"hover:text-brand-500",children:"Inscrire mon entreprise"})}),(0,b.jsx)("li",{children:(0,b.jsx)(c.default,{href:"/blog",className:"hover:text-brand-500",children:"Actualités & Conseils"})})]})]}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h4",{className:"font-bold text-lg mb-4",children:"Contact"}),(0,b.jsx)("p",{className:"text-gray-400 text-sm mb-2",children:"Abidjan, Côte d'Ivoire / Paris, France"}),(0,b.jsx)("p",{className:"text-gray-400 text-sm",children:"support@afropreunariat.com"})]})]}),(0,b.jsx)("div",{className:"mt-8 pt-8 border-t border-gray-800 text-center text-gray-500 text-sm",children:"© 2025 Afropreunariat. Tous droits réservés."})]})})])}];
//# sourceMappingURL=%5Broot-of-the-server%5D__8911603b._.js.map