sidebar fixes

This commit is contained in:
joseCorte-exe 2022-07-11 16:33:10 -03:00
parent 664c7b32bc
commit 56949556f2
2 changed files with 11 additions and 6 deletions

View File

@ -89,11 +89,16 @@ export default function Sidebar() {
aria-describedby="modal-modal-description" aria-describedby="modal-modal-description"
> >
<Box sx={style}> <Box sx={style}>
<Typography id="modal-modal-title" variant="h6" component="h2"> <ModalContainer>
<Image src='/assets/marca1.png' width={250} height={200}/>
<Typography id="modal-modal-title" variant="subtitle2" component="p" style={{color: 'gray'}}>
Deseja realmente sair ? Deseja realmente sair ?
</Typography> </Typography>
<Link href='/'><Button variant="contained" sx={{mt:5}} onClick={() => signOut()}>Sim</Button></Link> <article>
<Button variant="contained" onClick={handleClose} color="error" sx={{mt:5 ,ml:1}}>Não</Button> <Link href='/'><button onClick={() => signOut()}>Sair</button></Link>
<button onClick={handleClose} color="error">Voltar</button>
</article>
</ModalContainer>
</Box> </Box>
</Modal> </Modal>
</ul> </ul>

View File

@ -3,7 +3,7 @@ import styled from 'styled-components'
interface SidebarViewInterface { interface SidebarViewInterface {
economiaDrawer: boolean | null, economiaDrawer: boolean | null,
modalOpen: boolean | null, modalOpen: boolean | null,
pldDrawer: boolean | undefined pldDrawer?: boolean | undefined
} }
export const SidebarView = styled.nav<SidebarViewInterface>` export const SidebarView = styled.nav<SidebarViewInterface>`