Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 775 Rev 776
Línea 195... Línea 195...
195
                objectFit: 'contain'
195
                objectFit: 'contain'
196
              }}
196
              }}
197
            />
197
            />
198
            <StyledContainer.Body>
198
            <StyledContainer.Body>
199
              <h2>{post.title}</h2>
199
              <h2>{post.title}</h2>
200
              <Paraphrase>{post.description ?? ''}</Paraphrase>
200
              <Paraphrase>{post.description}</Paraphrase>
201
              {post.file && (
201
              {post.file && (
202
                <a href={post.file} download>
202
                <a href={post.file} download>
203
                  <img src='/images/extension/pdf.png' alt='pdf' />
203
                  <img src='/images/extension/pdf.png' alt='pdf' />
204
                </a>
204
                </a>
205
              )}
205
              )}
Línea 234... Línea 234...
234
                icGridor='gray'
234
                icGridor='gray'
235
                label={labels.comment}
235
                label={labels.comment}
236
                onClick={displayCommentSection}
236
                onClick={displayCommentSection}
237
              />
237
              />
Línea 238... Línea -...
238
 
-
 
239
              {!isMobile ? (
238
 
240
                <ExternalShareButton
239
              <ExternalShareButton
241
                  icon={SendOutlinedIcon}
240
                icon={SendOutlinedIcon}
242
                  iconColor='gray'
241
                iconColor='gray'
243
                  label={labels.send}
242
                label={labels.send}
244
                  shareUrl={post.share_increment_external_counter_url}
243
                shareUrl={post.share_increment_external_counter_url}
245
                  setValue={handleExternalShare}
244
                setValue={handleExternalShare}
246
                />
-
 
247
              ) : (
-
 
248
                <MobileShare
-
 
249
                  shareData={{
-
 
250
                    title: 'Leaders Linked',
-
 
251
                    text: parse(post.description),
-
 
252
                    url: post.share_external_url
-
 
253
                  }}
-
 
254
                >
-
 
255
                  <SendOutlinedIcon />
-
 
256
                  {labels.send}
-
 
257
                </MobileShare>
-
 
258
              )}
245
              />
Línea 259... Línea 246...
259
            </StyledContainer.Actions>
246
            </StyledContainer.Actions>
260
 
247
 
261
            {showComments && (
248
            {showComments && (
Línea 266... Línea 253...
266
            )}
253
            )}
267
          </StyledContainer>
254
          </StyledContainer>
268
        </Grid>
255
        </Grid>
Línea 269... Línea 256...
269
 
256
 
270
        <Grid item xs={12} md={4}>
257
        <Grid item xs={12} md={4}>
271
          <HomeNews />
258
          <HomeNews currentPost={post.uuid} />
272
        </Grid>
259
        </Grid>
273
      </Grid>
260
      </Grid>
274
    </Container>
261
    </Container>
275
  )
262
  )