Start working on new titlePage #160

This commit is contained in:
Prayag Prajapati committed 2023-09-05 12:28:06 +05:30
1 parent 73794711dc
commit 8bd42c0f2f
16 files changed
+143 -2831

No files matched your search

View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
+2 -7
View File
@@ -17,16 +17,10 @@ import Carousel from "../../components/carousel";
// Custom Components
import { Card } from "../../components/card/card";
import { CardScroller } from "../../components/cardScroller/cardScroller";
import { LatestMediaSection } from "../../components/homeSection/latestMediaSection";
import { LatestMediaSection } from "../../components/layouts/homeSection/latestMediaSection";
import { CarouselSkeleton } from "../../components/skeleton/carousel";
import { CardsSkeleton } from "../../components/skeleton/cards";
// Icons
import { MediaTypeIconCollection } from "../../components/utils/iconsCollection.jsx";
import { MdiStar } from "../../components/icons/mdiStar";
import { MdiPlayOutline } from "../../components/icons/mdiPlayOutline";
import { MdiChevronRight } from "../../components/icons/mdiChevronRight";
import { getUserViewsApi } from "@jellyfin/sdk/lib/utils/api/user-views-api";
import { getUserApi } from "@jellyfin/sdk/lib/utils/api/user-api";
import { getUserLibraryApi } from "@jellyfin/sdk/lib/utils/api/user-library-api";
@@ -39,6 +33,7 @@ import { useBackdropStore } from "../../utils/store/backdrop";
import CarouselSlide from "../../components/carouselSlide";
import { BaseItemKind, ItemFields } from "@jellyfin/sdk/lib/generated-client";
const Home = () => {
const authUser = useQuery({
queryKey: ["home", "authenticateUser"],
+13 -2733
View File
File diff suppressed because it is too large. Load diff
+5 -76
View File
@@ -1,84 +1,13 @@
/** @format */
.item-detail {
&-heading {
opacity: 0.85;
}
&-backdrop {
position: fixed;
top: 0;
left: 0;
width: inherit;
height: 100%;
z-index: -2;
opacity: 0.2;
}
&-header {
&-hero {
display: flex;
gap: 1em;
justify-content: flex-start;
align-items: flex-end;
position: relative;
flex-wrap: wrap;
&-backdrop {
position: absolute;
width: 100vw;
height: 80vh;
top: -88px;
width: 100vw;
right: 0;
left: -24px;
z-index: -2;
filter: brightness(0.6);
mask-image: linear-gradient(0deg, transparent, black 75%);
-webkit-mask-image: linear-gradient(
0deg,
transparent,
black 75%
);
}
}
&-image {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
object-position: top;
transition: opacity $transition-time-default;
&-blurhash {
z-index: -1;
}
&-container {
width: 15%;
flex-shrink: 0;
position: relative;
border-radius: $border-radius-default;
overflow: hidden;
box-shadow: 0 0 15px rgb(0 0 0 / 0.4);
&.Episode {
flex-shrink: 0;
flex-grow: 0.25;
}
}
&-icon-container {
background: $clr-gradient-dark;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
z-index: -2;
}
gap: 2em;
}
&-title-logo {
filter: drop-shadow(0 0 10px rgb(0 0 0 /0.2));
height: 100%;
max-height: 5em;
width: 45%;
object-fit: contain;
object-position: bottom;
&-primaryImage {
width: 26%;
flex-shrink: 0;
}
}
View File
Whitespace-only changes.
View File
Whitespace-only changes.