@@ -378,7 +378,19 @@ const courses = [
378378 courseLink : 'https://ineuron.ai/course/full-stack-data-science-bootcamp-20' ,
379379 shareLink : '#fullstackdatascience' ,
380380 } ,
381- // Add more courses similarly...
381+ // Web Development by Sheryians
382+ {
383+ platform : 'Sheryians' ,
384+ title : 'Frontend Domination' ,
385+ instructor : 'Harsh & Sarthak Sharma' ,
386+ duration : '64 hours' ,
387+ level : 'Intermediate' ,
388+ domain : [ 'Web Development' , 'Animation' , 'Frontend' , 'Paid' ] ,
389+ poster : '/assets/Courses/FrontEndDomination.jpg' ,
390+ courseLink : 'https://www.sheryians.com/courses/courses-details/Front-End%20Domination:%20Create%20Anything%20with%20Code' ,
391+ shareLink : '#sheryians-frontend' ,
392+ } ,
393+
382394] ;
383395
384396const StyledCoursesCard = styled . div `
@@ -623,7 +635,6 @@ const CoursesList = () => {
623635 . map ( ( { sortKey, ...item } ) => item ) ;
624636 } ;
625637
626- // Shuffle courses on component mount and every 5 seconds if no filter is active
627638 useEffect ( ( ) => {
628639 if ( ! platformFilter && ! instructorFilter && ! domainFilter && ! skillFilter ) {
629640 setShuffledCourses ( shuffleArray ( courses ) ) ;
@@ -632,10 +643,8 @@ const CoursesList = () => {
632643 setShuffledCourses ( shuffleArray ( courses ) ) ;
633644 } , 9000 ) ;
634645
635- // Cleanup interval on component unmount
636646 return ( ) => clearInterval ( interval ) ;
637647 } else {
638- // If a filter is active, show the original filtered courses
639648 setShuffledCourses ( courses ) ;
640649 }
641650 } , [ platformFilter , instructorFilter , domainFilter , skillFilter ] ) ;
0 commit comments