Skip to content

Commit c509fb2

Browse files
Add mentor Detail UI
- Added a new JSON data file for mentor details, including performance metrics and student assignments. - Created HTML templates for displaying mentor details, assigned students, and follow-up activities. - Implemented a breadcrumb navigation and header for improved user experience. - Updated CSS styles to accommodate new components and ensure consistency across the dashboard.
1 parent 4c874db commit c509fb2

15 files changed

Lines changed: 2855 additions & 10 deletions

css/simba.css

Lines changed: 381 additions & 0 deletions
Large diffs are not rendered by default.

src/_data/mentor_detail.json

Lines changed: 470 additions & 0 deletions
Large diffs are not rendered by default.

src/_data/reviews.json

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"id": 1,
44
"schedule_name": "Mathematics -> Algebra Basics",
5-
"schedule_date": "2023-08-10",
5+
"schedule_date": "10-08-2023",
66
"start_time": "09:45 AM",
77
"end_time": "11:15 AM",
88
"batch_name": "Batch A - TNPSC Morning",
@@ -12,12 +12,17 @@
1212
"rating": 5,
1313
"review_title": "Loved the session!",
1414
"review_text": "This session helped me understand algebra concepts much better. The instructor made the subject easy to grasp, and I feel more confident now.",
15-
"submitted_date": "2023-08-10"
15+
"submitted_date": "10-08-2023",
16+
"reviewer_first_name": "John",
17+
"reviewer_last_name": "Doe",
18+
"reviewer_email": "john.doe@example.com",
19+
"reviewer_avatar": "https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?ixlib=rb-4.0.3&auto=format&fit=facearea&facepad=2&w=320&h=320&q=80",
20+
"date": "10-08-2023"
1621
},
1722
{
1823
"id": 2,
1924
"schedule_name": "Physics -> Newton's Laws",
20-
"schedule_date": "2023-08-12",
25+
"schedule_date": "12-08-2023",
2126
"start_time": "10:00 AM",
2227
"end_time": "11:30 AM",
2328
"batch_name": "Batch B - Physics Evening",
@@ -27,12 +32,17 @@
2732
"rating": 4,
2833
"review_title": "Great Explanation",
2934
"review_text": "Great session. The explanation was clear and concise.",
30-
"submitted_date": "2023-08-12"
35+
"submitted_date": "12-08-2023",
36+
"reviewer_first_name": "Alice",
37+
"reviewer_last_name": "Smith",
38+
"reviewer_email": "alice.smith@example.com",
39+
"reviewer_avatar": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-4.0.3&auto=format&fit=facearea&facepad=2&w=320&h=320&q=80",
40+
"date": "12-08-2023"
3141
},
3242
{
3343
"id": 3,
3444
"schedule_name": "Chemistry -> Organic Reactions",
35-
"schedule_date": "2023-08-14",
45+
"schedule_date": "14-08-2023",
3646
"start_time": "01:00 PM",
3747
"end_time": "02:30 PM",
3848
"batch_name": "Batch C - Chemistry Afternoon",
@@ -42,12 +52,17 @@
4252
"rating": 3,
4353
"review_title": "Fast-paced but good",
4454
"review_text": "The topic was a bit too fast-paced, but overall a good session.",
45-
"submitted_date": "2023-08-14"
55+
"submitted_date": "14-08-2023",
56+
"reviewer_first_name": "Robert",
57+
"reviewer_last_name": "Johnson",
58+
"reviewer_email": "robert.j@example.com",
59+
"reviewer_avatar": "",
60+
"date": "14-08-2023"
4661
},
4762
{
4863
"id": 4,
4964
"schedule_name": "Biology -> Cell Structure",
50-
"schedule_date": "2023-08-15",
65+
"schedule_date": "15-08-2023",
5166
"start_time": "11:00 AM",
5267
"end_time": "12:30 PM",
5368
"batch_name": "Batch D - Biology Morning",
@@ -57,6 +72,11 @@
5772
"rating": 5,
5873
"review_title": "Fantastic class!",
5974
"review_text": "The teacher explained everything perfectly, and I was able to follow along without any issues.",
60-
"submitted_date": "2023-08-15"
75+
"submitted_date": "15-08-2023",
76+
"reviewer_first_name": "Emily",
77+
"reviewer_last_name": "Davis",
78+
"reviewer_email": "emily.davis@example.com",
79+
"reviewer_avatar": "https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-4.0.3&auto=format&fit=facearea&facepad=2&w=320&h=320&q=80",
80+
"date": "15-08-2023"
6181
}
6282
]

src/simba/dashboard/team_lead/includes/mentor_academic_performance_summary.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
src="{{mentor.image_url}}" alt="Avatar">
138138
<div class="grow flex items-center gap-x-1.5">
139139
<a class="text-sm font-medium text-stone-800 hover:text-green-600 decoration-2 hover:underline focus:outline-hidden focus:underline focus:text-green-600 dark:text-neutral-200 dark:hover:text-green-500 dark:focus:text-green-500"
140-
href="#">
140+
href="{{ '/simba/team-lead/mentor_detail/' | url }}">
141141
{{ mentor.name }}
142142
</a>
143143
<div class="hs-dropdown [--auto-close:inside] [--placement:right] inline-block align-middle">

src/simba/dashboard/team_lead/includes/mentor_review_performance_summary.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
src="{{mentor.image_url}}" alt="Avatar">
138138
<div class="grow flex items-center gap-x-1.5">
139139
<a class="text-sm font-medium text-stone-800 hover:text-green-600 decoration-2 hover:underline focus:outline-hidden focus:underline focus:text-green-600 dark:text-neutral-200 dark:hover:text-green-500 dark:focus:text-green-500"
140-
href="#">
140+
href="{{ '/simba/team-lead/mentor_detail/' | url }}">
141141
{{ mentor.name }}
142142
</a>
143143
<div class="hs-dropdown [--auto-close:inside] [--placement:right] inline-block align-middle">

0 commit comments

Comments
 (0)