From 06b2adcd10811b92b079294dbdab65727ff2015b Mon Sep 17 00:00:00 2001 From: real-zephex Date: Wed, 29 May 2024 10:01:52 +0530 Subject: =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20perf(deps):=20upgrade=20to=20react?= =?UTF-8?q?=2019=20and=20next=20js=2015,=20add=20loading=20screen,=20drop?= =?UTF-8?q?=20mangas=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/web-series/components/seriesSearchFormatter.jsx | 2 ++ src/app/web-series/loading.jsx | 15 +++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 src/app/web-series/loading.jsx (limited to 'src/app/web-series') diff --git a/src/app/web-series/components/seriesSearchFormatter.jsx b/src/app/web-series/components/seriesSearchFormatter.jsx index 408e7c0..ada00fb 100644 --- a/src/app/web-series/components/seriesSearchFormatter.jsx +++ b/src/app/web-series/components/seriesSearchFormatter.jsx @@ -1,3 +1,5 @@ +"use server"; + import { Card, CardHeader, CardBody } from "@nextui-org/react"; import Link from "next/link"; import Image from "next/image"; diff --git a/src/app/web-series/loading.jsx b/src/app/web-series/loading.jsx new file mode 100644 index 0000000..63ffdfc --- /dev/null +++ b/src/app/web-series/loading.jsx @@ -0,0 +1,15 @@ +import { CircularProgress } from "@nextui-org/react"; + +const LoadingScreen = async () => { + return ( +
+ +
+ ); +}; + +export default LoadingScreen; -- cgit v1.2.3