PageSourceSearch

https://gb-hub-africa.vercel.app/_next/static/chunks/17kaxyzyesbxb.js

js gb-hub-africa.vercel.app collected 2026-10-03 06:59:41 UTC 11,724 bytes, 7 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,l)=>{t.exports=e.r(76562)},16868,e=>{"use strict";var t=e.i(43476),l=e.i(71645),a=e.i(57688),s=e.i(22016),i=e.i(18566),n=e.i(88653),r=e.i(46932);let o=()=>{let e=(0,i.usePathname)(),[o,c]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let e=()=>{window.scrollY>2?c(!0):c(!1)};return window.addEventListener("scroll",e,!1),()=>window.removeEventListener("scroll",e,!1)},[]);let[d,x]=(0,l.useState)(!1);return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(n.AnimatePresence,{children:(0,t.jsxs)(r.motion.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0},transition:{ease:"easeInOut",duration:.2},className:`${"/"==e?o?"py-[1.2em] shadow-lg bg-[#f4f4ed] fixed":"py-[2.5em] bg-transparent fixed":o?"py-[1.2em] shadow-lg bg-[#f4f4ed] sticky top-0":"py-[2.5em] bg-[#f4f4ed] relative"}
2              ${d?"backdrop-blur-3xl":""}
3                top-0 navbar z-60 w-full mx-auto transform transition-all ease-in-out duration-700  px-0 lg:px-[5%]`,children:[(0,t.jsxs)("div",{className:"flex flex-row justify-between pr-5 lg:pr-0 gap-3 relative items-center",children:[(0,t.jsx)("div",{className:"col-span-12 lg:col-span-2 xl:col-span-3 relative flex justify-between px-[5%] lg:px-0",children:(0,t.jsx)(n.AnimatePresence,{children:(0,t.jsxs)(t.Fragment,{children:["/"==e&&(0,t.jsx)(t.Fragment,{}),o&&(0,t.jsx)(t.Fragment,{}),(0,t.jsx)(s.default,{href:"/",children:(0,t.jsx)(r.motion.div,{initial:{opacity:0}
3,animate:{opacity:1},exit:{opacity:0},transition:{ease:"easeInOut",duration:.5,delay:.5},children:(0,t.jsx)(a.default,{className:"max-h-[3em] lg:max-h-[4em] w-auto",src:"/logo.png",alt:"logo",unoptimized:!0,height:100,width:100})})})]})})}),(0,t.jsx)("div",{className:"lg:hidden flex items-center justify-end gap-2",children:(0,t.jsx)("button",{onClick:()=>x(!0),className:`
4                        ${"/"==e&&!o?"text-[#f4f4ed] border-[#f4f4ed]":"text-black border-black"} 
5                         border rounded-full p-2`,children:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M1 2H13M1 7H13M1 12H13",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})})}),(0,t.jsx)("div",{className:`${"/"==e?!o?"text-[#f4f4ed]":"text-black":""}
6                    col-span-12 lg:col-span-10 xl:col-span-9 fixed lg:relative lg:block top-0 w-full z-60 px-[5%] lg:px-0
7                    ${d?"translate-x-0 text-black bg-[#f4f4ed] h-screen z-60":"translate-x-[-100%] lg:translate-x-[0] h-screen lg:h-auto overflow-hidden"} transition-all ease-in-out duration-500`,children:(0,t.jsxs)("div",{className:"text-base flex flex-col lg:flex-row lg:items-center justify-between lg:justify-end py-2",children:[(0,t.jsxs)("div",{className:"lg:hidden pt-6 mb
7-[10%] flex justify-between items-center",children:[(0,t.jsx)("p",{className:"font-medium text-base",children:"Menu"}),(0,t.jsx)("button",{onClick:()=>x(!1),className:"text-black border border-black rounded-full p-2",children:(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M1 13L13 1M1 1L13 13",stroke:"black",strokeWidth:"2",strokeLinecap:"round"})})})]}),(0,t.jsx)("div",{className:"flex flex-col h-screen lg:h-auto lg:flex-row items-start lg:justify-evenly lg:items-center gap-10 py-2",children:[{name:"Home",link:"/"},{name:"Our story",link:"/our-story"},{name:"The opportunity",link:"/opportunity"},{name:"What we provide",link:"/what-we-provide"},{name:"Our projects & Investments",link:"/projects"},{name:"Our impact",link:"/impact"},{name:"Our publications",link:"/our-publications"}].map((l,a)=>(0,t.jsx)(s.default,{href:l.link,className:`${e==l.link?"active":""} ${o?"scrolled-menu":""} text-sm menu-link pageLink font-medium transition ease-in-out duration-300`,children:l.name},a))}),(0,t.jsx)("button",{className:"hidden text-black border border-black rounded-full p-2",children:(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M13.5352 12.7477L10.3141 9.52656C11.1125 8.55312 11.5938 7.30625 11.5938 5.94727C11.5938 2.83008 9.06445 0.300781 5.94727 0.300781C2.82734 0.300781 0.300781 2.83008 0.300781 5.94727C0.300781 9.06445 2.82734 11.5938 5.94727 11.5938C7.30625 11.5938 8.55039 11.1152 9.52383 10.3168L12.7449 13.5352C12.9637 13.7539 13.3164 13.7539 13.5352 13.5352C13.7539 13.3191 13.7539 12.9637 13.5352 12.7477ZM5.94727 10.4699C3.45078 10.4699 1.42188 8.44102 1.42188 5.94727C1.42188 3.45352 3.45078 1.42188 5.94727 1.42188C8.44102 1.42188 10.4727 3.45352 10.4727 5.94727C10.4727 8.44102 8.44102 10.4699 5.94727 10.4699Z",fill:"currentColor"})})})]})})]}),"/"==e&&(0,t.jsx)(t.Fragment,{})]})})})})};var c=e.i(25380);let d=({parsedClass:e})=>{let i=l.default.useRef(null);return console.log(e),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(n.AnimatePresence,{children:(0,t.jsxs)(r.motion.div,{ref:i,initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:20},transition:{duration:.5,ease:"easeInOut"},className:"footerNav bg-[url('/footer.jpg')] bg-no-repeat bg-cover bg-bottom relative text-white w-full flex flex-col justify-between px-[5%] py-[5em]",children:[(0,t.jsx)("div",{className:"bg-orange-800 opacity-70 absolute top-0 left-0 h-full w-full"}),(0,t.jsxs)("div",{className:"grid grid-cols-12 gap-5 relative",children:[(0,t.jsx)("div",{className:"col-span-12 lg:col-span-3",children:(0,t.jsx)(a.default,{className:"max-h-[5em] w-auto grayscale",src:"/logo_white.png",alt:"logo",unoptimized:!0,height:100,width:100})}),(0,t.jsx)("div",{className:"col-span-2"}),(0,t.jsxs)("div",{className:"col-span-12 lg:col-span-7 grid grid-cols-12 justify-end gap-8 lg:gap-10",children:[(0,t.jsx)("div",{className:"col-span-6 lg:col-span-4"}),(0,t.jsx)("div",{className:"col-span-6 lg:col-span-4",children:(0,t.jsxs)(c.TextFade,{direction:"down",staggerChildren:.2,className:"flex flex-col gap-3 font-medium lg:text-right",children:[(0,t.jsx)(s.default,{href:"#",className:"text-xl font-bold",children:"Company"}),(0,t.jsx)(s.default,{href:"/our-story",className:"text-lg pageLink",children:"Our Story"}),(0,t.jsx)(s.default,{href:"/opportunity",className:"text-lg pageLink",children:"The Opportunity"}),(0,t.jsx)(s.default,{href:"/what-we-provide",className:"text-lg pageLink",children:"What We Provide"}),(0,t.jsx)(s.default,{href:"/projects",className:"text-lg pageLink",children:"Projects & Investments"}),(0,t.jsx)(s.default,{href:"/impact",className:"text-lg pageLink",children:"Our Impact"}),(0,t.jsx)(s.default,{href:"/our-publications",className:"text-lg pageLink",children:"Our Publications"})]})}),(0,t.jsx)("div",{className:"col-span-6 lg:col-span-4",children:(0,t.jsxs)(c.TextFade,{direction:"down",staggerChildren:.2,className:"flex flex-col gap-3 font-medium lg:text-right",children:[(0,t.jsx)(s.default,{href:"/",className:"text-xl font-bold",children:"Qu
7ick Links"}),(0,t.jsx)(s.default,{href:"/legal-notice",className:"text-lg pageLink",children:"Legal Notice"}),(0,t.jsx)(s.default,{href:"/privacy-policy",className:"text-lg pageLink",children:"Privacy policy"}),(0,t.jsx)(s.default,{href:"/cookie-policy",className:"text-lg pageLink",children:"Cookie Policy"})]})})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-12 gap-5 relative pt-15 items-center",children:[(0,t.jsxs)(c.TextFade,{direction:"down",className:"col-span-12 lg:col-span-3 flex flex-row justify-start items-center gap-4",children:[(0,t.jsx)(s.default,{href:"https://www.linkedin.com/company/gbhub-africa/",target:"_blank",children:(0,t.jsx)("svg",{width:"32",height:"32",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"hover:translate-y-[-4px] transition-all duration-300",children:(0,t.jsx)("path",{d:"M25.5877 2.50005H4.4127C4.17467 2.49675 3.93832 2.54036 3.71715 2.62841C3.49598 2.71645 3.29432 2.8472 3.12369 3.01319C2.95306 3.17918 2.8168 3.37716 2.72269 3.59581C2.62857 3.81447 2.57846 4.04953 2.5752 4.28755V25.7125C2.57846 25.9506 2.62857 26.1856 2.72269 26.4043C2.8168 26.6229 2.95306 26.8209 3.12369 26.9869C3.29432 27.1529 3.49598 27.2836 3.71715 27.3717C3.93832 27.4597 4.17467 27.5034 4.4127 27.5H25.5877C25.8257 27.5034 26.0621 27.4597 26.2832 27.3717C26.5044 27.2836 26.7061 27.1529 26.8767 26.9869C27.0473 26.8209 27.1836 26.6229 27.2777 26.4043C27.3718 26.1856 27.4219 25.9506 27.4252 25.7125V4.28755C27.4219 4.04953 27.3718 3.81447 27.2777 3.59581C27.1836 3.37716 27.0473 3.17918 26.8767 3.01319C26.7061 2.8472 26.5044 2.71645 26.2832 2.62841C26.0621 2.54036 25.8257 2.49675 25.5877 2.50005ZM10.1127 23.425H6.3627V12.1751H10.1127V23.425ZM8.2377 10.6001C7.72052 10.6001 7.22453 10.3946 6.85884 10.0289C6.49314 9.66321 6.2877 9.16722 6.2877 8.65005C6.2877 8.13288 6.49314 7.63689 6.85884 7.27119C7.22453 6.9055 7.72052 6.70005 8.2377 6.70005C8.51231 6.66891 8.79042 6.69612 9.05379 6.77991C9.31716 6.86369 9.55987 7.00216 9.76602 7.18625C9.97216 7.37034 10.1371 7.5959 10.25 7.84815C10.363 8.10041 10.4213 8.37367 10.4213 8.65005C10.4213 8.92643 10.363 9.19969 10.25 9.45195C10.1371 9.7042 9.97216 9.92976 9.76602 10.1139C9.55987 10.2979 9.31716 10.4364 9.05379 10.5202C8.79042 10.604 8.51231 10.6312 8.2377 10.6001ZM23.6377 23.425H19.8877V17.3876C19.8877 15.8751 19.3502 14.8876 17.9877 14.8876C17.566 14.8906 17.1554 15.0229 16.8112 15.2665C16.467 15.5101 16.2058 15.8534 16.0627 16.2501C15.9649 16.5439 15.9225 16.8533 15.9377 17.1626V23.4125H12.1877C12.1877 23.4125 12.1877 13.1876 12.1877 12.1626H15.9377V13.7501C16.2784 13.1589 16.7738 12.672 17.3707 12.3416C17.9677 12.0112 18.6434 11.8499 19.3252 11.8751C21.8252 11.8751 23.6377 13.4876 23.6377 16.9501V23.425Z",fill:"currentColor"})})}),(0,t.jsx)(s.default,{href:"https://www.youtube.com/@GBHubAfrica",target:"_blank",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"44",height:"44",className:"hover:translate-y-[-4px] transition-all duration-300",children:(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M21.7 8.037a4.26 4.26 0 0 0-.789-1.964a2.84 2.84 0 0 0-1.984-.839c-2.767-.2-6.926-.2-6.926-.2s-4.157 0-6.928.2a2.84 2.84 0 0 0-1.983.839a4.2 4.2 0 0 0-.79 1.965a30 30 0 0 0-.2 3.206v1.5a30 30 0 0 0 .2 3.206c.094.712.364 1.39.784 1.972c.604.536 1.38.837 2.187.848c1.583.151 6.731.2 6.731.2s4.161 0 6.928-.2a2.84 2.84 0 0 0 1.985-.84a4.3 4.3 0 0 0 .787-1.965a30 30 0 0 0 .2-3.206v-1.516a31 31 0 0 0-.202-3.206m-11.692 6.554v-5.62l5.4 2.819z",clipRule:"evenodd"})})})]}),(0,t.jsx)("div",{className:"col-span-1 lg:col-span-3"}),(0,t.jsx)(c.TextFade,{direction:"down",className:"col-span-12 md:col-span-8 lg:col-span-6 flex flex-row justify-between lg:justify-end gap-5 lg:gap-10 font-medium",children:(0,t.jsxs)("p",{className:"text-base",children:["All rights reserved © 2025 - Copyright |"," ",(0,t.jsx)(s.default,{href:"https://butterflytech.io",target:"_blank",className:"text-base underline",children:"Powered by Butterfly Technologies"})]})})]})]},"footerNav")})})};e.s(["default",0,function({children:e}){let a=(0,i.usePathname)();return(0,l.useEffect)(()=>{window.scrollTo({top:0,behavior:"smooth"})},[a]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o,{}),(0,t.jsx)(n.AnimatePresence,{mode:"wait",children:(0,t.jsx)(r.motion.div,{initial:{scale:.95,opacity:0}
7,animate:{scale:1,opacity:1},transition:{ease:"easeInOut",duration:1,delay:.1,type:"spring",bounce:.3},exit:{scale:.9,opacity:0},onAnimationStart:()=>{window.scrollTo({top:0,behavior:"smooth"})},onAnimationComplete:()=>{window.scrollTo({top:0,behavior:"smooth"})},children:e},a)}),(0,t.jsx)(d,{parsedClass:"w-full"})]})}],16868)}]);

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.