mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-31 17:33:25 +02:00
hide mobile drawer auth shell
This commit is contained in:
@@ -40,6 +40,7 @@ export const MobileLayout = ({ shell }: MobileLayoutProps) => {
|
||||
id="mobile-layout"
|
||||
>
|
||||
{!shell && <WindowBar />}
|
||||
{!shell && (
|
||||
<ActionIcon
|
||||
className={styles.drawerButton}
|
||||
icon="menu"
|
||||
@@ -48,6 +49,7 @@ export const MobileLayout = ({ shell }: MobileLayoutProps) => {
|
||||
tooltip={{ label: 'Menu' }}
|
||||
variant="subtle"
|
||||
/>
|
||||
)}
|
||||
<main className={styles.mainContent}>
|
||||
<Suspense fallback={<Spinner container />}>
|
||||
<Outlet />
|
||||
@@ -55,6 +57,7 @@ export const MobileLayout = ({ shell }: MobileLayoutProps) => {
|
||||
</main>
|
||||
<PlayerBar />
|
||||
</div>
|
||||
{!shell && (
|
||||
<Drawer
|
||||
onClose={closeSidebar}
|
||||
opened={sidebarOpened}
|
||||
@@ -74,6 +77,7 @@ export const MobileLayout = ({ shell }: MobileLayoutProps) => {
|
||||
>
|
||||
<MobileSidebar />
|
||||
</Drawer>
|
||||
)}
|
||||
<AnimatePresence initial={false}>
|
||||
{isFullScreenPlayerExpanded && (
|
||||
<div className={styles.fullScreenPlayerOverlay}>
|
||||
|
||||
Reference in New Issue
Block a user