TeacherProfile component. This component is responsible for rendering the profile of a teacher. It uses the UserContext to get the current user and displays a loading spinner until the user data is available. It also provides a button to navigate to the teacher's courses.