As a user, when I click on the logout button in the nav bar, it should log me out of the application and take me back to the google login page.
Acceptance Criteria
WHEN I select logout in the navbar
THEN I should be able to logout of the application
THEN the login button should appear and my dashboard should be hidden
Developer Notes
create a function called navbarEvents that loops through the nav-link class
create a conditional that targets the id of the logout button and logs you out of firebase auth if the logout button is selected.
import function call navbarEvents in main.js
hide the dashboard and logout button when logged out
User Story
As a user, when I click on the logout button in the nav bar, it should log me out of the application and take me back to the google login page.
Acceptance Criteria
WHEN I select logout in the navbar THEN I should be able to logout of the application THEN the login button should appear and my dashboard should be hidden
Developer Notes
navbarEvents
that loops through the nav-link class