Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2165 Rev 2169
Línea 18... Línea 18...
18
import MobileShare from '../../components/dashboard/linkedin/mobile-share/MobileShare'
18
import MobileShare from '../../components/dashboard/linkedin/mobile-share/MobileShare'
19
import CommentForm from '@app/components/dashboard/linkedin/comments/comment-form'
19
import CommentForm from '@app/components/dashboard/linkedin/comments/comment-form'
20
import CommentsList from '@app/components/dashboard/linkedin/comments/comment-list'
20
import CommentsList from '@app/components/dashboard/linkedin/comments/comment-list'
21
import Button from '@app/components/UI/buttons/Buttons'
21
import Button from '@app/components/UI/buttons/Buttons'
22
import FeedReactions from '@app/components/dashboard/linkedin/feed/FeedReactions'
22
import FeedReactions from '@app/components/dashboard/linkedin/feed/FeedReactions'
-
 
23
import PostFile from '@app/components/post/PostFile'
Línea 23... Línea 24...
23
 
24
 
24
const PostViewPage = () => {
25
const PostViewPage = () => {
25
  const [post, setPost] = useState({})
26
  const [post, setPost] = useState({})
26
  const [totalSends, setTotalSends] = useState(0)
27
  const [totalSends, setTotalSends] = useState(0)
Línea 154... Línea 155...
154
              }}
155
              }}
155
            />
156
            />
156
            <WidgetWrapper.Body>
157
            <WidgetWrapper.Body>
157
              <h2>{post.title}</h2>
158
              <h2>{post.title}</h2>
158
              <Paraphrase>{post.description}</Paraphrase>
159
              <Paraphrase>{post.description}</Paraphrase>
159
              {renderContent({
-
 
160
                type: post.type,
160
              <PostFile file={post.file} type={post.type} />
161
                file: post.file
-
 
162
              })}
-
 
163
            </WidgetWrapper.Body>
161
            </WidgetWrapper.Body>
Línea 164... Línea 162...
164
 
162
 
165
            <div className='d-flex justify-content-between align-items-center px-3'>
163
            <div className='d-flex justify-content-between align-items-center px-3'>
166
              <FeedReactions
164
              <FeedReactions
Línea 244... Línea 242...
244
      return (
242
      return (
245
        <a href={file} target='_blank' rel='noreferrer'>
243
        <a href={file} target='_blank' rel='noreferrer'>
246
          <img className='pdf' src='/images/extension/pdf.png' alt='pdf' />
244
          <img className='pdf' src='/images/extension/pdf.png' alt='pdf' />
247
        </a>
245
        </a>
248
      )
246
      )
-
 
247
    }
-
 
248
 
-
 
249
    default: {
-
 
250
      return (
-
 
251
        <a href={file} target='_blank' rel='noreferrer'>
-
 
252
          <img className='pdf' src='/images/extension/pdf.png' alt='pdf' />
-
 
253
        </a>
-
 
254
      )
249
    }
255
    }
250
  }
256
  }
251
}
257
}
Línea 252... Línea 258...
252
 
258