Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 3300 Rev 3503
Línea 14... Línea 14...
14
import MyGroups from "../../../shared/helpers/my-groups-helper/MyGroups";
14
import MyGroups from "../../../shared/helpers/my-groups-helper/MyGroups";
15
import Spinner from "../../../shared/loading-spinner/Spinner";
15
import Spinner from "../../../shared/loading-spinner/Spinner";
Línea 16... Línea 16...
16
 
16
 
Línea 17... Línea -...
17
const FeedSection = React.lazy(() => import("../feed-section/FeedSection"));
-
 
18
 
-
 
19
import styles from "./HomeSection.module.scss";
17
const FeedSection = React.lazy(() => import("../feed-section/FeedSection"));
20
 
18
 
21
const StyledSpinner = styled.div`
19
const StyledSpinner = styled.div`
22
  width:100%;
20
  width:100%;
23
  height:100%;
21
  height:100%;
24
  display:grid;
22
  display:grid;
Línea 25... Línea 23...
25
  place-items:center;
23
  place-items:center;
Línea 26... Línea 24...
26
`;
24
`;
27
 
25
 
Línea 28... Línea 26...
28
const HomeSection = ({routeTimeline, backendVars}) => {
26
const HomeSection = ({ routeTimeline, backendVars }) => {
Línea 29... Línea 27...
29
 
27
 
30
  const dispatch = useDispatch()
28
  const dispatch = useDispatch()
31
  const { image, feed } = backendVars;
29
  const { image, feed } = backendVars;
32
 
30
 
33
  dispatch(setTimelineUrl(routeTimeline));
31
  dispatch(setTimelineUrl(routeTimeline));
34
 
32
 
35
  return (
33
  return (
36
    <div>
34
    <div>
37
      <div className="main-section">
35
      <div className="main-section">
38
        <div className={styles.mainSection}>
36
        <div className='mainSection'>
39
          <div className="d-none d-sm-none d-md-block d-lg-block">
37
          <div className="d-none d-sm-none d-md-block d-lg-block">
40
            <div className={styles.sectionHeader}>
38
            <div className='sectionHeader'>
41
              <MyGroups />
39
              <MyGroups />
42
              <SuggestedGroupsHelper />
40
              <SuggestedGroupsHelper />
43
              <SocialNetworks />
41
              <SocialNetworks />
44
            </div>
42
            </div>
45
          </div>
43
          </div>
Línea 56... Línea 54...
56
                feed={feed}
54
                feed={feed}
57
                image={image}
55
                image={image}
58
              />
56
              />
59
            </Suspense>
57
            </Suspense>
60
          </div>
58
          </div>
61
          <div className={styles.peopleYouMayKnow}>
59
          <div className='peopleYouMayKnow'>
62
            <PeopleYouMayKnow />
60
            <PeopleYouMayKnow />
63
            <HomeNews />
61
            <HomeNews />
64
          </div>
62
          </div>
65
        </div>
63
        </div>
66
      </div>
64
      </div>