Added simple sidebar

This commit is contained in:
2025-06-26 12:30:30 +02:00
parent bd3d50ac25
commit 8c01d743cb
14 changed files with 1379 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import { getSession } from "@/lib/auth/session"
export default async function Dashboard() {
const { session, redirect } = await getSession()
if (!session) {
redirect("/sign-in")
}
return (
<div className="p-6">
<h1 className="text-2xl font-bold text-gray-900 mb-4">Dashboard</h1>
<p className="text-gray-600">Welcome to your dashboard! Use the sidebar to navigate to different sections.</p>
</div>
)
}