Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2902 Rev 2905
Línea 11... Línea 11...
11
import Cover from '@components/UI/cover/Cover'
11
import Cover from '@components/UI/cover/Cover'
12
import ConfirmModal from '@components/modals/ConfirmModal'
12
import ConfirmModal from '@components/modals/ConfirmModal'
13
import ProfileModal from './ProfileModal'
13
import ProfileModal from './ProfileModal'
Línea 14... Línea 14...
14
 
14
 
15
const ProfileCard = ({
-
 
16
  full_name: fullName,
-
 
17
  user_profile_id: userProfileId,
-
 
18
  image,
15
const ProfileCard = ({
19
  cover,
-
 
20
  overview,
16
  cover,
21
  facebook,
-
 
22
  instagram,
-
 
23
  twitter,
-
 
24
  formatted_address: formattedAddress,
-
 
25
  user_experiences: userExperiences,
-
 
26
  show_contact: showContact,
-
 
27
  link_inmail: linkInmail,
17
  facebook,
28
  following,
18
  following,
29
  view_following: viewFollowing,
19
  formatted_address: formattedAddress,
30
  total_connections: totalConnections,
20
  full_name: fullName,
31
  view_total_connections: viewTotalConnections,
21
  image,
32
  request_connection: requestConnection,
22
  instagram,
-
 
23
  link_cancel: linkCancel,
33
  link_cancel: linkCancel,
24
  link_inmail: linkInmail,
-
 
25
  link_request: linkRequest,
-
 
26
  overview,
-
 
27
  request_connection: requestConnection,
34
  link_request: linkRequest,
28
  show_contact: showContact,
-
 
29
  sizes,
-
 
30
  total_connections: totalConnections,
-
 
31
  twitter,
-
 
32
  user_experiences: userExperiences = [],
-
 
33
  user_profile_id: userProfileId,
-
 
34
  view_following: viewFollowing,
35
  sizes
35
  view_total_connections: viewTotalConnections
36
}) => {
36
}) => {
37
  const [isAdded, setIsAdded] = useState(false)
37
  const [isAdded, setIsAdded] = useState(false)
38
  const [connectionUrl, setConnectionUrl] = useState('')
38
  const [connectionUrl, setConnectionUrl] = useState('')
39
  const [modalToShow, setModalToShow] = useState(null)
39
  const [modalToShow, setModalToShow] = useState(null)
Línea 179... Línea 179...
179
          )}
179
          )}
180
        </div>
180
        </div>
Línea 181... Línea 181...
181
 
181
 
182
        <div className='card-experiences'>
182
        <div className='card-experiences'>
183
          <ul>
183
          <ul>
184
            {userExperiences.map(
184
            {userExperiences?.map(
185
              ({ company, title, industry, size }, index) => (
185
              ({ company, title, industry, size }, index) => (
186
                <li key={index}>
186
                <li key={index}>
187
                  <span>{`${company} - ${title}`}</span>
187
                  <span>{`${company} - ${title}`}</span>
188
                  <p>{`${industry} / ${size}`}</p>
188
                  <p>{`${industry} / ${size}`}</p>