feat: Profile Panel buttons

This commit is contained in:
Caio Cabral committed 2025-01-15 17:51:13 -05:00
1 parent 53fcd5acc7
commit 851ad48b3e
1 file changed
+6 -4
@@ -231,6 +231,7 @@ const ProfilePanel = () => {
direction="row" direction="row"
gap={SPACING_GAP} gap={SPACING_GAP}
> >
{/* This 0.9 is a bit magic numbering, refactor */}
<Box flex={0.9}> <Box flex={0.9}>
<Typography component="h1">First name</Typography> <Typography component="h1">First name</Typography>
</Box> </Box>
@@ -303,6 +304,7 @@ const ProfilePanel = () => {
direction="row" direction="row"
alignItems="center" alignItems="center"
flex={1} flex={1}
gap={"8px"}
> >
<Avatar <Avatar
src={ src={
@@ -312,17 +314,17 @@ const ProfilePanel = () => {
? localData.file ? localData.file
: "" : ""
} }
sx={{ mr: "8px" }} sx={{ marginRight: "8px" }}
/> />
<Button <Button
variant="text" variant="outlined"
color="info" color="error"
onClick={handleDeletePicture} onClick={handleDeletePicture}
> >
Delete Delete
</Button> </Button>
<Button <Button
variant="text" variant="outlined"
color="accent" color="accent"
onClick={openPictureModal} onClick={openPictureModal}
> >