summaryrefslogtreecommitdiff
path: root/components/common/loading/loading.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/common/loading/loading.tsx')
-rw-r--r--components/common/loading/loading.tsx17
1 files changed, 17 insertions, 0 deletions
diff --git a/components/common/loading/loading.tsx b/components/common/loading/loading.tsx
new file mode 100644
index 00000000..d5345ba3
--- /dev/null
+++ b/components/common/loading/loading.tsx
@@ -0,0 +1,17 @@
+import Animation from "./animation";
+
+export default function Loading({message}: {message: string}) {
+ return (
+ <>
+ <div className="container relative flex h-screen flex-col items-center justify-center">
+ <div className="flex items-center space-x-2">
+ <span className="text-md font-bold">eVCP</span>
+ </div>
+ <div>
+ <Animation />
+ </div>
+ <div className="mt-4 text-sm text-muted-foreground">{message}</div>
+ </div>
+ </>
+ );
+} \ No newline at end of file