From b8ca66b4cbc45dbe571ef27df285071e0ec28814 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Sun, 1 Jun 2025 19:04:14 -0600 Subject: [PATCH] fix homepage layout and carousels --- src/pages/HomePage.tsx | 193 +++++------------- .../discover/components/LazyMediaCarousel.tsx | 3 - .../discover/components/MediaCarousel.tsx | 5 +- src/pages/discover/discoverContent.tsx | 17 -- src/pages/parts/home/BookmarksCarousel.tsx | 8 +- src/pages/parts/home/WatchingCarousel.tsx | 7 +- src/pages/parts/search/SearchListPart.tsx | 4 +- 7 files changed, 60 insertions(+), 177 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index e9819979..e925da53 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -70,7 +70,6 @@ export function HomePage() { const enableCarouselView = usePreferencesStore( (state) => state.enableCarouselView, ); - const isMobile = window.innerWidth < 768; const handleClick = (path: To) => { window.scrollTo(0, 0); @@ -85,23 +84,8 @@ export function HomePage() { detailsModal.show(); }; - // const { loggedIn } = useAuth(); // Adjust padding for popup show button based on logged in state - return ( - {/* modal.show()} - className={` text-white tabbable rounded-full z-50 fixed top-5 ${ - loggedIn - ? "right-[7.5rem] lg:right-[12.5rem] lg:text-2xl" - : "right-[7.5rem] text-xl lg:text-lg" - }`} - style={{ animation: "pulse 1s infinite" }} - > - - READ - - */}