summaryrefslogtreecommitdiff
path: root/components/common/loading/loading.tsx
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-08-25 07:21:43 +0000
committerjoonhoekim <26rote@gmail.com>2025-08-25 07:21:43 +0000
commit780d56edd3772813b4e557061a3c90d9f7d1ddd0 (patch)
tree71d2526637ac89811fe3e1b4e7e2b280dc2457cd /components/common/loading/loading.tsx
parentfe924e1581fff24a91d65b33313bd3f39499bd72 (diff)
(김준회) 로그인 페이지 자동 리다이렉트 (이미 로그인한 경우) 및 시스템 설정 스타일 오류 수정, 로딩 애니메이션 컴포넌트 추가
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