TeacherRoutes component.
This component is responsible for defining the routes for the teacher section of the application.
It includes routes for the main view, help videos, courses, students, attendance, and profile.
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.
TeacherRoutes component. This component is responsible for defining the routes for the teacher section of the application. It includes routes for the main view, help videos, courses, students, attendance, and profile. 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.