Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2994 Rev 2995
Línea 44... Línea 44...
44
    }
44
    }
45
  }
45
  }
Línea 46... Línea 46...
46
 
46
 
47
  return (
47
  return (
-
 
48
    <Widget>
48
    <Widget>
49
      <Widget.Body>
49
      <Avatar
50
        <Avatar
50
        src={image}
51
          src={image}
51
        alt={`${name} profile-image`}
52
          alt={`${name} profile-image`}
52
        sx={{ margin: '0 auto', width: 100, height: 100 }}
53
          sx={{ margin: '0 auto', width: 100, height: 100 }}
53
      />
54
        />
54
      <Typography variant='h2'>{name}</Typography>
55
        <Typography variant='h2'>{name}</Typography>
55
      <Typography>{parse(description)}</Typography>
56
        <Typography>{parse(description)}</Typography>
56
 
57
 
57
      <Row>
58
        <Row>
58
        <Typography variant='overline'>
59
          <Typography variant='overline'>
59
          <VisibilityOutlined />
60
            <VisibilityOutlined />
60
          {visits}
61
            {visits}
61
        </Typography>
62
          </Typography>
62
 
63
 
63
        <Typography variant='overline'>
64
          <Typography variant='overline'>
64
          <MapOutlined />
65
            <MapOutlined />
65
          {country}
66
            {country}
66
        </Typography>
67
          </Typography>
67
 
68
 
68
        <Typography variant='overline'>
69
          <Typography variant='overline'>
69
          <ShareOutlined />
70
            <ShareOutlined />
70
          {connections}
71
            {connections}
71
        </Typography>
72
          </Typography>
72
      </Row>
73
        </Row>
73
 
74
 
74
      <Options>
75
        <Options>
75
        {linkAdmin ? (
76
          {linkAdmin ? (
76
          <Options.Item onClick={getAdminUrl}>Administración</Options.Item>
77
            <Options.Item onClick={getAdminUrl}>Administración</Options.Item>
77
        ) : null}
78
          ) : null}
78
 
79
 
79
        {linkImpersonate ? (
80
          {linkImpersonate ? (
80
          <Options.Item onClick={() => navigate('/impersonate')}>
81
            <Options.Item onClick={() => navigate('/impersonate')}>
81
            Personificar otro usuario
82
              Personificar otro usuario
82
          </Options.Item>
83
            </Options.Item>
Línea 83... Línea 84...
83
        ) : null}
84
          ) : null}
84
 
85
 
85
        <Options.Item onClick={() => navigate('/account-settings')}>
86
          <Options.Item onClick={() => navigate('/account-settings')}>
86
          Configuración de la cuenta
87
            Configuración de la cuenta
87
        </Options.Item>
88
          </Options.Item>
88
        <Options.Item onClick={() => navigate('/privacy-policy')}>
89
          <Options.Item onClick={() => navigate('/privacy-policy')}>
89
          Política de privacidad
90
            Política de privacidad
90
        </Options.Item>
91
          </Options.Item>
91
        <Options.Item onClick={() => navigate('/cookies')}>
92
          <Options.Item onClick={() => navigate('/cookies')}>
92
          Política de cookies
93
            Política de cookies
93
        </Options.Item>
94
          </Options.Item>
94
        <Options.Item onClick={() => navigate('/signout')}>
95
          <Options.Item onClick={() => navigate('/signout')}>
95
          Cerrar sesión
96
            Cerrar sesión
-
 
97
          </Options.Item>
96
        </Options.Item>
98
        </Options>
97
      </Options>
99
      </Widget.Body>
98
    </Widget>
100
    </Widget>