hide mobile drawer auth shell

This commit is contained in:
jeffvli
2026-07-18 21:51:46 -07:00
parent 8e3d3d3ec0
commit 4f08867fd7
@@ -40,6 +40,7 @@ export const MobileLayout = ({ shell }: MobileLayoutProps) => {
id="mobile-layout" id="mobile-layout"
> >
{!shell && <WindowBar />} {!shell && <WindowBar />}
{!shell && (
<ActionIcon <ActionIcon
className={styles.drawerButton} className={styles.drawerButton}
icon="menu" icon="menu"
@@ -48,6 +49,7 @@ export const MobileLayout = ({ shell }: MobileLayoutProps) => {
tooltip={{ label: 'Menu' }} tooltip={{ label: 'Menu' }}
variant="subtle" variant="subtle"
/> />
)}
<main className={styles.mainContent}> <main className={styles.mainContent}>
<Suspense fallback={<Spinner container />}> <Suspense fallback={<Spinner container />}>
<Outlet /> <Outlet />
@@ -55,6 +57,7 @@ export const MobileLayout = ({ shell }: MobileLayoutProps) => {
</main> </main>
<PlayerBar /> <PlayerBar />
</div> </div>
{!shell && (
<Drawer <Drawer
onClose={closeSidebar} onClose={closeSidebar}
opened={sidebarOpened} opened={sidebarOpened}
@@ -74,6 +77,7 @@ export const MobileLayout = ({ shell }: MobileLayoutProps) => {
> >
<MobileSidebar /> <MobileSidebar />
</Drawer> </Drawer>
)}
<AnimatePresence initial={false}> <AnimatePresence initial={false}>
{isFullScreenPlayerExpanded && ( {isFullScreenPlayerExpanded && (
<div className={styles.fullScreenPlayerOverlay}> <div className={styles.fullScreenPlayerOverlay}>