Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 7110 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 7110 Rev 7378
Línea 4... Línea 4...
4
import parse from 'html-react-parser'
4
import parse from 'html-react-parser'
Línea 5... Línea 5...
5
 
5
 
6
const UserInfo = ({
6
const UserInfo = ({
7
  cover = '',
7
  cover = '',
8
  image = '',
8
  image = '',
9
  fullName = '',
9
  fullname = '',
10
  description = '',
10
  description = '',
11
  visits = 0,
11
  visits = 0,
12
  connections = 0,
12
  connections = 0,
13
}) => {
13
}) => {
Línea 21... Línea 21...
21
          className="sidebar__cover"
21
          className="sidebar__cover"
22
        />
22
        />
23
      )}
23
      )}
24
      <Avatar
24
      <Avatar
25
        src={image}
25
        src={image}
26
        alt={`${fullName} profile image`}
26
        alt={`${fullname} profile image`}
27
        sx={{ width: '60px', height: '60px' }}
27
        sx={{ width: '60px', height: '60px' }}
28
      />
28
      />
29
      <h2>{parse(fullName)}</h2>
29
      <h2>{parse(fullname)}</h2>
30
      {parse(description)}
30
      {parse(description)}
31
      <StatItem
31
      <StatItem
32
        title={labels.who_has_seen_my_profile}
32
        title={labels.who_has_seen_my_profile}
33
        number={visits}
33
        number={visits}
34
        url="/profile/people-viewed-profile"
34
        url="/profile/people-viewed-profile"