[frontend] Refactor courses views
Merge pull request #316 from Genshin/refactor_courses_views

[frontend] Refactor courses views