component hierarchy - Priya67/onetouchBnB GitHub Wiki
- Functional Component Hierarchy
a. App
i) NavBar
ii) MainPage
- NavBar
a. NavBar
i) Components:
- SessionButtonsContainer + SessionButtons
- Search Container
* location
* duration
* number of people
- Nav Links
-
Main Page
a. Spots
i) SpotIndexContainer + SpotIndex
- Route: /#/ - Components: * SpotIndexItem * Maps
ii) SpotShowContainer + SpotShow
- Route: /#/spots/:spotId - Components: * Images(scrollable) - Information - Booking information - Reviews - Map - Footer * Terms, policy, help
iii) User Profile
- ProfileIndexContainer * Route: /#/spot/:userId * Components: i. SpotIndexItem ii. User introduction iii. Reviews from guests iv. Housing
iv) Bookings Container
- Route: /#/bookings - Bookings - Booking Detail