diff --git a/frontend/src/scenes/settings/Settings.css b/frontend/src/scenes/settings/Settings.css new file mode 100644 index 00000000..cd61f0da --- /dev/null +++ b/frontend/src/scenes/settings/Settings.css @@ -0,0 +1,6 @@ +.settings{ + display: flex; + justify-content: center; + width: 60%; + margin: 30px 30px; +} \ No newline at end of file diff --git a/frontend/src/scenes/settings/Settings.jsx b/frontend/src/scenes/settings/Settings.jsx new file mode 100644 index 00000000..5f5b1ba7 --- /dev/null +++ b/frontend/src/scenes/settings/Settings.jsx @@ -0,0 +1,18 @@ +import React from "react"; +import SettingsTabs from "./SettingsTabs/SettingsTabs"; +import './Settings.css' +import HomePageTemplate from "../../components/templates/HomePageTemplate"; + +const Settings = () => { + return ( +
+ +
+ +
+
+
+ ); +}; + +export default Settings; diff --git a/frontend/src/scenes/settings/SettingsTabs/ProfileTab/ProfileTab.css b/frontend/src/scenes/settings/SettingsTabs/ProfileTab/ProfileTab.css new file mode 100644 index 00000000..80ecd73d --- /dev/null +++ b/frontend/src/scenes/settings/SettingsTabs/ProfileTab/ProfileTab.css @@ -0,0 +1,83 @@ +*{ + font-size: 13px; +} +.form{ + padding-bottom: 20px; + border-bottom: 1px solid #EEEEEE; +} +.first-name-element{ + display: flex; + justify-content: space-between; + margin: 0px; +} +.form-elements{ + display: flex; + justify-content: space-between; + margin: 25px 0px; +} +.photo-elements{ + display: flex; + gap: 12px; + margin: 30px 0px; +} +.photo-options{ + display: flex; + gap: 20px; +} +.label-elements{ + display: flex; + flex-direction: column; +} +.label{ + font-weight: 600; +} +.support-text{ + margin: 0; + font-weight: 400; + color: #667085; + padding-right: 25px; +} +.input{ + width: 378px; + height: 34px; + border: 1px solid #D0D5DD; + border-radius: 4px; +} +.update{ + color: #1976d2; + border: none; + background: none; + cursor: pointer; +} +.button-options{ + display: flex; + gap: 16px; +} +.save-button{ + display: flex; + justify-content: flex-end; +} +.save{ + width: 160px; + height: 34px; + color: white; + background-color: #4C7DE7; + padding: 10px 16px; + border: 1px solid #175CD3; + border-radius: 4px; + cursor: pointer; +} +.delete-heading{ + margin-top: 10px; + margin-bottom: 0px; +} +.delete{ + width: 160px; + height: 34px; + color: white; + background-color: #DB504A; + border: 1px solid #DB504A; + margin-top: 20px; + border-radius: 4px; + cursor: pointer; +} \ No newline at end of file diff --git a/frontend/src/scenes/settings/SettingsTabs/ProfileTab/ProfileTab.jsx b/frontend/src/scenes/settings/SettingsTabs/ProfileTab/ProfileTab.jsx new file mode 100644 index 00000000..4db9809f --- /dev/null +++ b/frontend/src/scenes/settings/SettingsTabs/ProfileTab/ProfileTab.jsx @@ -0,0 +1,76 @@ +import React from "react"; +import Avatar from "../../../../components/Avatar/Avatar"; +import "./ProfileTab.css"; + +const ProfileTab = () => { + return ( +
+
+
+
+ + +
+
+ + +
+
+
+ +

+ This is your current email address -- it cannot be changed. +

+
+ +
+
+
+ +

+ This photo will be displayed in your profile page. +

+
+
+ +
+

Delete

+ +
+
+
+
+ +
+
+
+
+

Delete Account

+

Note that deleting your account will remove all data from our system. This is permanent and non-recoverable.

+
+ +
+
+
+ ); +}; + +export default ProfileTab; diff --git a/frontend/src/scenes/settings/SettingsTabs/SettingsTabs.css b/frontend/src/scenes/settings/SettingsTabs/SettingsTabs.css new file mode 100644 index 00000000..16dab61e --- /dev/null +++ b/frontend/src/scenes/settings/SettingsTabs/SettingsTabs.css @@ -0,0 +1,3 @@ +.tab-label{ + font-size: 13px !important; +} \ No newline at end of file diff --git a/frontend/src/scenes/settings/SettingsTabs/SettingsTabs.jsx b/frontend/src/scenes/settings/SettingsTabs/SettingsTabs.jsx new file mode 100644 index 00000000..772e1145 --- /dev/null +++ b/frontend/src/scenes/settings/SettingsTabs/SettingsTabs.jsx @@ -0,0 +1,36 @@ +import { useState } from 'react'; +import Box from '@mui/material/Box'; +import Tab from '@mui/material/Tab'; +import TabContext from '@mui/lab/TabContext'; +import TabList from '@mui/lab/TabList'; +import TabPanel from '@mui/lab/TabPanel'; +import './SettingsTabs.css' +import ProfileTab from './ProfileTab/ProfileTab'; + + +const tabLabel = ['Profile', 'Password', 'Team'] + +export default function SettingsTabs() { + const [value, setValue] = useState('1'); + + const handleChange = (event, newValue) => { + setValue(newValue); + }; + + return ( + + + + + + + + + + + Item Two + Item Three + + + ); +}