+ }
+ className="hero-carousel-info"
+ mt={1}
+ justifyItems="flex-start"
+ alignItems="center"
+ >
+
+ {!!item.ProductionYear
+ ? item.ProductionYear
+ : "Unknown"}
+
+
- }
- className="hero-carousel-info"
- mt={1}
- justifyItems="flex-start"
- alignItems="center"
- >
-
- {!!item.ProductionYear
- ? item.ProductionYear
- : "Unknown"}
-
-
-
- {!!item.CommunityRating ? (
- <>
-
+ className="hero-carousel-info-rating"
+ >
+ {!!item.CommunityRating ? (
+ <>
+
+
+ {Math.round(
+ item.CommunityRating *
+ 10,
+ ) / 10}
+
+ >
+ ) : (
- {Math.round(
- item.CommunityRating *
- 10,
- ) / 10}
+ No Community Rating
- >
- ) : (
+ )}
+
+ {!!item.RunTimeTicks && (
- No Community Rating
+ {getRuntime(item.RunTimeTicks)}
)}
-
- {!!item.RunTimeTicks && (
-
- {getRuntime(item.RunTimeTicks)}
-
- )}
- {!!item.RunTimeTicks && (
-
- {endsAt(item.RunTimeTicks)}
-
- )}
-
+ {!!item.RunTimeTicks && (
+