diff --git a/frontend/src/component/personalDashboard/PersonalDashboard.tsx b/frontend/src/component/personalDashboard/PersonalDashboard.tsx index 6d71910cfeaa..dd3d4601eddf 100644 --- a/frontend/src/component/personalDashboard/PersonalDashboard.tsx +++ b/frontend/src/component/personalDashboard/PersonalDashboard.tsx @@ -1,3 +1,139 @@ +import { useAuthUser } from 'hooks/api/getters/useAuth/useAuthUser'; +import { + Grid, + Paper, + styled, + Typography, + Box, + List, + ListItem, + ListItemButton, +} from '@mui/material'; +import type { Theme } from '@mui/material/styles/createTheme'; +import { ProjectIcon } from 'component/common/ProjectIcon/ProjectIcon'; + +const ScreenExplanation = styled(Typography)(({ theme }) => ({ + marginTop: theme.spacing(1), + marginBottom: theme.spacing(8), + maxWidth: theme.spacing(45), +})); + +const StyledHeaderTitle = styled(Typography)(({ theme }) => ({ + fontSize: theme.typography.h2.fontSize, + fontWeight: 'normal', + marginBottom: theme.spacing(2), +})); + +const Projects = styled(Paper)(({ theme }) => ({ + borderRadius: `${theme.shape.borderRadiusLarge}px`, + boxShadow: 'none', + padding: theme.spacing(4), +})); + +const projectStyle = (theme: Theme) => ({ + borderRadius: theme.spacing(0.5), + borderLeft: `${theme.spacing(0.5)} solid transparent`, + '&.Mui-selected': { + borderLeft: `${theme.spacing(0.5)} solid ${theme.palette.primary.main}`, + }, + display: 'flex', + flexDirection: 'column', + alignItems: 'flex-start', + gap: theme.spacing(1), +}); + export const PersonalDashboard = () => { - return <>Personal Dashboard>; + const { user } = useAuthUser(); + + const name = user?.name; + + return ( +