{"version":3,"file":"shared-lib.CSR8a4Z-.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/l4O0uGL12RAH2XdwxRNp/5V8lmLgGVdtM66bSxvlC/NavBar.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import{addPropertyControls}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight 72\n */export default function NavBar(props){const NAVY=\"#1F4E79\";const WHITE=\"#FFFFFF\";const navLinks=[{label:\"Home\",href:\"/\"},{label:\"Industry R&D\",href:\"/industry-r-d\"},{label:\"Academic & Research\",href:\"/academic-research\"},{label:\"Projects & Case Studies\",href:\"/projects-case-studies\"},{label:\"Publications\",href:\"/publications\"},{label:\"Technical Arsenal\",href:\"/technical-arsenal\"},{label:\"Contact\",href:\"/contact\"}];const[menuOpen,setMenuOpen]=useState(false);const[isMobile,setIsMobile]=useState(false);useEffect(()=>{const check=()=>setIsMobile(window.innerWidth<768);check();window.addEventListener(\"resize\",check);return()=>window.removeEventListener(\"resize\",check);},[]);const navWrap={width:\"100%\",backgroundColor:NAVY,position:\"relative\",zIndex:100,fontFamily:\"Inter, sans-serif\"};const innerBar={maxWidth:1200,margin:\"0 auto\",padding:isMobile?\"0 20px\":\"0 48px\",height:72,display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\"};const logoStyle={color:WHITE,fontWeight:800,fontSize:isMobile?15:18,textDecoration:\"none\",letterSpacing:\"-0.3px\",flexShrink:0};const desktopLinks={display:isMobile?\"none\":\"flex\",gap:6,alignItems:\"center\",listStyle:\"none\",margin:0,padding:0};const linkStyle={color:\"rgba(255,255,255,0.82)\",fontSize:13,textDecoration:\"none\",padding:\"6px 10px\",borderRadius:4,transition:\"color 0.2s\",whiteSpace:\"nowrap\"};const ctaBtn={display:isMobile?\"none\":\"inline-block\",backgroundColor:\"#2E86C1\",color:WHITE,fontSize:13,fontWeight:700,padding:\"8px 18px\",borderRadius:6,textDecoration:\"none\",flexShrink:0,marginLeft:12};const hamburger={display:isMobile?\"flex\":\"none\",flexDirection:\"column\",gap:5,cursor:\"pointer\",padding:4,background:\"none\",border:\"none\",outline:\"none\"};const bar={width:24,height:2,backgroundColor:WHITE,borderRadius:2,transition:\"all 0.2s\"};const mobileMenu={display:isMobile&&menuOpen?\"flex\":\"none\",flexDirection:\"column\",backgroundColor:\"#163D5E\",padding:\"16px 20px\",gap:4};const mobileLinkStyle={color:\"rgba(255,255,255,0.9)\",fontSize:15,textDecoration:\"none\",padding:\"10px 0\",borderBottom:\"1px solid rgba(255,255,255,0.1)\",display:\"block\"};const mobileCtaStyle={display:\"block\",marginTop:12,backgroundColor:\"#2E86C1\",color:WHITE,fontSize:14,fontWeight:700,padding:\"12px 20px\",borderRadius:6,textDecoration:\"none\",textAlign:\"center\"};const linkItems=[];for(let i=0;i<navLinks.length;i++){const lnk=navLinks[i];linkItems.push(/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:lnk.href,style:linkStyle,children:lnk.label})},lnk.href));}const mobileLinkItems=[];for(let i=0;i<navLinks.length;i++){const lnk=navLinks[i];mobileLinkItems.push(/*#__PURE__*/_jsx(\"a\",{href:lnk.href,style:mobileLinkStyle,children:lnk.label},lnk.href));}return /*#__PURE__*/_jsxs(\"div\",{style:navWrap,children:[/*#__PURE__*/_jsxs(\"div\",{style:innerBar,children:[/*#__PURE__*/_jsx(\"a\",{href:\"/\",style:logoStyle,children:\"Dr. Ahmed Yusuf\"}),/*#__PURE__*/_jsx(\"ul\",{style:desktopLinks,children:linkItems}),/*#__PURE__*/_jsx(\"a\",{href:\"/contact\",style:ctaBtn,children:\"Get in Touch\"}),/*#__PURE__*/_jsxs(\"button\",{style:hamburger,onClick:()=>setMenuOpen(!menuOpen),\"aria-label\":\"Toggle menu\",children:[/*#__PURE__*/_jsx(\"span\",{style:bar}),/*#__PURE__*/_jsx(\"span\",{style:bar}),/*#__PURE__*/_jsx(\"span\",{style:bar})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:mobileMenu,children:[mobileLinkItems,/*#__PURE__*/_jsx(\"a\",{href:\"/contact\",style:mobileCtaStyle,children:\"Get in Touch\"})]})]});}addPropertyControls(NavBar,{});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NavBar\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"72\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NavBar.map"],"mappings":"+LAGG,SAAwB,EAAO,EAAM,CAAC,IAA2B,EAAM,UAAgB,EAAS,CAAC,CAAC,MAAM,OAAO,KAAK,IAAI,CAAC,CAAC,MAAM,eAAe,KAAK,gBAAgB,CAAC,CAAC,MAAM,sBAAsB,KAAK,qBAAqB,CAAC,CAAC,MAAM,0BAA0B,KAAK,yBAAyB,CAAC,CAAC,MAAM,eAAe,KAAK,gBAAgB,CAAC,CAAC,MAAM,oBAAoB,KAAK,qBAAqB,CAAC,CAAC,MAAM,UAAU,KAAK,WAAW,CAAC,CAAM,CAAC,EAAS,GAAaA,EAAS,GAAM,CAAM,CAAC,EAAS,GAAaA,EAAS,GAAM,CAAC,MAAc,CAAC,IAAM,MAAU,EAAY,EAAO,WAAW,IAAI,CAAiD,OAAhD,GAAO,CAAC,EAAO,iBAAiB,SAAS,EAAM,KAAW,EAAO,oBAAoB,SAAS,EAAM,EAAG,EAAE,CAAC,CAAC,IAAM,EAAQ,CAAC,MAAM,OAAO,gBAAgB,UAAK,SAAS,WAAW,OAAO,IAAI,WAAW,oBAAoB,CAAO,EAAS,CAAC,SAAS,KAAK,OAAO,SAAS,QAAQ,EAAS,SAAS,SAAS,OAAO,GAAG,QAAQ,OAAO,WAAW,SAAS,eAAe,gBAAgB,CAAO,EAAU,CAAC,MAAM,EAAM,WAAW,IAAI,SAAS,EAAS,GAAG,GAAG,eAA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