import { Dropdown, Menu } from "antd"; import Link from "next/link"; import { useRouter } from "next/router"; import { useState } from "react"; import { FaAngleRight, FaGripHorizontal } from "react-icons/fa"; import { useAuth } from "../../contexts/authContext"; import MainLogo from "../MainLogo"; enum LandingPageNavigation { product = "/", features = "/features", pricing = "/pricing", philosophy = "/philosophy", } export default function LangingPageLayout({ children }) { const { currUser } = useAuth(); const router = useRouter(); const [loading, setLoading] = useState(false); const currPage = router.pathname; console.log(currPage); function handleLogin() { setLoading(true); router.push("/teams"); } const getStartedButton = ( ); const mobileMenu = ( Product Features Pricing Philosophy {currUser ? ( ) : ( <> )} ); return (
{/* header */}
router.push(LandingPageNavigation.product)} className={`text-gray-500 hover:text-teal-600 hover:cursor-pointer ${ currPage == LandingPageNavigation.product ? "text-teal-600 underline underline-offset-4" : "" }`} > Product Features Pricing Philosophy {currUser ? ( <> Welcome back! ) : ( <> {getStartedButton} )}
{children}
{/* footer */}
© nirvana terms and conditions {" "} | privacy policy. Product Home Features Pricing Philosophy Resources window.open( "https://www.vox.com/recode/2019/5/1/18511575/productivity-slack-google-microsoft-facebook", "_blank" ) } > The productivity pit: how Slack is ruining work window.open( "https://www.nationalgeographic.com/science/article/coronavirus-zoom-fatigue-is-taxing-the-brain-here-is-why-that-happens", "_blank" ) } > ‘Zoom fatigue’ is taxing the brain. Here's why that happens window.open( "https://nulab.com/blog/collaboration/work-chat-distractions-do-work-instant-messengers-make-us-more-or-less-productive/", "_blank" ) } > Work chat distractions: Do work instant messengers

make us more or less productive?
Get in touch Questions or feedback? {"We'd love to hear from you."} window.open( "mailto:usenirvana@gmail.com?subject=Interested in Nirvana for Startups", "_blank" ) } > Email Us
); }