mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-20 06:42:14 +00:00
update discover loading animation
This commit is contained in:
parent
fbcf4e65e8
commit
9d17e45b1c
2 changed files with 4 additions and 4 deletions
|
|
@ -2,7 +2,7 @@ import React, { useEffect, useState } from "react";
|
|||
import { Helmet } from "react-helmet-async";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
import { Spinner } from "@/components/layout/Spinner";
|
||||
import { Loading } from "@/components/layout/Loading";
|
||||
import DiscoverContent from "@/utils/discoverContent";
|
||||
|
||||
import { SubPageLayout } from "./layouts/SubPageLayout";
|
||||
|
|
@ -64,7 +64,7 @@ export function Discover() {
|
|||
{/* Conditional rendering: show loading screen or the content */}
|
||||
{loading ? (
|
||||
<div className="flex flex-col justify-center items-center h-64 space-y-4">
|
||||
<Spinner />
|
||||
<Loading />
|
||||
<p className="text-lg font-medium text-gray-400 animate-pulse mt-4">
|
||||
Fetching the latest movies & TV shows...
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { useEffect, useState } from "react";
|
|||
import { Helmet } from "react-helmet-async";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
import { Spinner } from "@/components/layout/Spinner";
|
||||
import { Loading } from "@/components/layout/Loading";
|
||||
import { WideContainer } from "@/components/layout/WideContainer";
|
||||
import { useDebounce } from "@/hooks/useDebounce";
|
||||
import { useRandomTranslation } from "@/hooks/useRandomTranslation";
|
||||
|
|
@ -96,7 +96,7 @@ export function HomePage() {
|
|||
{/* Conditional rendering: show loading screen or the content */}
|
||||
{loading ? (
|
||||
<div className="flex flex-col justify-center items-center h-64 space-y-4">
|
||||
<Spinner />
|
||||
<Loading />
|
||||
<p className="text-lg font-medium text-gray-400 animate-pulse mt-4">
|
||||
Fetching the latest movies & TV shows...
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue