From f0e80463fa23a6a52623b7507d6959d19af6ae07 Mon Sep 17 00:00:00 2001
From: Pinapelz <yukais@pinapelz.com>
Date: Sun, 9 Nov 2025 20:15:12 -0800
Subject: clean up admin page into components

---
 frontend/src/components/UnauthorizedAccess.tsx | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 frontend/src/components/UnauthorizedAccess.tsx

(limited to 'frontend/src/components/UnauthorizedAccess.tsx')

diff --git a/frontend/src/components/UnauthorizedAccess.tsx b/frontend/src/components/UnauthorizedAccess.tsx
new file mode 100644
index 0000000..a26afd1
--- /dev/null
+++ b/frontend/src/components/UnauthorizedAccess.tsx
@@ -0,0 +1,12 @@
+const UnauthorizedAccess = () => {
+  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-400">You are not authorized to access this page.</p>
+      </div>
+    </div>
+  );
+};
+
+export default UnauthorizedAccess;
\ No newline at end of file
-- 
cgit v1.2.3

