Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1915 | Rev 1932 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1915 Rev 1921
Línea 11... Línea 11...
11
import ConfirmModal from 'components/modals/ConfirmModal'
11
import ConfirmModal from 'components/modals/ConfirmModal'
12
import ImageModal from 'components/modals/ImageModal'
12
import ImageModal from 'components/modals/ImageModal'
13
import OverviewModal from 'components/overview/OverviewModal'
13
import OverviewModal from 'components/overview/OverviewModal'
14
import Cover from '../UI/cover/Cover'
14
import Cover from '../UI/cover/Cover'
15
import WidgetWrapper from '../widgets/WidgetLayout'
15
import WidgetWrapper from '../widgets/WidgetLayout'
-
 
16
import { IconButton } from '@mui/material'
Línea 16... Línea 17...
16
 
17
 
17
const ProfileCard = ({
18
const ProfileCard = ({
18
  full_name: fullName = '',
19
  full_name: fullName = '',
19
  overview = '',
20
  overview = '',
Línea 125... Línea 126...
125
              className={`img ${isEdit && 'cursor-pointer'}`}
126
              className={`img ${isEdit && 'cursor-pointer'}`}
126
              src={profileImg}
127
              src={profileImg}
127
              onClick={() => isEdit && setModalToShow('image')}
128
              onClick={() => isEdit && setModalToShow('image')}
128
            />
129
            />
129
            {isEdit && (
130
            {isEdit && (
130
              <button className='' onClick={() => setModalToShow('overview')}>
131
              <IconButton onClick={() => setModalToShow('overview')}>
131
                <EditIcon />
132
                <EditIcon />
132
              </button>
133
              </IconButton>
133
            )}
134
            )}
134
          </div>
135
          </div>
135
          <div className='card-content'>
136
          <div className='card-content'>
136
            <div className='card-info'>
137
            <div className='card-info'>
137
              <h1>{fullName}</h1>
138
              <h1>{fullName}</h1>