+
+
+
+
+
+
+
+
+
{project.projectShortName}
+
+ {project.projectName}
+
+
+ Assigned:{" "}
+ {project.assignedDate ? (
+ new Date(
+ project.assignedDate
+ ).toLocaleDateString()
+ ) : (
+ NA
+ )}
+
-
{project.projectName}
-
-
+
+
{project.designation}
-
+
-
-
- Assigned:{" "}
- {project.assignedDate ? (
- new Date(project.assignedDate).toLocaleDateString()
- ) : (
- NA
- )}
-
-
- {project.removedDate && (
-
+
+ {/* Dates */}
+
+ {project.removedDate && (
Unassigned:{" "}
{project.removedDate ? (
@@ -72,8 +76,8 @@ const EmpDashboard = ({ profile }) => {
NA
)}
-
- )}
+ )}
+
))}
diff --git a/src/components/Employee/EmployeeNav.jsx b/src/components/Employee/EmployeeNav.jsx
index ac1e89ae..d9a6b3e0 100644
--- a/src/components/Employee/EmployeeNav.jsx
+++ b/src/components/Employee/EmployeeNav.jsx
@@ -1,67 +1,36 @@
import React from "react";
-
const EmployeeNav = ({ onPillClick, activePill }) => {
+ const tabs = [
+ { key: "profile", icon: "bx bx-user", label: "Profile" },
+ { key: "attendance", icon: "bx bx-group", label: "Attendances" },
+ { key: "documents", icon: "bx bx-user", label: "Documents" },
+ { key: "activities", icon: "bx bx-grid-alt", label: "Activities" },
+ ];
+
return (