MLSAKIIT/devblogs-frontend

Update nav bar to display either login or create blog button based on user authentication

Aperta

#16 aperta il 14 ott 2024

 (2 commenti) (0 reazioni) (1 assegnatario)JavaScript (20 fork)auto 404
authenticationfeaturehacktoberfest

Metriche repository

Star
 (9 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor