Overview dashboard and Employee Engagement is added
This commit is contained in:
@@ -1,21 +1,7 @@
|
||||
"use client";
|
||||
// app/dashboard/page.tsx
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
import Sidebar from "@/components/dashboard/sidebar";
|
||||
|
||||
import OperationsDashboard from "@/components/dashboard/dashboard";
|
||||
|
||||
export default function DashboardPage() {
|
||||
return (
|
||||
|
||||
|
||||
<main className="flex bg-[#091522]">
|
||||
<Sidebar />
|
||||
|
||||
<div className="flex-1 p-6 text-white">
|
||||
<OperationsDashboard/>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
|
||||
);
|
||||
export default function DashboardBasePage() {
|
||||
// Automatically redirect the user to the actual overview dashboard page
|
||||
redirect("/dashboard/overview/dashboard");
|
||||
}
|
||||
Reference in New Issue
Block a user