diff --git a/Client/src/Pages/Settings/index.jsx b/Client/src/Pages/Settings/index.jsx index 87c5eddb7..747402a37 100644 --- a/Client/src/Pages/Settings/index.jsx +++ b/Client/src/Pages/Settings/index.jsx @@ -9,6 +9,7 @@ import { Avatar, Stack, Divider, + Modal, } from "@mui/material"; import TabPanel from "@mui/lab/TabPanel"; import TabContext from "@mui/lab/TabContext"; @@ -40,17 +41,21 @@ const Settings = () => { setIsLoading(false); }, 2000); }; + //TODO - implement delete profile update function const handleUpdatePicture = () => {}; + + const [isOpen, setIsOpen] = useState(false); + //TODO - implement delete account function const handleDeleteAccount = () => { setIsLoading(true); setTimeout(() => { setIsLoading(false); + setIsOpen(false); }, 2000); }; return ( { > - + {tabList.map((label, index) => ( { flex: 1, color: theme.palette.secondary.main, fontSize: "13px", - fontWeight: "700", + fontWeight: "600", marginRight: "10px", }} > - First Name + First name { flex: 1, color: theme.palette.secondary.main, fontSize: "13px", - fontWeight: "700", + fontWeight: "600", marginRight: "10px", }} > - Last Name + Last name { sx={{ color: theme.palette.secondary.main, fontSize: "13px", - fontWeight: "700", + fontWeight: "600", }} > Email @@ -189,10 +194,10 @@ const Settings = () => { sx={{ color: theme.palette.secondary.main, fontSize: "13px", - fontWeight: "700", + fontWeight: "600", }} > - Your Photo + Your photo { This photo will be displayed in your profile page. - + {/* TODO - Use Avatar component instead of @mui */} { className="icon-button-avatar" style={{ width: "64px", height: "64px" }} /> - {/* TODO - delete pfp functionality */} { label="Update" onClick={handleUpdatePicture} sx={{ + height: "fit-content", color: theme.palette.primary.main, + fontSize: "13px", "&:focus": { outline: "none", }, @@ -251,10 +259,10 @@ const Settings = () => { sx={{ color: theme.palette.secondary.main, fontSize: "13px", - fontWeight: "700", + fontWeight: "600", }} > - Delete Account + Delete account {