MLSAKIIT/devblogs-frontend
Update nav bar to display either login or create blog button based on user authentication
Open
#16 opened on Oct 14, 2024
authenticationfeaturehacktoberfest
Repository metrics
- Stars
- (9 stars)
- PR merge metrics
- (PR metrics pending)
Description
Modify the Navbar component to show either a login or create blog button based on user authentication status. Check the token stored in local storage/cookies to determine the user's state.
Reference: Route Protection Guide