diff --git a/src/components/appBar/appBar.jsx b/src/components/appBar/appBar.jsx index cff0bb6..e5e8a0b 100644 --- a/src/components/appBar/appBar.jsx +++ b/src/components/appBar/appBar.jsx @@ -41,7 +41,7 @@ import { useApi } from "../../utils/store/api"; import { getTypeIcon } from "../../components/utils/iconsCollection"; -import logo from "../../assets/logo.svg"; +import logo from "../../assets/icon.svg"; export const AppBar = () => { const [api] = useApi((state) => [state.api]); @@ -172,26 +172,17 @@ export const AppBar = () => { gridTemplateColumns: "30% 1fr 30%", }} > -
navigate(-1)} + disabled={!backButtonVisible} style={{ - gap: "1.2em", - justifySelf: "start", + justifySelf: "left", }} > - navigate(-1)} - disabled={!backButtonVisible} - style={{ - justifySelf: "left", - }} - > -
- arrow_back -
-
- -
+
+ arrow_back +
+
{ >
arrow_left
- + { exit={{ opacity: 0 }} transition={{ duration: 0.25, + ease: "linear", }} drag={"x"} dragConstraints={{ left: 0, right: 0 }} diff --git a/src/components/carouselSlide/index.jsx b/src/components/carouselSlide/index.jsx index e89ae38..7615957 100644 --- a/src/components/carouselSlide/index.jsx +++ b/src/components/carouselSlide/index.jsx @@ -20,7 +20,7 @@ import { useNavigate } from "react-router-dom"; import { MediaTypeIconCollection, getTypeIcon } from "../utils/iconsCollection"; import { MdiChevronRight } from "../icons/mdiChevronRight"; import { useQuery } from "@tanstack/react-query"; -import { red } from "@mui/material/colors"; +import { red, green } from "@mui/material/colors"; import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api"; import LikeButton from "../buttons/likeButton"; @@ -98,20 +98,20 @@ const CarouselSlide = ({ item }) => { ] } // hash="LEHV6nWB2yk8pyo0adR*.7kCMdnj" - width="108" - height="72" + width="256" + height="179.2" resolutionX={64} - resolutionY={96} + resolutionY={45} className="hero-carousel-background-blurhash" - punch={1} + punch={1.2} /> )} { {getTypeIcon(item.Type)}
- +
{ variant="filled" label={item.OfficialRating ?? "Not Rated"} /> - }> + + {item.CommunityRating && (
{ ) / 10}
-
+ )} {Boolean(item.CriticRating) && (
{
50 + ? green[400] + : red[400], fontVariationSettings: '"FILL" 1, "wght" 300, "GRAD" 25, "opsz" 40', }} > - thumb_up + {item.CriticRating > 50 + ? "thumb_up" + : "thumb_down"}
{ /> - +
); diff --git a/src/components/notices/errorNotice/errorNotice.jsx b/src/components/notices/errorNotice/errorNotice.jsx index 5811836..fa3c98a 100644 --- a/src/components/notices/errorNotice/errorNotice.jsx +++ b/src/components/notices/errorNotice/errorNotice.jsx @@ -26,12 +26,12 @@ export const ErrorNotice = ({ error, resetErrorBoundary }) => { color: red[800], "--clr": "rgb(198 40 40 / 30%)", fontVariationSettings: - '"FILL" 0, "wght" 100, "GRAD" 25, "opsz" 40', + '"FILL" 1, "wght" 400, "GRAD" 25, "opsz" 60', }} > error
- + Something went wrong { }} > )}