created simple auth system using betterauth
This commit is contained in:
12
src/app/admin/page.tsx
Normal file
12
src/app/admin/page.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import AuthRedirect from "@/components/AuthRedirect";
|
||||
|
||||
export default function AdminPage() {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<AuthRedirect />
|
||||
<h1>Admin Dashboard</h1>
|
||||
<p>Welcome to the admin dashboard. Here you can manage the application.</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user