| Línea 2... |
Línea 2... |
| 2 |
import React, { Suspense } from "react";
|
2 |
import React, { Suspense } from "react";
|
| 3 |
import styled from "styled-components";
|
3 |
import styled from "styled-components";
|
| 4 |
import { useDispatch } from "react-redux";
|
4 |
import { useDispatch } from "react-redux";
|
| 5 |
import { setTimelineUrl } from "../../../redux/feed/feed.actions";
|
5 |
import { setTimelineUrl } from "../../../redux/feed/feed.actions";
|
| 6 |
import { feedTypes } from "../../../redux/feed/feed.types";
|
6 |
import { feedTypes } from "../../../redux/feed/feed.types";
|
| 7 |
import PeopleYouMayKnow from "../../../shared/helpers/people-you-may-know/PeopleYouMayKnow";
|
- |
|
| 8 |
import NotificationAlert from "../../../shared/notification/NotificationAlert";
|
7 |
import NotificationAlert from "../../../shared/notification/NotificationAlert";
|
| 9 |
import ShareFeed from "../share-feed/ShareFeed";
|
8 |
import ShareFeed from "../share-feed/ShareFeed";
|
| 10 |
import ShareModal from "../share-modal/ShareModal";
|
9 |
import ShareModal from "../share-modal/ShareModal";
|
| 11 |
import SocialNetworks from "./SocialNetworks";
|
10 |
import SocialNetworks from "./SocialNetworks";
|
| 12 |
import HomeNews from "./HomeNews";
|
- |
|
| 13 |
import SuggestedGroupsHelper from "../../../shared/helpers/suggested-groups-helper/SuggestedGroupsHelper";
|
- |
|
| 14 |
import MyGroups from "../../../shared/helpers/my-groups-helper/MyGroups";
|
- |
|
| 15 |
import Spinner from "../../../shared/loading-spinner/Spinner";
|
- |
|
| Línea -... |
Línea 11... |
| - |
|
11 |
|
| - |
|
12 |
import PeopleYouMayKnow from "../../../shared/helpers/people-you-may-know/PeopleYouMayKnow";
|
| - |
|
13 |
|
| - |
|
14 |
const HomeNews = React.lazy(() => import("./HomeNews"));
|
| 16 |
|
15 |
const WidgetHelper = React.lazy(() => import("../../../shared/helpers/my-groups-helper/MyGroups"));
|
| Línea -... |
Línea 16... |
| - |
|
16 |
const FeedSection = React.lazy(() => import("../feed-section/FeedSection"));
|
| - |
|
17 |
|
| 17 |
const FeedSection = React.lazy(() => import("../feed-section/FeedSection"));
|
18 |
import Spinner from "../../../shared/loading-spinner/Spinner";
|
| 18 |
|
19 |
|
| 19 |
const StyledSpinner = styled.div`
|
20 |
const StyledSpinner = styled.div`
|
| 20 |
width:100%;
|
21 |
width:100%;
|
| 21 |
height:100%;
|
22 |
height:100%;
|
| Línea 33... |
Línea 34... |
| 33 |
return (
|
34 |
return (
|
| 34 |
<>
|
35 |
<>
|
| 35 |
<div className="main-section">
|
36 |
<div className="main-section">
|
| 36 |
<div className='main-section-data'>
|
37 |
<div className='main-section-data'>
|
| 37 |
<div className="main-left-sidebar d-none d-md-flex">
|
38 |
<div className="main-left-sidebar d-none d-md-flex">
|
| 38 |
<MyGroups />
|
39 |
<WidgetHelper
|
| - |
|
40 |
url="/helpers/my-groups"
|
| - |
|
41 |
title="Mis Grupos:"
|
| - |
|
42 |
/>
|
| 39 |
<SuggestedGroupsHelper />
|
43 |
<WidgetHelper
|
| - |
|
44 |
url="/helpers/groups-suggestion"
|
| - |
|
45 |
title="Grupos:"
|
| - |
|
46 |
/>
|
| 40 |
<div className="d-block d-xl-none">
|
47 |
<div className="d-block d-xl-none">
|
| 41 |
<PeopleYouMayKnow />
|
48 |
<PeopleYouMayKnow />
|
| 42 |
</div>
|
49 |
</div>
|
| 43 |
<SocialNetworks />
|
50 |
<SocialNetworks />
|
| 44 |
</div>
|
51 |
</div>
|