diff --git a/components/Shell.tsx b/components/Shell.tsx index 5379846ae7..0661318c06 100644 --- a/components/Shell.tsx +++ b/components/Shell.tsx @@ -7,11 +7,16 @@ export default function Shell(props) { const router = useRouter(); const [ session, loading ] = useSession(); const [ profileDropdownExpanded, setProfileDropdownExpanded ] = useState(false); + const [ mobileMenuExpanded, setMobileMenuExpanded ] = useState(false); const toggleProfileDropdown = () => { setProfileDropdownExpanded(!profileDropdownExpanded); } + const toggleMobileMenu = () => { + setMobileMenuExpanded(!mobileMenuExpanded); + } + return (
@@ -72,27 +77,31 @@ export default function Shell(props) {
-
-
+ { mobileMenuExpanded &&
- Dashboard - Bookings - Availability - Integrations - Teams + + Dashboard + + + Availability + + + Integrations +
@@ -111,12 +120,17 @@ export default function Shell(props) {
- Your Profile - Settings - Sign out + + Your Profile + + + Settings + +
+ }