Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Mallik0 opened this issue Jan 26, 2025 · 2 comments
Open

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

Mallik0 opened this issue Jan 26, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Mallik0
Copy link

Mallik0 commented Jan 26, 2025

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 Mallik0 added the bug Something isn't working label Jan 26, 2025
@Mallik0
Copy link
Author

Mallik0 commented Jan 26, 2025

kindly assign me this issue

@Anirudh808
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants