TeacherCoursesRoutes component.
This component is responsible for defining the routes for the teacher's courses section of the application.
It includes routes for the courses view, course detail, course modify, course statistics, course attendances, course creation, and the main view.
Each route is associated with a specific component that will be rendered when the route is accessed.
The '*' route is a catch-all route that will render the TeacherMainView component if no other routes match.
TeacherCoursesRoutes component. This component is responsible for defining the routes for the teacher's courses section of the application. It includes routes for the courses view, course detail, course modify, course statistics, course attendances, course creation, and the main view. Each route is associated with a specific component that will be rendered when the route is accessed. The '*' route is a catch-all route that will render the TeacherMainView component if no other routes match.