Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2946 Rev 3546
Línea -... Línea 1...
-
 
1
/* eslint-disable react/prop-types */
1
import React from "react";
2
import React from "react";
2
import { useState } from "react";
3
import { useState } from "react";
3
import { connect } from "react-redux";
4
import { connect } from "react-redux";
4
import FeedSection from "../../../dashboard/components/feed-section/FeedSection";
5
import FeedSection from "../../../dashboard/components/feed-section/FeedSection";
5
import ShareFeed from "../../../dashboard/components/share-feed/ShareFeed";
6
import ShareFeed from "../../../dashboard/components/share-feed/ShareFeed";
6
import { setTimelineUrl } from "../../../redux/feed/feed.actions";
7
import { setTimelineUrl } from "../../../redux/feed/feed.actions";
7
import { feedTypes } from "../../../redux/feed/feed.types";
8
import { feedTypes } from "../../../redux/feed/feed.types";
8
import GroupMembersHelper from "../../../shared/helpers/group-members-helper/GroupMembersHelper";
9
import GroupMembersHelper from "../../../shared/helpers/group-members-helper/GroupMembersHelper";
9
import SuggestedGroupsHelper from "../../../shared/helpers/suggested-groups-helper/SuggestedGroupsHelper";
10
import SuggestedGroupsHelper from "../../../shared/helpers/suggested-groups-helper/SuggestedGroupsHelper";
10
import styled from "styled-components";
-
 
11
import parse from "html-react-parser";
11
import parse from "html-react-parser";
12
import { axios } from "../../../utils";
12
import { axios } from "../../../utils";
13
import { addNotification } from "../../../redux/notification/notification.actions";
13
import { addNotification } from "../../../redux/notification/notification.actions";
14
import Footer from "../../../shared/helpers/footer/Footer";
-
 
Línea 15... Línea -...
15
 
-
 
16
const StyledTabWrapper = styled.div`
-
 
17
  ul {
-
 
18
    display: flex;
-
 
19
    li a {
-
 
20
      margin: 1rem;
-
 
21
      width: 25px;
-
 
22
      display: flex;
-
 
23
      flex-direction: column;
-
 
24
      justify-content: center;
-
 
25
      align-items: center;
-
 
26
      color: black;
-
 
27
      img {
-
 
28
        filter: grayscale(100%);
-
 
29
      }
-
 
30
    }
-
 
31
    li.active a {
-
 
32
      img {
-
 
33
        filter: grayscale(0);
-
 
34
      }
-
 
35
    }
-
 
36
  }
-
 
Línea 37... Línea 14...
37
`;
14
 
38
 
15
 
39
const View = (props) => {
16
const View = (props) => {
40
  // backendVars Destructuring
17
  // backendVars Destructuring
Línea 124... Línea 101...
124
      <main>
101
      <main>
125
        <div className="main-section">
102
        <div className="main-section">
126
          <div className="ph-5">
103
          <div className="ph-5">
127
            <div className="main-section-data">
104
            <div className="main-section-data">
128
              <div className="main-left-sidebar">
105
              <div className="main-left-sidebar">
129
                <div className="user_profile border-gray overflow-hidden m-0 p-1">
106
                <div className="user_profile border-gray overflow-hidden m-0">
130
                  <div className="user-pro-img">
107
                  <div className="user-pro-img">
131
                    <img
108
                    <img
132
                      src={`/storage/type/group/code/${groupId}/${image ? `filename/${image}` : ""}`}
109
                      src={`/storage/type/group/code/${groupId}/${image ? `filename/${image}` : ""}`}
133
                      alt="profile-image"
110
                      alt="profile-image"
134
                    />
111
                    />