implemented ratings, fixes

This commit is contained in:
lnn0q 2025-06-01 17:54:57 +03:00
parent 4801cf3a13
commit d1da980501
31 changed files with 775 additions and 236 deletions

View file

@ -22,9 +22,9 @@ export function WorkingListCard({
<Card.Root width="100%" variant="elevated">
<Card.Body>
<Stack>
<Stack direction="row" justifyContent="space-between">
<Stack direction={'row'} justifyContent="space-between">
<Text as="div" minWidth={0}>
<Link to={`/work/book/${id}/overview`}>
<Link to={`/work/book/${id}/overview/contents`}>
<Heading
color="colorPalette.400"
_hover={{
@ -37,7 +37,7 @@ export function WorkingListCard({
</Link>
</Text>
<Stack direction="row" justifyContent="center" alignItems="center">
<Stack direction="row" justifyContent="center" alignItems="center" hideBelow="md">
<WorkingRatingBadge ratingTotal={ratingTotal} />
<WorkingReviewsBadge reviewsTotal={reviewsTotal} />
<WorkingProgressStatusBadge progressStatus={progressStatus} />
@ -60,7 +60,7 @@ export function WorkingListCard({
</Link>
</Stack>
<Stack direction="row">
<Stack maxWidth="100%" direction="row" overflow="auto" flexWrap="wrap">
<Box>
<Badge size="md" variant="solid">
<Stack direction="row">
@ -88,6 +88,12 @@ export function WorkingListCard({
</Stack>
</Stack>
<Stack direction="row" justifyContent="left" alignItems="center" hideFrom="md">
<WorkingRatingBadge ratingTotal={ratingTotal} />
<WorkingReviewsBadge reviewsTotal={reviewsTotal} />
<WorkingProgressStatusBadge progressStatus={progressStatus} />
</Stack>
<Stack>
<Text lineClamp={4}>{description}</Text>
</Stack>