import React, { Fragment } from 'react' import { Popover, Transition } from '@headlessui/react' import { DocumentTextIcon, MenuIcon, XIcon } from '@heroicons/react/outline' // import { useActiveWeb3React } from '@hooks/wallet/useActiveWeb3React' import { ANALYTICS_PATH, BRIDGE_PATH, CONTRACTS_PATH, DISCORD_URL, DOCS_URL, FORUM_URL, INTERCHAIN_PATH, LANDING_PATH, POOLS_PATH, PORTFOLIO_PATH, STAKE_PATH, SWAP_PATH, TELEGRAM_URL, TWITTER_URL, } from '@urls' import { Grid } from '@components/tailwind/Grid' import { ForumIcon } from '@components/icons/ForumIcon' import { TwitterIcon } from '@components/icons/TwitterIcon' import { DiscordIcon } from '@components/icons/DiscordIcon' import { TelegramIcon } from '@components/icons/TelegramIcon' import { SynapseLogoSvg } from './SynapseLogoSvg' import { PageFooter } from './PageFooter' import { WalletNetworkSection } from './WalletNetworkSection' import TopBarNavLink from './TopBarNavLink' import MoreButton from './MoreButton' export const PageWrapper = ({ children }) => { return (
{children}
) } export const LandingNav = () => { const topBarBtns = const mobileBarBtns = const moreInfoBtns = const socialBtns = return (
Open menu
{topBarBtns}
{({ open }) => ( <> {moreInfoBtns} {socialBtns} )}
Close menu
{mobileBarBtns}
) } const PopoverPanelContainer = ({ children, className }) => { return (
{children}
) } const TopBarButtons = () => { return ( <> ) } const MoreInfoButtons = () => { // const { chainId } = useActiveWeb3React() return ( <> {/* */} ) } const SocialButtons = () => { return ( } /> } /> } /> } /> } /> ) } const MobileBarButtons = () => { return ( <> ) } const MobileBarItem = ({ to, labelText }) => { return ( {to === LANDING_PATH ? (

{labelText}

) : (

{labelText}

)}
) } interface MoreInfoItemProps { to: string labelText: string className?: string description?: string } const MoreInfoItem: React.FC = ({ to, labelText, description, className, }) => { return (

{labelText}

{description}

) } const MiniInfoItem = ({ href, icon, labelText }) => { return (

{icon} {labelText}

) } export const SynapseTitleLogo = ({ showText }) => { return ( ) }