-
- {menteeData.description}
+
+
+ {menteeData.description}
+
-
-
-
- {["Workshops", "Meetings", "Schedule New"].map((tab) => (
-
setActiveTab(tab)}
- className={
- "Cursor--pointer Padding-bottom--8 Margin-right--32 Text-fontSize--15 " +
- (activeTab === tab
- ? "Border-bottom--blue Text-color--gray-1000"
- : "Text-color--gray-600")
- }
- style={{
- cursor: 'pointer',
- paddingBottom: '8px',
- borderBottom: activeTab === tab ? '2px solid #0096C0' : '2px solid transparent',
- marginRight: '48px'
- }}
- >
- {tab}
-
- ))}
-
+
+
+ {["Workshops", "Meetings", "Schedule New"].map((tab) => (
+
setActiveTab(tab)}
+ className={
+ "Cursor--pointer Padding-bottom--8 Margin-right--32 Text-fontSize--15 " +
+ (activeTab === tab
+ ? "Border-bottom--blue Text-color--gray-1000"
+ : "Text-color--gray-600")
+ }
+ style={{
+ cursor: "pointer",
+ paddingBottom: "8px",
+ borderBottom:
+ activeTab === tab
+ ? "2px solid #0096C0"
+ : "2px solid transparent",
+ marginRight: "48px",
+ }}
+ >
+ {tab}
+
+ ))}
+
- {activeTab === "Workshops" && (
-
-
- Current Workshops
+ {activeTab === "Workshops" && (
+
+
+ Current Workshops
+
+
+ {menteeData.workshops.map((workshop, index) => (
+
+ ))}
+
+
+ Assign New Courses
+
-
- {menteeData.workshops.map((workshop, index) => (
-
+ )}
+
+ {activeTab === "Meetings" && (
+
+
+ Upcoming
+
+
+
- {workshop}
+ className="Margin-right--40"
+ style={{ textAlign: "center", width: "40px" }}
+ >
+
wed
+
+ 25
+
+
+
+
+ Mock Interview Session
+
+
+ Practice your interview skills with an industry
+ professional
+
+
+
+
+
{
+ navigate("/create-meeting");
+ }}>
+ Add New Meeting Notes
+
+
- ))}
+
+
+
+ Past
+
+
+
+
+
+
+ Mock Interview Session
+
+
+ Practice your interview skills with an industry
+ professional
+
+
+
+
+
+ Add New Meeting Notes
+
+
+
-
+ )}
+
+ {activeTab === "Schedule New" && (
+
+
+ Schedule A New Meeting
+
+
+
+
+
)}
+
-
>
);
diff --git a/app/src/pages/MentorDashboard.tsx b/app/src/pages/MentorDashboard.tsx
index ccb9308..09bcb6b 100644
--- a/app/src/pages/MentorDashboard.tsx
+++ b/app/src/pages/MentorDashboard.tsx
@@ -7,6 +7,11 @@ interface MenteeInformationElements {
menteeName: string;
}
+interface CourseInformationElements {
+ id: number;
+ courseName: string;
+}
+
const handleClick = (item: MenteeInformationElements) => {
console.log("Clicked:", item);
};
@@ -14,13 +19,22 @@ const handleClick = (item: MenteeInformationElements) => {
const MentorDashboard = () => {
const navigate = useNavigate();
- const gridData: MenteeInformationElements[] = [
+ const [activeTab, setActiveTab] = useState("My Mentees");
+
+ const menteeGridData: MenteeInformationElements[] = [
{
id: 1,
menteeName: "Jane Doe",
},
];
+ const courseGridData: CourseInformationElements[] = [
+ {
+ id: 1,
+ courseName: "Resume",
+ },
+ ];
+
const handleClick = (id: number) => {
navigate(`/mentor/mentee-information/`);
};
@@ -31,39 +45,116 @@ const MentorDashboard = () => {
-
- My Mentees
-
-
- Courses
-
-
-
-
- {gridData.map((item) => (
+ {["My Mentees", "Courses"].map((tab) => (
handleClick(item.id)}
+ key={tab}
+ onClick={() => setActiveTab(tab)}
+ className={
+ "Cursor--pointer Padding-bottom--8 Margin-right--32 Text-fontSize--20 " +
+ (activeTab === tab
+ ? "Border-bottom--blue Text-color--gray-1000"
+ : "Text-color--gray-600")
+ }
+ style={{
+ cursor: "pointer",
+ paddingBottom: "8px",
+ borderBottom:
+ activeTab === tab
+ ? "2px solid #0096C0"
+ : "2px solid transparent",
+ marginRight: "48px",
+ }}
>
-
-
-
- {item.menteeName}
-
-
+ {tab}
))}
+
+ {activeTab === "My Mentees" && (
+
+
+ {menteeGridData.map((item) => (
+
handleClick(item.id)}
+ >
+
+
+
+ {item.menteeName}
+
+
+
+ ))}
+
+
+ )}
+
+ {activeTab === "Courses" && (
+
+ {courseGridData.map((item) => (
+
handleClick(item.id)}
+ >
+
+
+
+ {item.courseName}
+
+
+
+ ))}
+
+ )}
-
-
- Upcoming Events!
+ {activeTab === "My Mentees" && (
+
-
+ )}
+
+ {activeTab === "Courses" && (
+
+
+ Create A New Course
+
+
+
+
+
{
+ navigate("/create-workshop");
+ }}>
+ Add New Files:
+
+
+
+ )}
>
);