Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3548 Rev 3554
Línea 3... Línea 3...
3
import { Box, Typography } from '@mui/material';
3
import { Box, Typography } from '@mui/material';
Línea 4... Línea 4...
4
 
4
 
5
import { useCapsule } from '@microlearning/hooks';
5
import { useCapsule } from '@microlearning/hooks';
Línea 6... Línea 6...
6
import { parse } from '@shared/utils';
6
import { parse } from '@shared/utils';
7
 
7
 
Línea 8... Línea 8...
8
import { Card, CardContent, CardMedia, CommentsList, Spinner } from '@shared/components';
8
import { Card, CardContent, CardMedia, CommentList, Spinner } from '@shared/components';
9
import { CapsuleCommentForm } from '@microlearning/components';
9
import { CapsuleCommentForm } from '@microlearning/components';
Línea 30... Línea 30...
30
        <Typography variant='h1'>{capsule.name}</Typography>
30
        <Typography variant='h1'>{capsule.name}</Typography>
31
        <Typography>{parse(capsule.description)}</Typography>
31
        <Typography>{parse(capsule.description)}</Typography>
Línea 32... Línea 32...
32
 
32
 
33
        <Box sx={{ mt: 1, display: 'flex', flexDirection: 'column', gap: 1 }}>
33
        <Box sx={{ mt: 1, display: 'flex', flexDirection: 'column', gap: 1 }}>
34
          <CapsuleCommentForm onSubmit={addComment} />
34
          <CapsuleCommentForm onSubmit={addComment} />
35
          <CommentsList comments={capsule.comments} onDelete={deleteComment} />
35
          <CommentList comments={capsule.comments} onDelete={deleteComment} />
36
        </Box>
36
        </Box>
37
      </CardContent>
37
      </CardContent>
38
    </Card>
38
    </Card>
39
  );
39
  );