diff --git a/src/App.jsx b/src/App.jsx index 58c2042..1849469 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -396,10 +396,13 @@ function App() { opacity: 0, }} transition={{ - duration: 0.5, + duration: 0.6, }} onLoad={() => setBackdropLoading(false)} loading="eager" + style={{ + transition: "opacity 6s", + }} /> diff --git a/src/components/card/card.jsx b/src/components/card/card.jsx index 7b7e4c7..f4d9111 100644 --- a/src/components/card/card.jsx +++ b/src/components/card/card.jsx @@ -53,6 +53,7 @@ export const Card = ({ secondaryText, queryKey, userId, + availableImagesTypes, onClick, disableOverlay = false, diff --git a/src/components/carousel/index.jsx b/src/components/carousel/index.jsx index fe1d3c9..43e7caa 100644 --- a/src/components/carousel/index.jsx +++ b/src/components/carousel/index.jsx @@ -50,7 +50,7 @@ const Carousel = ({ content, onChange }) => { animate={{ opacity: 1 }} exit={{ opacity: 0 }} transition={{ - duration: 0.3, + duration: 0.4, }} drag={"x"} dragConstraints={{ left: 0, right: 0 }} diff --git a/src/components/carouselSlide/index.jsx b/src/components/carouselSlide/index.jsx index e4e4f24..e84db1e 100644 --- a/src/components/carouselSlide/index.jsx +++ b/src/components/carouselSlide/index.jsx @@ -127,7 +127,7 @@ const CarouselSlide = ({ item }) => { opacity: 0, }} transition={{ - duration: 0.15, + duration: 0.35, }} className="hero-carousel-detail" > diff --git a/src/components/menu/sidemenu.jsx b/src/components/menu/sidemenu.jsx index 218080e..1cacba2 100644 --- a/src/components/menu/sidemenu.jsx +++ b/src/components/menu/sidemenu.jsx @@ -152,6 +152,45 @@ export const SideMenu = ({}) => { ) : ( <> + + + + + + + + + {libraries.data.Items.map( (library, index) => { return ( @@ -161,6 +200,9 @@ export const SideMenu = ({}) => { arrow followCursor key={index} + sx={{ + mb: 1, + }} > { )} - - - - - - - - - { item.Type == BaseItemKind.Episode ? "Primary" + : Object.keys( + item.ImageTags, + ).includes( + "Thumb", + ) + ? "Thumb" : "Backdrop" } secondaryText={ @@ -383,6 +389,12 @@ const Home = () => { )[0] ] } + availableImagesTypes={ + !!item.ImageTags && + Object.keys( + item.ImageTags, + ) + } > ); },