diff --git a/src/components/media/ModalEpisodeSelector.tsx b/src/components/media/ModalEpisodeSelector.tsx index fa3ce58b..c2510f1d 100644 --- a/src/components/media/ModalEpisodeSelector.tsx +++ b/src/components/media/ModalEpisodeSelector.tsx @@ -2,6 +2,7 @@ import React, { useCallback, useEffect, useState } from "react"; import { useNavigate } from "react-router-dom"; import { get } from "@/backend/metadata/tmdb"; +import { Flare } from "@/components/utils/Flare"; import { conf } from "@/setup/config"; interface ModalEpisodeSelectorProps { @@ -100,29 +101,35 @@ export function EpisodeSelector({ still_path: string; id: number; }) => ( -
{ const url = `/media/tmdb-tv-${tmdbId}-${mediaTitle}/${selectedSeason.id}/${episode.id}`; - // eslint-disable-next-line no-console console.log(`Navigating to: ${url}`); - // eslint-disable-next-line no-console console.log( `Season ID: ${selectedSeason.id}, Episode ID: ${episode.id}`, ); navigate(url); }} - className="bg-mediaCard-hoverBackground rounded p-2 hover:scale-95 transition-transform transition-border-color duration-[0.28s] ease-in-out transform-origin-center" + className="group cursor-pointer rounded-xl relative p-[0.65em] bg-background-main transition-colors duration-[0.28s]" > - {episode.name} -

- {`S${selectedSeason.season_number}E${episode.episode_number}: ${episode.name}`} -

-
+
+ {episode.name} +

+ {`S${selectedSeason.season_number}E${episode.episode_number}: ${episode.name}`} +

+
+ ), ) ) : (