feat: add account dropdown menu with logout link

This commit is contained in:
Ali BARIN
2022-03-24 00:36:00 +01:00
committed by Ömer Faruk Aydın
parent 22e1fe5c44
commit 782dba1f5e
4 changed files with 88 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
import * as React from 'react';
import Toolbar from '@mui/material/Toolbar';
import MuiAppBar from '@mui/material/AppBar';
import AppBar from '@mui/material/AppBar';
import Box from '@mui/material/Box';
import Typography from '@mui/material/Typography';
@@ -16,7 +16,7 @@ export default function Layout({ children }: LayoutProps): React.ReactElement {
return (
<>
<MuiAppBar>
<AppBar>
<Container maxWidth="lg" disableGutters>
<Toolbar>
<Typography
@@ -29,7 +29,7 @@ export default function Layout({ children }: LayoutProps): React.ReactElement {
</Typography>
</Toolbar>
</Container>
</MuiAppBar>
</AppBar>
<Box sx={{ display: 'flex', flexDirection: 'column', height: '100%' }}>
<Toolbar />