diff --git a/apps/web/src/apps/modules/layouts/module.layout.tsx b/apps/web/src/apps/modules/layouts/module.layout.tsx index fa7c64d..6ec734c 100644 --- a/apps/web/src/apps/modules/layouts/module.layout.tsx +++ b/apps/web/src/apps/modules/layouts/module.layout.tsx @@ -5,7 +5,8 @@ import { MENU_ITEMS } from './data/menu.data'; export default function ModuleLayout({ children }: { children: React.ReactNode }) { const configAppShell: CoreAppShellConfig = { - variant: 'header-first', + // variant: 'header-first', + variant: 'sidebar-first', features: { desktopCollapseVariant: 'mini', withUtilityBar: false, diff --git a/packages/ui/src/components/core-app-shell/core-app-shell.tsx b/packages/ui/src/components/core-app-shell/core-app-shell.tsx index ef81963..e97ec67 100644 --- a/packages/ui/src/components/core-app-shell/core-app-shell.tsx +++ b/packages/ui/src/components/core-app-shell/core-app-shell.tsx @@ -1,5 +1,5 @@ import React, { useMemo } from 'react'; -import { AppShell, Flex, Box, Button } from '@mantine/core'; +import { AppShell, Flex, Box, Text, CloseButton } from '@mantine/core'; import { CoreAppShellProvider, useCoreAppShell } from './core-app-shell-context'; import { CoreAppShellConfig, CoreAppShellSlots, CoreAppShellDimensions } from './types'; @@ -142,11 +142,16 @@ function CoreAppShellInner({ slots = {}, children }: CoreAppShellInnerProps) { {isSidebarFirst && ( - - - + + Menu + + )} {slots.sidebarMobile || slots.sidebar}