Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 5285 Rev 5902
Línea 8... Línea 8...
8
  cover = '',
8
  cover = '',
9
  image = '',
9
  image = '',
10
  fullName = '',
10
  fullName = '',
11
  description = '',
11
  description = '',
12
  visits = 0,
12
  visits = 0,
13
  connections = 0
13
  connections = 0,
14
}) => {
14
}) => {
-
 
15
  console.log(image)
15
  return (
16
  return (
16
        <div className='sidebar__top'>
17
    <div className="sidebar__top">
-
 
18
      {cover && (
-
 
19
        <img
17
            {cover && <img src='./static/profile_2.jpg' alt='Profile cover' className='sidebar__cover' />}
20
          src="./static/profile_2.jpg"
-
 
21
          alt="Profile cover"
-
 
22
          className="sidebar__cover"
-
 
23
        />
-
 
24
      )}
18
            <Avatar imageUrl={image} size='xl' name={fullName} />
25
      <Avatar imageUrl={image} size="xl" name={fullName} />
19
            <h2>{parse(fullName)}</h2>
26
      <h2>{parse(fullName)}</h2>
20
            {parse(description)}
27
      {parse(description)}
-
 
28
      <StatItem
21
            <StatItem title={`¿${LABELS.WHO_HAS_SEEN_MY_PROFILE}?`} number={visits} url='/profile/people-viewed-profile' />
29
        title={`¿${LABELS.WHO_HAS_SEEN_MY_PROFILE}?`}
-
 
30
        number={visits}
-
 
31
        url="/profile/people-viewed-profile"
-
 
32
      />
-
 
33
      <StatItem
-
 
34
        title={LABELS.CONNECTIONS}
-
 
35
        number={connections}
22
            <StatItem title={LABELS.CONNECTIONS} number={connections} url='/connection/my-connections' />
36
        url="/connection/my-connections"
-
 
37
      />
23
        </div>
38
    </div>
24
  )
39
  )
25
}
40
}
Línea 26... Línea 41...
26
 
41