oktopus/frontend/src/sections/account/account-profile.js
Leandro Antônio Farias Machado d297fecc62 chore: create proj structure
2023-03-07 13:33:32 +00:00

70 lines
1.2 KiB
JavaScript

import {
Avatar,
Box,
Button,
Card,
CardActions,
CardContent,
Divider,
Typography
} from '@mui/material';
const user = {
avatar: '/assets/avatars/avatar-anika-visser.png',
city: 'Los Angeles',
country: 'USA',
jobTitle: 'Senior Developer',
name: 'Anika Visser',
timezone: 'GTM-7'
};
export const AccountProfile = () => (
<Card>
<CardContent>
<Box
sx={{
alignItems: 'center',
display: 'flex',
flexDirection: 'column'
}}
>
<Avatar
src={user.avatar}
sx={{
height: 80,
mb: 2,
width: 80
}}
/>
<Typography
gutterBottom
variant="h5"
>
{user.name}
</Typography>
<Typography
color="text.secondary"
variant="body2"
>
{user.city} {user.country}
</Typography>
<Typography
color="text.secondary"
variant="body2"
>
{user.timezone}
</Typography>
</Box>
</CardContent>
<Divider />
<CardActions>
<Button
fullWidth
variant="text"
>
Upload picture
</Button>
</CardActions>
</Card>
);