MLSAKIIT/devblogs-frontend
Update nav bar to display either login or create blog button based on user authentication
開放
#16 建立於 2024年10月14日
authenticationfeaturehacktoberfest
倉庫指標
- 星標
- (9 顆星)
- PR 合併指標
- (PR 指標待抓取)
描述
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