Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6832 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6832 Rev 7130
Línea 3... Línea 3...
3
import { useSelector } from 'react-redux'
3
import { useSelector } from 'react-redux'
Línea 4... Línea 4...
4
 
4
 
Línea 5... Línea 5...
5
import { addNotification } from '../../../redux/notification/notification.actions'
5
import { addNotification } from '../../../redux/notification/notification.actions'
-
 
6
 
Línea 6... Línea 7...
6
 
7
import EmptySection from '../../UI/EmptySection'
7
import EmptySection from '../../UI/EmptySection'
8
import { Link } from 'react-router-dom'
8
 
9
 
Línea 46... Línea 47...
46
              return null
47
              return null
47
            }
48
            }
Línea 48... Línea 49...
48
 
49
 
49
            return (
50
            return (
50
              <div key={element.title} className="post-item">
51
              <div key={element.title} className="post-item">
51
                <a href={element.link} target="secondary">
52
                <Link to={element.link}>
52
                  <img src={element.image} alt={`${element.title} image`} />
53
                  <img src={element.image} alt={`${element.title} image`} />
53
                </a>
54
                </Link>
54
                <div className="post-info">
55
                <div className="post-info">
55
                  <a href={element.link} target="secondary">
56
                  <Link to={element.link}>
56
                    <h4 title={element.title}>{element.title}</h4>
57
                    <h4 title={element.title}>{element.title}</h4>
57
                  </a>
58
                  </Link>
58
                  <span>{element.date}</span>
59
                  <span>{element.date}</span>
59
                </div>
60
                </div>
60
              </div>
61
              </div>
61
            )
62
            )