Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request primarily involves changes to the course and curriculum components in the application, including renaming components, updating component imports, and modifying the paths for course-related pages. The most notable changes include renaming the
CourseInfoItem
toCourseInfo
, updating course-related paths from/curriculum
to/courses
, and adding new components for course details, curriculum, and reviews.Component renaming:
src/components/widgets/course-info/item.tsx
: RenamedCourseInfoItem
toCourseInfo
and updated the default export accordingly. [1] [2]Path updates:
src/containers/course/layout-05/index.tsx
: Updated the path in theButton
component from/curriculum/subjects
to/courses/all
.src/data/menu.ts
: Updated the path for the "Modules" menu item from/curriculum/subjects
to/courses/all
.src/lib/course.ts
: Updated the course path in thegetCourseBySlug
function from/curriculum/${realSlug}
to/courses/${realSlug}
.New components:
src/containers/course-details/curriculam-panel.tsx
: Added a newCurriculumPanel
component.src/containers/course-details/index.tsx
: Added a newCourseDetails
component.src/containers/course-details/instructor-panel.tsx
: Added a newOverviewPanel
component.src/containers/course-details/overview-panel.tsx
: Added a newOverviewPanel
component.src/containers/course-details/review-panel.tsx
: Added a newReviewPanel
component.Page updates:
src/pages/courses/[slug].tsx
: Updated the page to use the newCourseDetails
andRelatedCourseArea
components. (src/pages/courses/[slug].tsxR1-R121)src/pages/courses/all.tsx
: Updated the page to use the newCourseArea
component.