Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 7459 Rev 12149
Línea 1... Línea 1...
1
import React, { useEffect } from 'react'
1
import React, { useEffect } from 'react'
2
import { useDispatch } from 'react-redux'
2
import { useDispatch } from 'react-redux'
3
import { setTimelineUrl } from '../../redux/feed/feed.actions'
3
import { setTimelineUrl } from '../../redux/feed/feed.actions'
4
import ContentTitle from '../../shared/ContentTitle'
4
import ContentTitle from '../../shared/ContentTitle'
5
import ShareModal from '../../shared/ShareModal'
5
import ShareModal from '../../shared/ShareModal'
6
import FeedSection from "../components/FeedSection"
6
import FeedSection from '../components/FeedSection'
7
import FeedShare from '../components/FeedShare'
7
import FeedShare from '../components/FeedShare'
Línea 8... Línea 8...
8
 
8
 
Línea 9... Línea 9...
9
const FeedView = ({ timeLineUrl }) => {
9
const FeedView = ({ timeLineUrl }) => {
Línea 10... Línea 10...
10
 
10
 
11
    const dispatch = useDispatch()
11
	const dispatch = useDispatch()
12
 
12
 
Línea 13... Línea 13...
13
    useEffect(() => {
13
	useEffect(() => {
14
        dispatch(setTimelineUrl(timeLineUrl))
14
		dispatch(setTimelineUrl(timeLineUrl))
15
    }, [])
15
	}, [])
16
 
16
 
17
    return (
17
	return (
18
        <ContentTitle title="Publicaciones">
18
		<ContentTitle title="Publicaciones">
19
            <div class="row g-4">
19
			<div className="row g-4">
20
                <div class="col-lg-3">
20
				<div className="col-lg-3">
21
                </div>
21
				</div>
22
                <div class="col-md-8 col-lg-6 vstack gap-4">
22
				<div className="col-md-8 col-lg-6 vstack gap-4">
23
                    <FeedShare post_url="/feeds/add" />
23
					<FeedShare post_url="/feeds/add" />
24
                    <FeedSection timeLineUrl={timeLineUrl} />
24
					<FeedSection timeLineUrl={timeLineUrl} />
25
                </div>
25
				</div>
26
                <div class="col-lg-3"></div>
26
				<div className="col-lg-3"></div>
27
            </div>
27
			</div>
28
            <ShareModal />
28
			<ShareModal />
29
        </ContentTitle>
29
		</ContentTitle>