Operations dashboard screens are added

This commit is contained in:
2026-07-20 18:06:04 +05:30
parent a0426e8c8a
commit 0c9151b3a0
33 changed files with 826 additions and 47 deletions

View File

@@ -6,7 +6,8 @@ import { authOptions } from "@/app/api/auth/[...nextauth]/route"; // Changed fro
export default async function DashboardBasePage() {
const session = await getServerSession(authOptions);
// if user is not aunthenticated then its redirects to the
// login page else redirect to dashboard page
if (!session) {
redirect("/login");
}