diff --git a/public/maps/AB3-First-Floor.jpeg b/public/maps/AB3-First-Floor.jpeg new file mode 100644 index 0000000..7960104 Binary files /dev/null and b/public/maps/AB3-First-Floor.jpeg differ diff --git a/src/app/dashboard/faculty/profile/page.tsx b/src/app/dashboard/faculty/profile/page.tsx index f13ee0a..e4b4178 100644 --- a/src/app/dashboard/faculty/profile/page.tsx +++ b/src/app/dashboard/faculty/profile/page.tsx @@ -6,6 +6,9 @@ import { useRouter } from 'next/navigation'; import { facultyDashboardService } from '@/services/facultyDashboardService'; import toast, { Toaster } from 'react-hot-toast'; +// --- NEW IMPORT --- +import StatusMapManager from '@/components/dashboard/StatusMapManager'; + const getUserId = () => { if (typeof window !== "undefined") { const userStr = localStorage.getItem("user"); @@ -196,6 +199,8 @@ export default function FacultyProfilePage() {
Loading Faculty...
} + {loading &&{fac.department} Dept.
- +{fac.department} Dept.
+{profileData.info.designation}
{profileData.info.department}
- {/* Tags (Qualifications) */} + {/* STATUS BADGE */} +Cabin Location
- {profileData.info.cabin_block || ""} {profileData.info.cabin_floor ? `, Floor ${profileData.info.cabin_floor}` : ""} {profileData.info.cabin_number || ""} + {profileData.info.cabin_block || "AB2"} {profileData.info.cabin_floor ? `, Floor ${profileData.info.cabin_floor}` : ", Floor 2"} {profileData.info.cabin_number || "205"}
No current openings.
} - {profileData.openings.map(op => ( + {(profileData.openings || []).length === 0 &&No current openings.
} + {(profileData.openings || []).map((op: any) => ({op.type}
{work.title}
-({work.type})
-Loading Profile...
-Loading Profile...
Help your peers by verifying the status.
+Select date & time to check availability.
+ setFutureDate(e.target.value)} + className="w-full bg-gray-50 border border-gray-200 rounded-xl p-3 text-xs font-bold mb-4 outline-none focus:border-[#8C1515]" + /> +{faculty.designation}
-{faculty.department}
+Professor
-- {faculty.bio} -
+ {location.cabin_code && ( +- - {op.type} -
- -Directions
++ {location.directions || "No specific directions available."} +
Help your peers by verifying the status.
+Discover professors & research leads