Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2827 Rev 2842
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import { useNavigate } from 'react-router-dom'
2
import { useNavigate } from 'react-router-dom'
3
import { Avatar, Box, Button, styled, Typography } from '@mui/material'
3
import { Avatar, Button, styled, Typography } from '@mui/material'
4
import { useSelector } from 'react-redux'
4
import { useSelector } from 'react-redux'
5
import parse from 'html-react-parser'
5
import parse from 'html-react-parser'
Línea 6... Línea 6...
6
 
6
 
Línea 58... Línea 58...
58
        <UserProfileAvatar src={image} alt={`${fullname} profile image`} />
58
        <UserProfileAvatar src={image} alt={`${fullname} profile image`} />
59
        <Typography variant='h2'>{parse(fullname ?? '')}</Typography>
59
        <Typography variant='h2'>{parse(fullname ?? '')}</Typography>
60
        <Typography>{parse(description ?? '')}</Typography>
60
        <Typography>{parse(description ?? '')}</Typography>
61
      </Widget.Body>
61
      </Widget.Body>
Línea 62... Línea -...
62
 
-
 
63
      <Box sx={{ display: 'flex', flexDirection: 'column' }}>
62
 
64
        <WidgetButton
63
      <WidgetButton
65
          onClick={() => handleNavigate('/profile/people-viewed-profile')}
64
        onClick={() => handleNavigate('/profile/people-viewed-profile')}
66
        >
65
      >
67
          {labels.who_has_seen_my_profile}
66
        {labels.who_has_seen_my_profile}
68
          <Typography variant='body2'>{visits ?? 0}</Typography>
67
        <Typography variant='body2'>{visits ?? 0}</Typography>
69
        </WidgetButton>
68
      </WidgetButton>
70
 
69
 
71
        <WidgetButton
70
      <WidgetButton
72
          onClick={() => handleNavigate('/connection/my-connections')}
71
        onClick={() => handleNavigate('/connection/my-connections')}
73
        >
72
      >
74
          {labels.connections}
73
        {labels.connections}
75
          <Typography variant='body2'>{connections ?? 0}</Typography>
74
        <Typography variant='body2'>{connections ?? 0}</Typography>
76
        </WidgetButton>
-
 
77
      </Box>
75
      </WidgetButton>
78
    </Widget>
76
    </Widget>
79
  )
77
  )
Línea 80... Línea 78...
80
}
78
}