mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-18 18:02:08 +00:00
Move Discover files
This commit is contained in:
parent
b129506abc
commit
71e74269eb
6 changed files with 9 additions and 9 deletions
|
|
@ -11,6 +11,7 @@ import { useAuth } from "@/hooks/auth/useAuth";
|
|||
import { useDebounce } from "@/hooks/useDebounce";
|
||||
import { useRandomTranslation } from "@/hooks/useRandomTranslation";
|
||||
import { useSearchQuery } from "@/hooks/useSearchQuery";
|
||||
import DiscoverContent from "@/pages/discover/discoverContent";
|
||||
import { HomeLayout } from "@/pages/layouts/HomeLayout";
|
||||
import { BookmarksPart } from "@/pages/parts/home/BookmarksPart";
|
||||
import { HeroPart } from "@/pages/parts/home/HeroPart";
|
||||
|
|
@ -18,7 +19,6 @@ import { WatchingPart } from "@/pages/parts/home/WatchingPart";
|
|||
import { SearchListPart } from "@/pages/parts/search/SearchListPart";
|
||||
import { SearchLoadingPart } from "@/pages/parts/search/SearchLoadingPart";
|
||||
import { usePreferencesStore } from "@/stores/preferences";
|
||||
import DiscoverContent from "@/utils/discoverContent";
|
||||
|
||||
import { Button } from "./About";
|
||||
import { PopupModal } from "./parts/home/PopupModal";
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@ import { Helmet } from "react-helmet-async";
|
|||
import { useTranslation } from "react-i18next";
|
||||
|
||||
import { Loading } from "@/components/layout/Loading";
|
||||
import DiscoverContent from "@/utils/discoverContent";
|
||||
import DiscoverContent from "@/pages/discover/discoverContent";
|
||||
|
||||
import { SubPageLayout } from "./layouts/SubPageLayout";
|
||||
import { PageTitle } from "./parts/util/PageTitle";
|
||||
import { SubPageLayout } from "../layouts/SubPageLayout";
|
||||
import { PageTitle } from "../parts/util/PageTitle";
|
||||
|
||||
export function Discover() {
|
||||
const { t } = useTranslation();
|
||||
|
|
@ -6,7 +6,6 @@ import { get } from "@/backend/metadata/tmdb";
|
|||
import { Divider } from "@/components/utils/Divider";
|
||||
import { Flare } from "@/components/utils/Flare";
|
||||
import { useIsMobile } from "@/hooks/useIsMobile";
|
||||
import { conf } from "@/setup/config";
|
||||
import {
|
||||
Category,
|
||||
Genre,
|
||||
|
|
@ -15,9 +14,10 @@ import {
|
|||
TVShow,
|
||||
categories,
|
||||
tvCategories,
|
||||
} from "@/utils/discover";
|
||||
} from "@/pages/discover/common";
|
||||
import { conf } from "@/setup/config";
|
||||
|
||||
import { Icon, Icons } from "../components/Icon";
|
||||
import { Icon, Icons } from "../../components/Icon";
|
||||
|
||||
const editorPicks = [
|
||||
{ id: 9342, type: "movie" }, // The Mask of Zorro
|
||||
|
|
@ -15,7 +15,7 @@ import { useOnlineListener } from "@/hooks/usePing";
|
|||
import { AboutPage } from "@/pages/About";
|
||||
import { AdminPage } from "@/pages/admin/AdminPage";
|
||||
import VideoTesterView from "@/pages/developer/VideoTesterView";
|
||||
import { Discover } from "@/pages/Discover";
|
||||
import { Discover } from "@/pages/discover/Discover";
|
||||
import { DmcaPage, shouldHaveDmcaPage } from "@/pages/Dmca";
|
||||
import MaintenancePage from "@/pages/errors/MaintenancePage";
|
||||
import { NotFoundPage } from "@/pages/errors/NotFoundPage";
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import { useOnlineListener } from "@/hooks/usePing";
|
|||
import { AboutPage } from "@/pages/About";
|
||||
import { AdminPage } from "@/pages/admin/AdminPage";
|
||||
import VideoTesterView from "@/pages/developer/VideoTesterView";
|
||||
import { Discover } from "@/pages/Discover";
|
||||
import { Discover } from "@/pages/discover/Discover";
|
||||
import { DmcaPage, shouldHaveDmcaPage } from "@/pages/Dmca";
|
||||
import MaintenancePage from "@/pages/errors/MaintenancePage";
|
||||
import { NotFoundPage } from "@/pages/errors/NotFoundPage";
|
||||
|
|
|
|||
Loading…
Reference in a new issue