Skip to content

Commit

Permalink
stype : video thumbnails design improvment (foyzulkarim#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
aninda052 committed Jul 27, 2023
1 parent 3b449af commit 357a3be
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions client/src/sections/@dashboard/products/VideoCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,23 @@ export default function VideoCard({ video }) {
</Box>

<Stack spacing={2} sx={{ p: 3 }}>
<Link to={id} color='inherit' underline='hover'>
<Typography variant='subtitle2' noWrap>
{name}
</Typography>
</Link>

<Stack
direction='row'
alignItems='center'
justifyContent='space-between'
>
<Typography variant='subtitle1'>
<Moment format='DD/MM/yyyy'>{recordingDate}</Moment>
</Typography>
<Typography variant='subtitle1'>{viewCount} views</Typography>
<Typography variant='subtitle1'>
<Moment utc format='HH:mm:ss'>{videoDurations*1000}</Moment>
</Typography>
</Stack>
<Stack direction='row' alignItems='center' justifyContent='space-between'>
<Link to={id} color='inherit' underline='hover'>
<Typography variant='subtitle2' noWrap>
{name}
</Typography>
</Link>
<Typography variant='subtitle1'>
<Moment format='DD/MM/yyyy'>{recordingDate}</Moment>
</Typography>
</Stack>

<Stack direction='row' alignItems='center' justifyContent='space-between'>
<Typography variant='subtitle1'>{viewCount} views</Typography>
<Typography variant='subtitle1'>
<Moment utc format='HH:mm:ss'>{videoDurations*1000}</Moment>
</Typography>
</Stack>
</Stack>
</Card>
);
Expand Down

0 comments on commit 357a3be

Please sign in to comment.