feat: discard recording

This commit is contained in:
karishmas6
2024-10-10 21:50:10 +05:30
parent 7e5f1b807f
commit 18e842fc43

View File

@@ -110,19 +110,22 @@ export const NavBar: React.FC<NavBarProps> = ({ newRecording, recordingName, isR
<Logout sx={{ marginRight: '5px' }} /> <Logout sx={{ marginRight: '5px' }} />
Logout</IconButton> Logout</IconButton>
</> </>
) : <Button sx={{ ) : <IconButton sx={{
width: '100px', width: '140px',
background: '#fff', borderRadius: '5px',
color: 'rgba(25, 118, 210, 0.7)', padding: '8px',
padding: '9px', background: '#ff00c3',
marginRight: '19px', color: 'white',
'&:hover': { marginRight: '10px',
background: 'white', fontFamily: '"Roboto","Helvetica","Arial",sans-serif',
color: 'rgb(25, 118, 210)', fontWeight: '500',
} fontSize: '0.875rem',
lineHeight: '1.75',
letterSpacing: '0.02857em',
'&:hover': { color: 'white', backgroundColor: '#ff00c3' }
}} onClick={goToMainMenu}> }} onClick={goToMainMenu}>
<MeetingRoomIcon sx={{ marginRight: '5px' }} /> <MeetingRoomIcon sx={{ marginRight: '5px' }} />
exit</Button> Discard</IconButton>
} }
{ {
recordingLength > 0 recordingLength > 0