import { motion } from 'framer-motion'; import PropTypes from 'prop-types'; import { app as $appContent } from '../../../content'; import { clsm } from '../../../utils'; import { useResponsiveDevice } from '../../../contexts/ResponsiveDevice'; import { useUser } from '../../../contexts/User'; import Button from '../../../components/Button'; const $content = $appContent.navbar; const MobileNavbar = ({ className, motionProps }) => { const { isMobileView } = useResponsiveDevice(); const { isSessionValid } = useUser(); return ( !isSessionValid && isMobileView && (
a]:w-full' ])} >
) ); }; MobileNavbar.defaultProps = { className: '', motionProps: {} }; MobileNavbar.propTypes = { className: PropTypes.string, motionProps: PropTypes.object }; export default MobileNavbar;