Skip to content

Commit

Permalink
RouteList: Add authors
Browse files Browse the repository at this point in the history
  • Loading branch information
jvaclavik committed Dec 2, 2024
1 parent 02bcd37 commit abe566e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ const RouteDescription = styled.div<{ opacity: number }>`
user-select: text;
`;

const RouteAuthor = styled(RouteDescription)``;

const RouteGrade = styled.div``;

const Row = styled.div<{ $isHoverHighlighted: boolean }>`
Expand Down Expand Up @@ -221,6 +223,9 @@ export const ClimbingRouteTableRow = forwardRef<
{feature.tags?.description}
</RouteDescription>
)}
{feature.tags?.author && (
<RouteAuthor opacity={0.5}>{feature.tags?.author}</RouteAuthor>
)}
</Stack>
<RouteGrade>
<ConvertedRouteDifficultyBadge
Expand Down

0 comments on commit abe566e

Please sign in to comment.