Add liking and watched status marking for seasons
This commit is contained in:
6 files changed
+122
-86
No files matched your search
+11
-4
@@ -437,19 +437,26 @@ function App() {
|
|||||||
opacity: 0,
|
opacity: 0,
|
||||||
}}
|
}}
|
||||||
animate={{
|
animate={{
|
||||||
opacity: backdropLoading ? 0 : 0.5,
|
opacity: backdropLoading ? 0 : 0.6,
|
||||||
}}
|
}}
|
||||||
exit={{
|
exit={{
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
}}
|
}}
|
||||||
transition={{
|
transition={{
|
||||||
duration: 0.5,
|
duration: 0.8,
|
||||||
ease: "easeInOut",
|
ease: "easeInOut",
|
||||||
}}
|
}}
|
||||||
onLoad={() => setBackdropLoading(false)}
|
onLoadCapture={() => {
|
||||||
|
console.log(`loading ${backdropId}`);
|
||||||
|
setBackdropLoading(true);
|
||||||
|
}}
|
||||||
|
onLoad={() => {
|
||||||
|
console.log(`loaded ${backdropId}`);
|
||||||
|
setBackdropLoading(false);
|
||||||
|
}}
|
||||||
loading="eager"
|
loading="eager"
|
||||||
style={{
|
style={{
|
||||||
transition: "opacity 1s",
|
transition: "opacity 0.8s",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</AnimatePresence>
|
</AnimatePresence>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/** @format */
|
/** @format */
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
import { useEffect } from "react";
|
import React from "react";
|
||||||
|
|
||||||
import IconButton from "@mui/material/IconButton";
|
import IconButton from "@mui/material/IconButton";
|
||||||
|
|
||||||
@@ -25,14 +25,13 @@ const LikeButton = ({
|
|||||||
const { enqueueSnackbar } = useSnackbar();
|
const { enqueueSnackbar } = useSnackbar();
|
||||||
|
|
||||||
const handleLiking = async () => {
|
const handleLiking = async () => {
|
||||||
let result;
|
|
||||||
if (isFavorite) {
|
if (isFavorite) {
|
||||||
result = await getUserLibraryApi(window.api).unmarkFavoriteItem({
|
await getUserLibraryApi(window.api).unmarkFavoriteItem({
|
||||||
userId: userId,
|
userId: userId,
|
||||||
itemId: itemId,
|
itemId: itemId,
|
||||||
});
|
});
|
||||||
} else if (!isFavorite) {
|
} else if (!isFavorite) {
|
||||||
result = await getUserLibraryApi(window.api).markFavoriteItem({
|
await getUserLibraryApi(window.api).markFavoriteItem({
|
||||||
userId: userId,
|
userId: userId,
|
||||||
itemId: itemId,
|
itemId: itemId,
|
||||||
});
|
});
|
||||||
@@ -40,7 +39,7 @@ const LikeButton = ({
|
|||||||
};
|
};
|
||||||
const mutation = useMutation({
|
const mutation = useMutation({
|
||||||
mutationFn: handleLiking,
|
mutationFn: handleLiking,
|
||||||
onError: (error, a, context) => {
|
onError: (error) => {
|
||||||
enqueueSnackbar(`${error}`, {
|
enqueueSnackbar(`${error}`, {
|
||||||
variant: "error",
|
variant: "error",
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ const CarouselSlide = ({ item }) => {
|
|||||||
const handleMoreInfo = () => {
|
const handleMoreInfo = () => {
|
||||||
if (availableSpecialRoutes.includes(item.Type)) {
|
if (availableSpecialRoutes.includes(item.Type)) {
|
||||||
navigate(`/${item.Type.toLocaleLowerCase()}/${item.Id}`);
|
navigate(`/${item.Type.toLocaleLowerCase()}/${item.Id}`);
|
||||||
} else if (!!item.Role) {
|
} else if (item.Role) {
|
||||||
navigate(`/person/${item.Id}`);
|
navigate(`/person/${item.Id}`);
|
||||||
} else {
|
} else {
|
||||||
navigate(`/item/${item.Id}`);
|
navigate(`/item/${item.Id}`);
|
||||||
@@ -106,7 +106,7 @@ const CarouselSlide = ({ item }) => {
|
|||||||
<img
|
<img
|
||||||
className="hero-carousel-background-image"
|
className="hero-carousel-background-image"
|
||||||
src={
|
src={
|
||||||
!!item.ParentBackdropItemId
|
item.ParentBackdropItemId
|
||||||
? `${window.api.basePath}/Items/${item.ParentBackdropItemId}/Images/Backdrop`
|
? `${window.api.basePath}/Items/${item.ParentBackdropItemId}/Images/Backdrop`
|
||||||
: `${window.api.basePath}/Items/${item.Id}/Images/Backdrop`
|
: `${window.api.basePath}/Items/${item.Id}/Images/Backdrop`
|
||||||
}
|
}
|
||||||
@@ -128,8 +128,8 @@ const CarouselSlide = ({ item }) => {
|
|||||||
initial={{
|
initial={{
|
||||||
transform:
|
transform:
|
||||||
animationDirection == "right"
|
animationDirection == "right"
|
||||||
? "translateX(40px)"
|
? "translateX(60px)"
|
||||||
: "translateX(-40px)",
|
: "translateX(-60px)",
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
}}
|
}}
|
||||||
animate={{
|
animate={{
|
||||||
@@ -139,8 +139,8 @@ const CarouselSlide = ({ item }) => {
|
|||||||
exit={{
|
exit={{
|
||||||
transform:
|
transform:
|
||||||
animationDirection == "right"
|
animationDirection == "right"
|
||||||
? "translateX(-40px)"
|
? "translateX(-60px)"
|
||||||
: "translateX(40px)",
|
: "translateX(60px)",
|
||||||
|
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
}}
|
}}
|
||||||
@@ -199,7 +199,7 @@ const CarouselSlide = ({ item }) => {
|
|||||||
className="hero-carousel-info"
|
className="hero-carousel-info"
|
||||||
>
|
>
|
||||||
<Typography variant="subtitle1">
|
<Typography variant="subtitle1">
|
||||||
{!!item.ProductionYear
|
{item.ProductionYear
|
||||||
? item.ProductionYear
|
? item.ProductionYear
|
||||||
: "Unknown"}
|
: "Unknown"}
|
||||||
</Typography>
|
</Typography>
|
||||||
@@ -215,7 +215,7 @@ const CarouselSlide = ({ item }) => {
|
|||||||
}}
|
}}
|
||||||
className="hero-carousel-info-rating"
|
className="hero-carousel-info-rating"
|
||||||
>
|
>
|
||||||
{!!item.CommunityRating ? (
|
{item.CommunityRating ? (
|
||||||
<>
|
<>
|
||||||
<MdiStar
|
<MdiStar
|
||||||
sx={{
|
sx={{
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/** @format */
|
/** @format */
|
||||||
import { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
import Box from "@mui/material/Box";
|
import Box from "@mui/material/Box";
|
||||||
@@ -279,7 +279,6 @@ const PersonTitlePage = () => {
|
|||||||
queryKey={["item", id]}
|
queryKey={["item", id]}
|
||||||
disableInfoStrip
|
disableInfoStrip
|
||||||
disablePlayButton
|
disablePlayButton
|
||||||
disableLikeButton
|
|
||||||
disableMarkAsPlayedButton
|
disableMarkAsPlayedButton
|
||||||
/>
|
/>
|
||||||
<div className="item-detail-person-container">
|
<div className="item-detail-person-container">
|
||||||
|
|||||||
+97
-66
@@ -1,5 +1,5 @@
|
|||||||
/** @format */
|
/** @format */
|
||||||
import { useState, useEffect } from "react";
|
import React, { useState, useEffect } from "react";
|
||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
import Box from "@mui/material/Box";
|
import Box from "@mui/material/Box";
|
||||||
@@ -12,7 +12,7 @@ import MenuItem from "@mui/material/MenuItem";
|
|||||||
|
|
||||||
import { motion } from "framer-motion";
|
import { motion } from "framer-motion";
|
||||||
|
|
||||||
import { useParams, useNavigate, Link as RouterLink } from "react-router-dom";
|
import { useParams } from "react-router-dom";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
BaseItemKind,
|
BaseItemKind,
|
||||||
@@ -26,7 +26,7 @@ import { getTvShowsApi } from "@jellyfin/sdk/lib/utils/api/tv-shows-api";
|
|||||||
|
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
|
|
||||||
import { getRuntimeMusic, getRuntimeFull, endsAt } from "../../utils/date/time";
|
import { getRuntimeMusic } from "../../utils/date/time";
|
||||||
|
|
||||||
import Hero from "../../components/layouts/item/hero";
|
import Hero from "../../components/layouts/item/hero";
|
||||||
import { Card } from "../../components/card/card";
|
import { Card } from "../../components/card/card";
|
||||||
@@ -36,12 +36,12 @@ import { CardScroller } from "../../components/cardScroller/cardScroller";
|
|||||||
import "./series.module.scss";
|
import "./series.module.scss";
|
||||||
import { EpisodeCardsSkeleton } from "../../components/skeleton/episodeCards";
|
import { EpisodeCardsSkeleton } from "../../components/skeleton/episodeCards";
|
||||||
import { ErrorNotice } from "../../components/notices/errorNotice/errorNotice";
|
import { ErrorNotice } from "../../components/notices/errorNotice/errorNotice";
|
||||||
import { usePlaybackStore } from "../../utils/store/playback";
|
|
||||||
|
|
||||||
import { useBackdropStore } from "../../utils/store/backdrop";
|
import { useBackdropStore } from "../../utils/store/backdrop";
|
||||||
import { ActorCard } from "../../components/card/actorCards";
|
import { ActorCard } from "../../components/card/actorCards";
|
||||||
import { SeasonSelectorSkeleton } from "../../components/skeleton/seasonSelector";
|
import { SeasonSelectorSkeleton } from "../../components/skeleton/seasonSelector";
|
||||||
import { stagger } from "framer-motion";
|
import LikeButton from "../../components/buttons/likeButton";
|
||||||
|
import MarkPlayedButton from "../../components/buttons/markPlayedButton";
|
||||||
function TabPanel(props) {
|
function TabPanel(props) {
|
||||||
const { children, value, index, ...other } = props;
|
const { children, value, index, ...other } = props;
|
||||||
|
|
||||||
@@ -65,16 +65,8 @@ TabPanel.propTypes = {
|
|||||||
value: PropTypes.number.isRequired,
|
value: PropTypes.number.isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
function a11yProps(index) {
|
|
||||||
return {
|
|
||||||
id: `full-width-tab-${index}`,
|
|
||||||
"aria-controls": `full-width-tabpanel-${index}`,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
const SeriesTitlePage = () => {
|
const SeriesTitlePage = () => {
|
||||||
const { id } = useParams();
|
const { id } = useParams();
|
||||||
const navigate = useNavigate();
|
|
||||||
|
|
||||||
const user = useQuery({
|
const user = useQuery({
|
||||||
queryKey: ["user"],
|
queryKey: ["user"],
|
||||||
@@ -148,6 +140,21 @@ const SeriesTitlePage = () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const [currentSeason, setCurrentSeason] = useState(0);
|
const [currentSeason, setCurrentSeason] = useState(0);
|
||||||
|
|
||||||
|
const currentSeasonItem = useQuery({
|
||||||
|
queryKey: ["item", id, "season", currentSeason],
|
||||||
|
queryFn: async () => {
|
||||||
|
const result = await getUserLibraryApi(window.api).getItem({
|
||||||
|
userId: user.data.Id,
|
||||||
|
itemId: seasons.data.Items[currentSeason].Id,
|
||||||
|
});
|
||||||
|
return result.data;
|
||||||
|
},
|
||||||
|
enabled: seasons.isSuccess,
|
||||||
|
networkMode: "always",
|
||||||
|
refetchOnWindowFocus: true,
|
||||||
|
});
|
||||||
|
|
||||||
const episodes = useQuery({
|
const episodes = useQuery({
|
||||||
queryKey: ["item", id, `season ${currentSeason + 1}`, "episodes"],
|
queryKey: ["item", id, `season ${currentSeason + 1}`, "episodes"],
|
||||||
queryFn: async () => {
|
queryFn: async () => {
|
||||||
@@ -178,24 +185,6 @@ const SeriesTitlePage = () => {
|
|||||||
},
|
},
|
||||||
enabled: item.isSuccess,
|
enabled: item.isSuccess,
|
||||||
});
|
});
|
||||||
const [
|
|
||||||
setUrl,
|
|
||||||
setPosition,
|
|
||||||
setDuration,
|
|
||||||
setItemId,
|
|
||||||
setItemName,
|
|
||||||
setSubtitleTracksStore,
|
|
||||||
setSelectedSubtitleTrack,
|
|
||||||
] = usePlaybackStore((state) => [
|
|
||||||
state.setUrl,
|
|
||||||
state.setPosition,
|
|
||||||
state.setDuration,
|
|
||||||
state.setItemId,
|
|
||||||
state.setItemName,
|
|
||||||
state.setSubtitleTracks,
|
|
||||||
state.setSelectedSubtitleTrack,
|
|
||||||
]);
|
|
||||||
|
|
||||||
const [setAppBackdrop] = useBackdropStore((state) => [state.setBackdrop]);
|
const [setAppBackdrop] = useBackdropStore((state) => [state.setBackdrop]);
|
||||||
|
|
||||||
const [directors, setDirectors] = useState([]);
|
const [directors, setDirectors] = useState([]);
|
||||||
@@ -262,18 +251,15 @@ const SeriesTitlePage = () => {
|
|||||||
displayCards={4}
|
displayCards={4}
|
||||||
disableDecoration
|
disableDecoration
|
||||||
>
|
>
|
||||||
{nextUpEpisode.data.Items.map(
|
{nextUpEpisode.data.Items.map((episode) => {
|
||||||
(episode, index) => {
|
|
||||||
return (
|
return (
|
||||||
<EpisodeCard
|
<EpisodeCard
|
||||||
|
key={episode.Id}
|
||||||
item={episode}
|
item={episode}
|
||||||
cardTitle={`S${episode.ParentIndexNumber}:E${episode.IndexNumber} - ${episode.Name}`}
|
cardTitle={`S${episode.ParentIndexNumber}:E${episode.IndexNumber} - ${episode.Name}`}
|
||||||
cardCaption={
|
cardCaption={episode.Overview}
|
||||||
episode.Overview
|
|
||||||
}
|
|
||||||
imageBlurhash={
|
imageBlurhash={
|
||||||
episode
|
episode.ImageBlurHashes
|
||||||
.ImageBlurHashes
|
|
||||||
?.Primary[
|
?.Primary[
|
||||||
Object.keys(
|
Object.keys(
|
||||||
episode
|
episode
|
||||||
@@ -286,16 +272,14 @@ const SeriesTitlePage = () => {
|
|||||||
"item",
|
"item",
|
||||||
id,
|
id,
|
||||||
`season ${
|
`season ${
|
||||||
currentSeason +
|
currentSeason + 1
|
||||||
1
|
|
||||||
}`,
|
}`,
|
||||||
"episodes",
|
"episodes",
|
||||||
]}
|
]}
|
||||||
userId={user.data.Id}
|
userId={user.data.Id}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
},
|
})}
|
||||||
)}
|
|
||||||
</CardScroller>
|
</CardScroller>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
@@ -345,10 +329,66 @@ const SeriesTitlePage = () => {
|
|||||||
}
|
}
|
||||||
></Chip>
|
></Chip>
|
||||||
</div>
|
</div>
|
||||||
|
<div
|
||||||
|
style={{
|
||||||
|
display: "flex",
|
||||||
|
gap: "0.75em",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{currentSeasonItem.isSuccess && (
|
||||||
|
<LikeButton
|
||||||
|
itemId={
|
||||||
|
currentSeasonItem.data.Id
|
||||||
|
}
|
||||||
|
isFavorite={
|
||||||
|
currentSeasonItem.data
|
||||||
|
.UserData.IsFavorite
|
||||||
|
}
|
||||||
|
queryKey={[
|
||||||
|
"item",
|
||||||
|
id,
|
||||||
|
"season",
|
||||||
|
currentSeason,
|
||||||
|
]}
|
||||||
|
userId={user.data.Id}
|
||||||
|
itemName={
|
||||||
|
currentSeasonItem.data
|
||||||
|
.Name
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
{currentSeasonItem.isSuccess && (
|
||||||
|
<>
|
||||||
|
<MarkPlayedButton
|
||||||
|
itemId={
|
||||||
|
currentSeasonItem
|
||||||
|
.data.Id
|
||||||
|
}
|
||||||
|
isPlayed={
|
||||||
|
currentSeasonItem
|
||||||
|
.data.UserData
|
||||||
|
.Played
|
||||||
|
}
|
||||||
|
queryKey={[
|
||||||
|
"item",
|
||||||
|
id,
|
||||||
|
"season",
|
||||||
|
currentSeason,
|
||||||
|
]}
|
||||||
|
userId={user.data.Id}
|
||||||
|
itemName={
|
||||||
|
currentSeasonItem
|
||||||
|
.data.Name
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
<TextField
|
<TextField
|
||||||
value={currentSeason}
|
value={currentSeason}
|
||||||
onChange={(e) =>
|
onChange={(e) =>
|
||||||
setCurrentSeason(e.target.value)
|
setCurrentSeason(
|
||||||
|
e.target.value,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
select
|
select
|
||||||
SelectProps={{
|
SelectProps={{
|
||||||
@@ -372,13 +412,13 @@ const SeriesTitlePage = () => {
|
|||||||
)}
|
)}
|
||||||
</TextField>
|
</TextField>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<Divider />
|
<Divider />
|
||||||
<div className="item-detail-episodes-container">
|
<div className="item-detail-episodes-container">
|
||||||
{episodes.isLoading ? (
|
{episodes.isLoading ? (
|
||||||
<EpisodeCardsSkeleton />
|
<EpisodeCardsSkeleton />
|
||||||
) : (
|
) : (
|
||||||
episodes.data.Items.map(
|
episodes.data.Items.map((episode) => {
|
||||||
(episode, index) => {
|
|
||||||
return (
|
return (
|
||||||
<motion.div
|
<motion.div
|
||||||
key={episode.Id}
|
key={episode.Id}
|
||||||
@@ -400,8 +440,7 @@ const SeriesTitlePage = () => {
|
|||||||
ease: "backInOut",
|
ease: "backInOut",
|
||||||
}}
|
}}
|
||||||
style={{
|
style={{
|
||||||
maxWidth:
|
maxWidth: "23.3vw",
|
||||||
"23.3vw",
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<EpisodeCard
|
<EpisodeCard
|
||||||
@@ -410,7 +449,7 @@ const SeriesTitlePage = () => {
|
|||||||
episode.ParentIndexNumber ==
|
episode.ParentIndexNumber ==
|
||||||
0
|
0
|
||||||
? `${episode.SeasonName} - ${episode.Name}`
|
? `${episode.SeasonName} - ${episode.Name}`
|
||||||
: !!episode.IndexNumberEnd
|
: episode.IndexNumberEnd
|
||||||
? `${episode.IndexNumber}-${episode.IndexNumberEnd}. ${episode.Name}`
|
? `${episode.IndexNumber}-${episode.IndexNumberEnd}. ${episode.Name}`
|
||||||
: `${episode.IndexNumber}. ${episode.Name}`
|
: `${episode.IndexNumber}. ${episode.Name}`
|
||||||
}
|
}
|
||||||
@@ -441,14 +480,12 @@ const SeriesTitlePage = () => {
|
|||||||
"episodes",
|
"episodes",
|
||||||
]}
|
]}
|
||||||
userId={
|
userId={
|
||||||
user.data
|
user.data.Id
|
||||||
.Id
|
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
);
|
);
|
||||||
},
|
})
|
||||||
)
|
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -460,15 +497,12 @@ const SeriesTitlePage = () => {
|
|||||||
displayCards={8}
|
displayCards={8}
|
||||||
disableDecoration
|
disableDecoration
|
||||||
>
|
>
|
||||||
{specialFeatures.data.map(
|
{specialFeatures.data.map((special) => {
|
||||||
(special, index) => {
|
|
||||||
return (
|
return (
|
||||||
<Card
|
<Card
|
||||||
key={special.Id}
|
key={special.Id}
|
||||||
item={special}
|
item={special}
|
||||||
seriesId={
|
seriesId={special.SeriesId}
|
||||||
special.SeriesId
|
|
||||||
}
|
|
||||||
cardTitle={special.Name}
|
cardTitle={special.Name}
|
||||||
imageType="Primary"
|
imageType="Primary"
|
||||||
cardCaption={getRuntimeMusic(
|
cardCaption={getRuntimeMusic(
|
||||||
@@ -481,11 +515,9 @@ const SeriesTitlePage = () => {
|
|||||||
"similarItem",
|
"similarItem",
|
||||||
]}
|
]}
|
||||||
imageBlurhash={
|
imageBlurhash={
|
||||||
!!special
|
!!special.ImageBlurHashes
|
||||||
.ImageBlurHashes
|
|
||||||
?.Primary &&
|
?.Primary &&
|
||||||
special
|
special.ImageBlurHashes
|
||||||
.ImageBlurHashes
|
|
||||||
.Primary[
|
.Primary[
|
||||||
Object.keys(
|
Object.keys(
|
||||||
special
|
special
|
||||||
@@ -498,8 +530,7 @@ const SeriesTitlePage = () => {
|
|||||||
onClick={() => {}}
|
onClick={() => {}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
},
|
})}
|
||||||
)}
|
|
||||||
</CardScroller>
|
</CardScroller>
|
||||||
)}
|
)}
|
||||||
{item.data.People.length > 0 && (
|
{item.data.People.length > 0 && (
|
||||||
@@ -508,7 +539,7 @@ const SeriesTitlePage = () => {
|
|||||||
displayCards={8}
|
displayCards={8}
|
||||||
disableDecoration
|
disableDecoration
|
||||||
>
|
>
|
||||||
{item.data.People.map((person, index) => {
|
{item.data.People.map((person) => {
|
||||||
return (
|
return (
|
||||||
<ActorCard
|
<ActorCard
|
||||||
key={person.Id}
|
key={person.Id}
|
||||||
@@ -534,7 +565,7 @@ const SeriesTitlePage = () => {
|
|||||||
displayCards={8}
|
displayCards={8}
|
||||||
disableDecoration
|
disableDecoration
|
||||||
>
|
>
|
||||||
{similarItems.data.Items.map((similar, index) => {
|
{similarItems.data.Items.map((similar) => {
|
||||||
return (
|
return (
|
||||||
<Card
|
<Card
|
||||||
key={similar.Id}
|
key={similar.Id}
|
||||||
@@ -556,7 +587,7 @@ const SeriesTitlePage = () => {
|
|||||||
? `${
|
? `${
|
||||||
similar.ProductionYear
|
similar.ProductionYear
|
||||||
} - ${
|
} - ${
|
||||||
!!similar.EndDate
|
similar.EndDate
|
||||||
? new Date(
|
? new Date(
|
||||||
similar.EndDate,
|
similar.EndDate,
|
||||||
).toLocaleString(
|
).toLocaleString(
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ body {
|
|||||||
top: -100px;
|
top: -100px;
|
||||||
left: -100px;
|
left: -100px;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
filter: blur(100px) saturate(120%) contrast(90%);
|
filter: blur(120px) saturate(130%) contrast(140%);
|
||||||
&-container {
|
&-container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
|
|||||||
Reference in new issue
Block a user