import { useIdentityData } from "components/IdentityProvider"; import { Separator } from "components/Layout"; import { navPages, NotificationButton, ReaderButton, WriterButton, } from "./NavigationButtons"; import { PublicationNavigation } from "./PublicationNavigation"; import { LoginActionButton } from "components/LoginButton"; import { ProfileButton } from "./ProfileButton"; export const MobileNavigation = (props: { currentPage: navPages; currentPublicationUri?: string; currentProfileDid?: string; }) => { let { identity } = useIdentityData(); let compactOnMobile = props.currentPage === "home" || props.currentPage === "looseleafs" || props.currentPage === "pub"; return (