Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2917 Rev 3032
Línea 30... Línea 30...
30
  sizes,
30
  sizes,
31
  total_connections: totalConnections,
31
  total_connections: totalConnections,
32
  twitter,
32
  twitter,
33
  user_experiences: userExperiences = [],
33
  user_experiences: userExperiences = [],
34
  view_following: viewFollowing,
34
  view_following: viewFollowing,
35
  view_total_connections: viewTotalConnections
35
  view_total_connections: viewTotalConnections,
-
 
36
  edit
36
}) => {
37
}) => {
37
  const [isAdded, setIsAdded] = useState(false)
38
  const [isAdded, setIsAdded] = useState(false)
38
  const [connectionUrl, setConnectionUrl] = useState('')
39
  const [connectionUrl, setConnectionUrl] = useState('')
39
  const [modalToShow, setModalToShow] = useState(null)
40
  const [modalToShow, setModalToShow] = useState(null)
40
  const [settedOverview, setSettedOverview] = useState('')
41
  const [settedOverview, setSettedOverview] = useState('')
Línea 102... Línea 103...
102
    setIsEdit(pathname.includes('edit'))
103
    setIsEdit(pathname.includes('edit'))
103
  }, [pathname])
104
  }, [pathname])
Línea 104... Línea 105...
104
 
105
 
105
  return (
106
  return (
106
    <Widget>
107
    <Widget>
107
      <Cover cover={cover} />
108
      <Cover cover={cover} edit={edit} />
108
      <Widget.Body>
109
      <Widget.Body>
109
        <Avatar
110
        <Avatar
110
          src={image}
111
          src={image}
111
          alt={fullName}
112
          alt={fullName}
Línea 115... Línea 116...
115
            mt: { xs: '-50px', lg: '-75px' },
116
            mt: { xs: '-50px', lg: '-75px' },
116
            border: '4px solid #fff',
117
            border: '4px solid #fff',
117
            backgroundColor: '#c9ced4',
118
            backgroundColor: '#c9ced4',
118
            cursor: isEdit ? 'pointer' : 'default'
119
            cursor: isEdit ? 'pointer' : 'default'
119
          }}
120
          }}
-
 
121
          edit={edit}
120
        />
122
        />
Línea 121... Línea 123...
121
 
123
 
122
        <Typography variant='h2'>{fullName}</Typography>
124
        <Typography variant='h2'>{fullName}</Typography>