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