Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3517 Rev 3518
Línea 1... Línea 1...
1
import React from 'react';
1
import React from 'react';
-
 
2
import { Box, Typography } from '@mui/material';
Línea 2... Línea 3...
2
 
3
 
3
import { Card, CardContent, CardHeader, CardMedia } from '@shared/components';
4
import { Card, CardContent, CardHeader, CardMedia } from '@shared/components';
Línea 4... Línea 5...
4
import { TopicProgress } from '.';
5
import { TopicProgress } from '.';
Línea 8... Línea 9...
8
    <Card>
9
    <Card>
9
      <CardHeader title={name} />
10
      <CardHeader title={name} />
10
      <CardMedia src={image} />
11
      <CardMedia src={image} />
Línea 11... Línea 12...
11
 
12
 
-
 
13
      <CardContent>
12
      <CardContent>
14
        <Box sx={{ display: 'flex', alignItems: 'center', gap: 0.5 }}>
13
        <TopicProgress variant='determinate' value={progress} />
15
          <TopicProgress variant='determinate' value={progress} />
-
 
16
          <Typography variant='caption'>{`${progress}%`}</Typography>
14
        <span>{`${progress}%`}</span>
17
        </Box>
15
      </CardContent>
18
      </CardContent>
16
    </Card>
19
    </Card>
17
  );
20
  );