'use client' import React, { useEffect, useState } from "react"; import Link from "next/link"; import Modal from "react-modal"; import HeaderPopupForm from "../../form/HeaderPopupForm"; import MegaMenuLanding from "../../header/mega-menu/MegaMenuLanding"; import Image from "next/image"; // ReactModal.setAppElement('#lll'); const HeaderLandingDocSignature = () => { const [isOpen, setIsOpen] = useState(false); const [click, setClick] = useState(false); const handleClick = () => setClick(!click); const [navbar, setNavbar] = useState(false); function toggleModalOne() { setIsOpen(!isOpen); } const changeBackground = () => { if (typeof window !== "undefined") { if (window.scrollY >= 90) { setNavbar(true); } else { setNavbar(false); } } }; useEffect(() => { window.addEventListener("scroll", changeBackground); return () => { window.removeEventListener("scroll", changeBackground); } }, []) return ( <> {/* ============================================= Theme Main Menu ============================================== */}
brand
{/* End logo */}
{/* /.theme-main-menu */} {/* Mobile Menu Start */}
brand
icon
{/* Mobile Menu close icon */}

Home

Product
Features
Feedback
Pricing
FAQ’s
{/* Mobile Menu End */}
{/* End close icon */}
“I never dreamed about success. I worked for it.”
—Estée Lauder
image
{/* /.left-side */}

Contact us

{/* /.right-side */}
{/* /.main-body */}
{/* End Modal For Request a demo */} ); }; export default HeaderLandingDocSignature;