{"version":3,"file":"NavbarFromHTML.BlML2-m2.mjs","names":["useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/20uS9JlnYbYORHg1BXJJ/bKVZCb06bfaslBENrSna/NavbarFromHTML.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";export default function NavbarFromHTML(){const[isOpen,setIsOpen]=useState(false);const[isMobile,setIsMobile]=useState(false);useEffect(()=>{const checkMobile=()=>{setIsMobile(window.innerWidth<1100);};checkMobile();window.addEventListener(\"resize\",checkMobile);return()=>window.removeEventListener(\"resize\",checkMobile);},[]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                :root {\n                    --indigo: #3D3BE8;\n                    --ink: #0E1117;\n                }\n                \n                .nav-top {\n                    position: fixed;\n                    top: 0;\n                    left: 0;\n                    right: 0;\n                    z-index: 9999;\n                    background: rgba(245, 244, 240, 0.85);\n                    backdrop-filter: saturate(180%) blur(14px);\n                    -webkit-backdrop-filter: saturate(180%) blur(14px);\n                    border-bottom: 1px solid rgba(228, 226, 220, 0.6);\n                    width: 100%;\n                    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n                }\n                \n                .nav-inner {\n                    display: flex;\n                    align-items: center;\n                    justify-content: space-between;\n                    height: 72px;\n                    max-width: 1240px;\n                    margin: 0 auto;\n                    padding: 0 28px;\n                }\n                \n                .nav-brand {\n                    display: flex;\n                    align-items: center;\n                    gap: 4px;\n                    color: var(--ink);\n                    text-decoration: none;\n                }\n                \n                .nav-brand-logo {\n                    width: 46px;\n                    height: 46px;\n                    display: block;\n                    flex: 0 0 auto;\n                    object-fit: contain;\n                    margin-left: -6px;\n                }\n                \n                .nav-brand-name {\n                    font-family: Georgia, \"Times New Roman\", serif;\n                    font-style: italic;\n                    font-size: 28px;\n                    line-height: 1;\n                    font-weight: 400;\n                }\n                \n                .nav-menu {\n                    display: flex;\n                    gap: 28px;\n                    list-style: none;\n                    font-size: 13.5px;\n                    font-weight: 500;\n                    color: var(--ink);\n                    margin: 0;\n                    padding: 0;\n                    margin-left: auto;\n                    margin-right: 28px;\n                }\n                \n                .nav-menu a {\n                    position: relative;\n                    padding: 6px 0;\n                    transition: color .2s;\n                    text-decoration: none;\n                    color: inherit;\n                    white-space: nowrap;\n                }\n                \n                .nav-menu a:hover {\n                    color: var(--indigo);\n                }\n                \n                .nav-cta {\n                    font-size: 13px;\n                    font-weight: 600;\n                    background: var(--ink);\n                    color: #fff;\n                    padding: 12px 22px;\n                    border-radius: 999px;\n                    transition: transform .2s, background .2s;\n                    min-height: 44px;\n                    display: inline-flex;\n                    align-items: center;\n                    text-decoration: none;\n                    white-space: nowrap;\n                }\n                \n                .nav-cta:hover {\n                    background: var(--indigo);\n                    transform: translateY(-1px);\n                }\n                \n                .nav-actions {\n                    display: flex;\n                    align-items: center;\n                    gap: 12px;\n                }\n                \n                .nav-burger {\n                    width: 44px;\n                    height: 44px;\n                    background: transparent;\n                    border: none;\n                    cursor: pointer;\n                    display: none;\n                    align-items: center;\n                    justify-content: center;\n                    padding: 0;\n                }\n                \n                .nav-burger svg {\n                    width: 24px;\n                    height: 24px;\n                }\n                \n                @media (max-width: 1100px) {\n                    .nav-menu {\n                        display: none;\n                    }\n                    \n                    .nav-burger {\n                        display: flex;\n                    }\n                    \n                    .nav-brand-name {\n                        display: none;\n                    }\n                }\n                \n                @media (max-width: 480px) {\n                    .cta-extra {\n                        display: none;\n                    }\n                }\n            `}),/*#__PURE__*/_jsx(\"nav\",{className:\"nav-top\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"nav-inner\",children:[/*#__PURE__*/_jsxs(\"a\",{href:\"/\",className:\"nav-brand\",children:[/*#__PURE__*/_jsx(\"img\",{className:\"nav-brand-logo\",src:\"https://apollo-cacms.s3.ap-south-1.amazonaws.com/apollo_logo/SVG+1-04+(2).svg\",alt:\"Apollo Finvest\"}),/*#__PURE__*/_jsx(\"span\",{className:\"nav-brand-name\",children:\"Apollo Finvest\"})]}),!isMobile&&/*#__PURE__*/_jsxs(\"ul\",{className:\"nav-menu\",children:[/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"https://apollofinvest.com\",children:\"Apollo Cash\"})}),/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/about\",children:\"About\"})}),/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/culture\",children:\"Careers\"})}),/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/investor-relations\",children:\"Investors\"})}),/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"https://apollo.substack.com/\",target:\"_blank\",rel:\"noopener noreferrer\",children:\"Blogs\"})}),/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"/contact\",children:\"Contact\"})})]}),/*#__PURE__*/_jsxs(\"span\",{className:\"nav-actions\",children:[/*#__PURE__*/_jsxs(\"a\",{href:\"https://play.google.com/store/apps/details?id=com.ApolloApp\",className:\"nav-cta\",children:[\"Download\",/*#__PURE__*/_jsx(\"span\",{className:\"cta-extra\",children:\"\\xa0app\"})]}),isMobile&&/*#__PURE__*/_jsx(\"button\",{className:\"nav-burger\",onClick:()=>setIsOpen(true),\"aria-label\":\"Open menu\",children:/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2.2\",strokeLinecap:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M4 7h16M4 12h16M4 17h16\"})})})]})]})})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NavbarFromHTML\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n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