Initial commit

This commit is contained in:
twotalesanimation
2026-06-11 10:46:09 +02:00
commit 81ad7e4ea9
223 changed files with 39530 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
// app/dashboard/page.tsx (server component)
import { requireUser } from '@/lib/auth-check';
import DashboardClient from './dashboard-client'; // will be your existing client UI
export default async function DashboardPage() {
// will redirect to /login if not authenticated
const session = await requireUser('/login');
// you can optionally pass session to client via props if desired:
return <DashboardClient />;
}