As a Instructor, I want the website's navbar to provide easy navigation, So that I can quickly access different sections of the website and manage my account and courses efficiently.
Acceptance Criteria
The navbar should include links to the home page, create course page and profile page.
When logged in as an instructor a new link "courses page," will be added to the navbar.
When logged in, the navbar should also include a logout button.
Clicking on the home link should take the instructor to the main landing page of the website.
Clicking on the courses link should navigate the instructor to the page listing all available courses.
Clicking on the create course link should direct the instructor to the page for creating a new course.
Clicking on the profile link should direct the instructor to their personal profile page.
When logged in, clicking on the logout button should log the instructor out of their account and redirect them to the home page.
Ensure that the navbar is consistent across all pages of the website.
The navbar should be responsive and adapt to different screen sizes for a seamless user experience.
Tasks
[ ] Design the navbar layout to include links for home, courses, create course, profile, and a logout button.
[ ] Implement functionality to display the logout button only when the instructor is logged in.
[ ] Create routing mechanisms to ensure that clicking on each navbar link navigates the instructor to the appropriate page.
[ ] Implement logout functionality to log the instructor out of their account.
[ ] Ensure that the navbar design is consistent across all pages of the website.
[ ] Make the navbar responsive to accommodate different screen sizes and devices.
User Story
Description
As a Instructor, I want the website's navbar to provide easy navigation, So that I can quickly access different sections of the website and manage my account and courses efficiently.
Acceptance Criteria
Tasks