https://github.com/phptuts/basketballfrontend
https://github.com/phptuts/basketballfrontend
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/phptuts/basketballfrontend
- Owner: phptuts
- Created: 2023-10-30T03:49:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-31T04:48:59.000Z (over 2 years ago)
- Last Synced: 2025-01-23T01:26:43.500Z (over 1 year ago)
- Language: JavaScript
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A basketball App
## Navigation Task
- [x] Create a folder called components in the src folder.
- [x] Create a Nav Component with the shared this bootstrap Nav, put all the NavLinks into this component.
- [x] Replace the navigation in the Admin and App Component.
- [x] Have a prop in the component named isAdmin that will show a different brand text based on if it's true or false. Then pass this prop from Admin component and App Component.
- [x] Create a context for if the user is authenticated. In the Context Component use the useState hook to determine if it's true or false.
- [x] Then use that context to show and hide the Navigation based on if the user is logged in or not.
- [x] Mobile View working