aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/src/components/LoadingDisplay.tsx
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-10-27 20:57:34 -0700
committerPinapelz <yukais@pinapelz.com>2025-10-27 20:57:34 -0700
commitaad52db138830de8b473ada5525f33164c65abab (patch)
tree3111d3b69b25b7288e6670e18bd3df7e7a4736f2 /frontend/src/components/LoadingDisplay.tsx
parent82bc6b860598103af46030d875b82da239dc999d (diff)
move loading display to root of components folder
Diffstat (limited to 'frontend/src/components/LoadingDisplay.tsx')
-rw-r--r--frontend/src/components/LoadingDisplay.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/frontend/src/components/LoadingDisplay.tsx b/frontend/src/components/LoadingDisplay.tsx
new file mode 100644
index 0000000..ea6de54
--- /dev/null
+++ b/frontend/src/components/LoadingDisplay.tsx
@@ -0,0 +1,17 @@
+
+interface LoadingDisplayProps {
+ message?: string;
+}
+
+const LoadingDisplay = ({ message }: LoadingDisplayProps) => {
+ return(
+ <div className="min-h-screen bg-slate-950 flex items-center justify-center">
+ <div className="text-center">
+ <div className="w-8 h-8 border-2 border-violet-500 border-t-transparent rounded-full animate-spin mx-auto mb-4"></div>
+ <p className="text-slate-300">{message || 'Loading...'}</p>
+ </div>
+ </div>
+ )
+}
+
+export default LoadingDisplay;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage