diff --git a/apps/web/app/orgs/[orgslug]/(withmenu)/course/[courseuuid]/activity/[activityid]/activity.tsx b/apps/web/app/orgs/[orgslug]/(withmenu)/course/[courseuuid]/activity/[activityid]/activity.tsx index 505b9e82..b899fab3 100644 --- a/apps/web/app/orgs/[orgslug]/(withmenu)/course/[courseuuid]/activity/[activityid]/activity.tsx +++ b/apps/web/app/orgs/[orgslug]/(withmenu)/course/[courseuuid]/activity/[activityid]/activity.tsx @@ -284,56 +284,9 @@ function ActivityClient(props: ActivityClientProps) { >
-
- setIsFocusMode(false)} - className="bg-white nice-shadow p-2 rounded-full cursor-pointer hover:bg-gray-50" - title="Exit focus mode" - > - - - -
- - {/* Center Course Info */} + {/* Progress Indicator - Moved to left */} -
- - - -
-
-

Course

-

- {course.name} -

-
-
- - {/* Progress Indicator */} - run.course_id === course.id)?.steps?.filter((step: any) => step.complete)?.length || 0} of {course.chapters?.reduce((acc: number, chapter: any) => acc + chapter.activities.length, 0) || 0}
+ + {/* Center Course Info */} + +
+ + + +
+
+

Course

+

+ {course.name} +

+
+
+ + {/* Minimize and Chapters - Moved to right */} + + + setIsFocusMode(false)} + className="bg-white nice-shadow p-2 rounded-full cursor-pointer hover:bg-gray-50" + title="Exit focus mode" + > + + +
@@ -537,18 +543,6 @@ function ActivityClient(props: ActivityClientProps) {
- -

Chapter : {getChapterNameByActivityId(course, activity.id)} @@ -564,6 +558,11 @@ function ActivityClient(props: ActivityClientProps) { {activity.activity_type != 'TYPE_ASSIGNMENT' && ( <> + {contributorStatus === 'ACTIVE' && activity.activity_type == 'TYPE_DYNAMIC' && ( ) : ( -

+
+ {activityContent}
)} diff --git a/apps/web/components/Pages/Activity/ActivityChapterDropdown.tsx b/apps/web/components/Pages/Activity/ActivityChapterDropdown.tsx index 5c186634..fd4e21bd 100644 --- a/apps/web/components/Pages/Activity/ActivityChapterDropdown.tsx +++ b/apps/web/components/Pages/Activity/ActivityChapterDropdown.tsx @@ -68,11 +68,12 @@ export default function ActivityChapterDropdown(props: ActivityChapterDropdownPr
{isOpen && (