Línea -... |
Línea 1... |
- |
|
1 |
/* eslint-disable react/prop-types */
|
1 |
/* eslint-disable camelcase */
|
2 |
/* eslint-disable camelcase */
|
2 |
import React, { useEffect, useState } from 'react'
|
3 |
import React, { useEffect, useState } from 'react'
|
3 |
import { useDispatch } from 'react-redux'
|
4 |
import { useDispatch } from 'react-redux'
|
4 |
import { addNotification } from '../../../redux/notification/notification.actions'
|
5 |
import { addNotification } from '../../../redux/notification/notification.actions'
|
5 |
import { axios } from '../../../utils'
|
6 |
import { axios } from '../../../utils'
|
Línea 52... |
Línea 53... |
52 |
<div className="sd-title d-flex align-items-center justify-content-between">
|
53 |
<div className="sd-title d-flex align-items-center justify-content-between">
|
53 |
<h3>Pulso Diario</h3>
|
54 |
<h3>Pulso Diario</h3>
|
54 |
</div>
|
55 |
</div>
|
55 |
<span>Puntos acumulados: {points}</span>
|
56 |
<span>Puntos acumulados: {points}</span>
|
56 |
<h2>¿Como te sientes hoy?</h2>
|
57 |
<h2>¿Como te sientes hoy?</h2>
|
57 |
{emojisHowAreYouFeel.map(({ link_save, id, image }) =>
|
58 |
{emojisHowAreYouFeel.map(({ link_save, id, image }, index) =>
|
58 |
<a key={id} href={link_save} onClick={() => handleEmojiSave(link_save)}>
|
59 |
<a key={id} href={link_save} onClick={() => handleEmojiSave(link_save)}>
|
59 |
<img src={image} style={{ width: '32px', height: '32px' }} />
|
60 |
<img className='fadedown' src={image} style={{ width: '32px', height: '32px', animationDelay: `${index}00` }} />
|
60 |
</a>
|
61 |
</a>
|
61 |
)}
|
62 |
)}
|
62 |
<h2>¿Como esta el clima en la organización ?</h2>
|
63 |
<h2>¿Como esta el clima en la organización ?</h2>
|
63 |
{emojisClimateOnYourOrganization.map(({ link_save, id, image }) =>
|
64 |
{emojisClimateOnYourOrganization.map(({ link_save, id, image }, index) =>
|
64 |
<a key={id} href={link_save} onClick={() => handleEmojiSave(link_save)}>
|
65 |
<a key={id} href={link_save} onClick={() => handleEmojiSave(link_save)}>
|
65 |
<img src={image} style={{ width: '32px', height: '32px' }} />
|
66 |
<img className='fadedown' src={image} style={{ width: '32px', height: '32px', animationDelay: `${index}00` }} />
|
66 |
</a>
|
67 |
</a>
|
67 |
)}
|
68 |
)}
|
68 |
</div>
|
69 |
</div>
|
69 |
)
|
70 |
)
|
70 |
}
|
71 |
}
|