dummy header

This commit is contained in:
2023-02-27 11:25:42 +01:00
parent aa87b99364
commit 28aafb06aa

View File

@ -24,7 +24,8 @@ import
Header,
MediaQuery,
Burger
Burger,
Stack
} from '@mantine/core';
import { NotificationsProvider } from '@mantine/notifications';
import { notificationAlert, notificationError, notificationSuccess } from './services/Notifications';
@ -77,10 +78,12 @@ const App: React.FC = () =>
<MantineProvider withNormalizeCSS withGlobalStyles>
<NotificationsProvider position="top-center" >
<div className="App">
<Stack>
<div className='h-11'></div> {/* dummy header */}
<BrowserRouter basename='/dog/'>
<AppShell
padding={0}
fixed
navbarOffsetBreakpoint="sm"
navbar={<DogNavbar hidden={!opened} hasUser={user ? true : false} onLogout={userLogout}/>}
@ -118,6 +121,7 @@ const App: React.FC = () =>
</Routes>
</AppShell>
</BrowserRouter>
</Stack>
</div>
</NotificationsProvider>
</MantineProvider>