bug: Incorrect Redirect for "MLOps by Ayush" Course on Homepage
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:
- Go to the homepage of the platform.
- Locate and click on the "MLOps Cohort by Ayush" or "Android Cohort by Harnoor" course link.
- 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
kindly assign me this issue
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.