Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3089 Rev 3091
Línea 1... Línea 1...
1
import React, { useEffect, useState } from 'react'
1
import React, { useEffect, useState } from 'react'
2
import { useDispatch } from 'react-redux'
2
import { useDispatch } from 'react-redux'
3
import { Chip, Grid, List, styled, Typography } from '@mui/material'
3
import { Box, Chip, Grid, styled, Typography } from '@mui/material'
4
import {
4
import {
5
  Favorite,
5
  Favorite,
6
  FavoriteBorder,
6
  FavoriteBorder,
7
  LocationOn,
7
  LocationOn,
8
  Email,
8
  Email,
Línea 101... Línea 101...
101
        avatar={`/storage/type/company/code/${companyUuid}/${
101
        avatar={`/storage/type/company/code/${companyUuid}/${
102
          companyImage ? `filename/${companyImage}` : ''
102
          companyImage ? `filename/${companyImage}` : ''
103
        }`}
103
        }`}
104
        title={companyName}
104
        title={companyName}
105
        subheader={timeElapsed}
105
        subheader={timeElapsed}
-
 
106
        renderAction={() => (
-
 
107
          <Box sx={{ display: 'flex', alignItems: 'center', gap: 0.5 }}>
-
 
108
            <Typography variant='overline'>
-
 
109
              <Email />
-
 
110
              Solicitantes {totalApplications}
-
 
111
            </Typography>
-
 
112
 
-
 
113
            <Typography variant='overline'>
-
 
114
              <Visibility /> Visto {jobVisits}
-
 
115
            </Typography>
-
 
116
          </Box>
-
 
117
        )}
106
      />
118
      />
107
      <Widget.Body>
119
      <Widget.Body>
108
        <Grid container>
120
        <Grid container>
109
          <Grid item xs>
121
          <Grid item xs>
110
            <Typography variant='h2'>{jobTitle}</Typography>
122
            <Typography variant='h2'>{jobTitle}</Typography>
Línea 124... Línea 136...
124
                <StyledHeartOutline
136
                <StyledHeartOutline
125
                  sx={{ color: 'red' }}
137
                  sx={{ color: 'red' }}
126
                  onClick={handleClickFollow}
138
                  onClick={handleClickFollow}
127
                />
139
                />
128
              )}
140
              )}
129
              Última aplicación : {lastDateOfApplication}
141
              Última aplicación: {lastDateOfApplication}
-
 
142
            </Typography>
-
 
143
 
-
 
144
            <Typography>
-
 
145
              Tipo de empleo:
-
 
146
              <Typography component='strong'> {employmentType}</Typography>
130
            </Typography>
147
            </Typography>
Línea 131... Línea 148...
131
 
148
 
-
 
149
            <Typography>
132
            <Typography variant='overline'>{employmentType}</Typography>
150
              Categoría:
-
 
151
              <Typography component='strong'> {jobCategory}</Typography>
Línea 133... Línea 152...
133
            <Typography variant='overline'>{jobCategory}</Typography>
152
            </Typography>
134
 
153
 
Línea 135... Línea 154...
135
            <Typography>{parse(jobDescription)}</Typography>
154
            <Typography>{parse(jobDescription)}</Typography>
-
 
155
          </Grid>
136
          </Grid>
156
 
137
 
157
          <Grid item xs>
138
          <Grid item xs>
158
            <Typography>Habilidades:</Typography>
139
            {jobSkills && !!jobSkills.length && (
159
            {jobSkills && !!jobSkills.length && (
140
              <List>
160
              <Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 0.5 }}>
141
                {jobSkills.map((skill) => (
161
                {jobSkills.map((skill) => (
142
                  <Chip key={skill} label={skill} />
162
                  <Chip key={skill} label={skill} />
143
                ))}
-
 
144
              </List>
-
 
145
            )}
-
 
146
 
-
 
147
            <Typography variant='overline'>
-
 
148
              <Email />
-
 
149
              Solicitantes {totalApplications}
-
 
150
            </Typography>
-
 
151
 
-
 
152
            <Typography variant='overline'>
163
                ))}
153
              <Visibility /> Visto {jobVisits}
164
              </Box>
154
            </Typography>
165
            )}
155
          </Grid>
166
          </Grid>
156
        </Grid>
167
        </Grid>