first commit

This commit is contained in:
2026-01-13 18:08:59 +01:00
commit 5d2630a02f
41 changed files with 1632 additions and 0 deletions

16
app/views/page.tsx Normal file
View File

@@ -0,0 +1,16 @@
import { getServerSession } from "next-auth";
import ViewManager from "../../components/ViewManager";
import { authOptions } from "../../lib/auth";
export default async function ViewsPage() {
const session = await getServerSession(authOptions);
if (!session?.user) {
return (
<div className="rounded border border-dashed border-slate-300 bg-white p-8 text-center">
<p className="text-slate-700">Bitte anmelden, um Ansichten zu verwalten.</p>
</div>
);
}
return <ViewManager />;
}