aboutsummaryrefslogtreecommitdiff
path: root/src/app/loading.jsx
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-05-29 15:16:24 +0530
committerGitHub <[email protected]>2024-05-29 15:16:24 +0530
commit0c10f208cbc82f99d7bb316a8680a8e9fbb6cb1e (patch)
tree8a86f6199836b03e3a0296e754a2ce4bab998026 /src/app/loading.jsx
parentUpdate README.md (diff)
parentreverted back from next js 15 and react compiler due to some compatibility is... (diff)
downloaddramalama-0c10f208cbc82f99d7bb316a8680a8e9fbb6cb1e.tar.xz
dramalama-0c10f208cbc82f99d7bb316a8680a8e9fbb6cb1e.zip
Merge pull request #42 from real-zephex/series-overhaul
⚡️ perf(deps): upgrade to react 19 and next js 15, add loading screen, drop manga support
Diffstat (limited to 'src/app/loading.jsx')
-rw-r--r--src/app/loading.jsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/app/loading.jsx b/src/app/loading.jsx
new file mode 100644
index 0000000..2f12723
--- /dev/null
+++ b/src/app/loading.jsx
@@ -0,0 +1,15 @@
+import { CircularProgress } from "@nextui-org/react";
+
+const LoadingScreen = async () => {
+ return (
+ <div className="w-screen h-screen flex gap-4 items-center justify-center">
+ <CircularProgress
+ color="success"
+ aria-label="Loading..."
+ label="Loading..."
+ />
+ </div>
+ );
+};
+
+export default LoadingScreen;