cms icon indicating copy to clipboard operation
cms copied to clipboard

bug: Incorrect Redirect for "MLOps by Ayush" Course on Homepage

Open Mallik0 opened this issue 11 months ago • 2 comments

Describe the bug When attempting to access the "MLOps Cohort by Ayush" and "Android Cohort by Harnoor" course from the homepage, the page redirects to the classx website instead of the specific course page. This issue prevents users from directly accessing the intended course. The routing should be updated to correctly link to the course page instead of an external site.

To Reproduce Steps to reproduce the behavior:

  1. Go to the homepage of the platform.
  2. Locate and click on the "MLOps Cohort by Ayush" or "Android Cohort by Harnoor" course link.
  3. Observe that instead of opening the course page, the site redirects to the classx website.

Expected behavior Clicking on the "MLOps Cohort by Ayush" or "Android Cohort by Harnoor" course link should redirect users to the correct course page instead of an external website.

Screenshots or GIFs https://drive.google.com/drive/folders/1ERiun8tiSNOo-qqL2ZkiwxGLuO8PX9-v?usp=sharing

Mallik0 avatar Jan 26 '25 07:01 Mallik0

kindly assign me this issue

Mallik0 avatar Jan 26 '25 07:01 Mallik0

Try navigating to the route https://app.100xdevs.com/courses/6, this takes you to MLOps Cohort by Ayush and there is no video content. That's why mabe it is blocked temporarily.

This is the code that redirects to classx

components/Courses.tsx

<CourseCard key={course.id} course={course} onClick={() => { if ( course.title.includes('Machine Learning') || course.title.includes('Harnoor') ) { router.push('https://harkirat.classx.co.in/'); } else { router.push(/courses/${course.id}); } }} />

Those courses are blocked maybe because of someother issue.

Anirudh808 avatar Jan 28 '25 12:01 Anirudh808