MLSAKIIT/devblogs-frontend
Update nav bar to display either login or create blog button based on user authentication
Ouverte
#16 ouverte le 14 oct. 2024
authenticationfeaturehacktoberfest
Métriques du dépôt
- Stars
- (9 étoiles)
- Métriques de merge PR
- (Métriques PR en attente)
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