-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(web): added profile + edit + autoexec changes
- Loading branch information
1 parent
e4239fb
commit c275db1
Showing
13 changed files
with
256 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import * as React from 'react' | ||
|
||
import { Box, Paper, Tab, styled } from '@mui/material' | ||
import TabContext from '@mui/lab/TabContext' | ||
import TabList from '@mui/lab/TabList' | ||
import TabPanel from '@mui/lab/TabPanel' | ||
|
||
import Profile from './profile' | ||
|
||
const StyledTab = styled(Tab)({ | ||
background: 'black', | ||
margin: '0 5px 5px 0' | ||
}) | ||
|
||
const StyledTabpanel = styled(TabPanel)({ | ||
flexGrow: 1 | ||
}) | ||
|
||
const Settings = () => { | ||
const [value, setValue] = React.useState('profile') | ||
|
||
const handleChange = (event: React.SyntheticEvent, newValue: string) => { | ||
setValue(newValue) | ||
} | ||
|
||
return ( | ||
<Box | ||
sx={{ | ||
display: 'flex', | ||
marginTop: '65px' | ||
}} | ||
> | ||
<TabContext value={value}> | ||
<Box component={Paper} sx={{ margin: '0 5px', height: '92vh' }}> | ||
<TabList | ||
TabIndicatorProps={{ | ||
style: { | ||
display: 'none' | ||
} | ||
}} | ||
orientation="vertical" | ||
onChange={handleChange} | ||
> | ||
<StyledTab label="Profile" value="profile" /> | ||
</TabList> | ||
</Box> | ||
<StyledTabpanel value="profile"> | ||
<Profile /> | ||
</StyledTabpanel> | ||
</TabContext> | ||
</Box> | ||
) | ||
} | ||
|
||
export default Settings |
Oops, something went wrong.