Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 3641 Rev 3642
Línea 23... Línea 23...
23
    return infoFollows
23
    return infoFollows
24
  }
24
  }
Línea 25... Línea 25...
25
 
25
 
26
  return (
26
  return (
-
 
27
    <div className="right-sidebar peopleYouMayKnow" style={{ maxHeight: '450px', marginTop: '0' }}>
27
    <div className="right-sidebar peopleYouMayKnow" style={{ maxHeight: '450px', marginTop: '0' }}>
28
      <div className="sd-title d-flex align-items-center justify-content-between">
-
 
29
        <h3>Mis grupos:</h3>
-
 
30
        {peopleViewedProfile.length >= 5 &&
28
      <div className="sd-title">
31
          <span className="cursor-pointer" onClick={() => setLookMore(!lookMore)}>
-
 
32
            {lookMore ? 'Ver menos' : 'Ver mas'}
-
 
33
          </span>
29
        <h3>Quién ha visto este perfil</h3>
34
        }
30
      </div>
-
 
31
      <div
-
 
32
        className="mb-2"
-
 
33
        id="suggestions-similar-groups"
35
      </div>
34
        style={{ height: "80%", overflowY: "auto" }}
-
 
35
      >
36
      <div className="mb-2" style={{ height: "80%", overflowY: "auto" }}>
36
        {peopleViewedProfile.length
37
        {peopleViewedProfile.length
37
          ? getData().map(({ id, name, image, profile }) =>
38
          ? getData().map(({ id, name, image, profile }) =>
38
            <div className="suggestion-usd" key={id}>
-
 
39
              <div className="row">
-
 
40
                <div className="col-md-4 col-sm-12" >
39
            <div className='user' key={id}>
41
                  <img
40
              <a
42
                    style={{ width: "50px", height: "auto" }}
41
                className="w-100 d-flex align-items-center"
43
                    src={image}
42
                href={profile}
44
                    alt=""
-
 
45
                  />
43
                target="_blank"
46
                </div>
-
 
47
                <div className="col-8 d-flex align-items-center justify-content-start p-0">
44
                rel="noreferrer"
48
                  <div className="sgt-text">
45
                style={{ gap: '.5rem' }}
49
                    <h4
-
 
50
                      className="cursor-pointer"
46
              >
51
                      onClick={() => window.location.href = profile}
-
 
52
                    >
-
 
53
                      {name}
47
                <img src={image} alt={`${name} profile image`} />
54
                    </h4>
-
 
55
                  </div>
-
 
56
                </div>
48
                <h4>{name}</h4>
57
              </div>
49
              </a>
58
            </div>)
50
            </div>)
59
          : <div className="view-more">Sin sugerencias</div>
51
          : <div className="view-more">Nadie ha visto tu perfil aún</div>
60
        }
52
        }
61
      </div>
-
 
62
      {peopleViewedProfile.length >= 5 &&
-
 
63
        <div className="w-100 text-center">
-
 
64
          <button className="btn btn-primary" onClick={() => setLookMore(!lookMore)}>
-
 
65
            {lookMore ? 'Ver menos' : 'Ver mas'}
-
 
66
          </button>
-
 
67
        </div>
53
      </div>
68
      }
54
 
69
    </div>
55
    </div>
70
  );
56
  );
Línea 71... Línea 57...
71
};
57
};