diff options
Diffstat (limited to 'frontend/src/components/UnauthorizedAccess.tsx')
| -rw-r--r-- | frontend/src/components/UnauthorizedAccess.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
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 |
