Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2274 Rev 2276
Línea 7... Línea 7...
7
import useFetch from '@app/hooks/useFetch'
7
import useFetch from '@app/hooks/useFetch'
Línea 8... Línea 8...
8
 
8
 
9
import Widget from '@app/components/UI/Widget'
9
import Widget from '@app/components/UI/Widget'
Línea 10... Línea 10...
10
import Spinner from '@app/components/UI/Spinner'
10
import Spinner from '@app/components/UI/Spinner'
11
 
11
 
12
const EmojisList = styled('div')`
12
const EmojisList = styled('div')(({ theme }) => ({
13
  display: flex;
13
  display: 'flex',
14
  gap: 0.5rem;
14
  gap: theme.spacing(0.5),
15
  justify-content: center;
15
  justifyContent: 'center',
Línea 16... Línea 16...
16
  padding: 0.5rem 0;
16
  padding: theme.spacing(0.5, 0)
17
`
17
}))
18
 
18
 
19
const EmojiItem = styled('button')`
19
const EmojiItem = styled('button')`
Línea 40... Línea 40...
40
  const completed =
40
  const completed =
41
    emojisHowAreYouFeel.length === 1 && emojisClimateOrganization.length === 1
41
    emojisHowAreYouFeel.length === 1 && emojisClimateOrganization.length === 1
Línea 42... Línea 42...
42
 
42
 
43
  return (
43
  return (
44
    <Widget styles={{ display: completed ? 'none' : 'block' }}>
44
    <Widget styles={{ display: completed ? 'none' : 'block' }}>
Línea 45... Línea 45...
45
      <Widget.Header title='Pulso Diario' styles={{ paddingBottom: 0 }} />
45
      <Widget.Header title='Pulso Diario' />
46
 
46
 
47
      <Widget.Body
47
      <Widget.Body
48
        styles={{ textAlign: 'center', '& h4': { fontWeight: 400 } }}
48
        styles={{ textAlign: 'center', '& h4': { fontWeight: 400 } }}