How sm-mayeen/roamease works
RoamEase is a client-side travel discovery and booking interface. Visitors search and filter destination packages, inspect cards or a map, view trip details, save trips, and submit booking details; the app then keeps bookings and wishlist items in React state for display in a drawer. The sampled code supports the app’s callback ownership and the booking modal’s direct contact links. Source excerpts for the map, list, and several state/data connections were not provided, so those uncertain links are omitted.
Main entry points: App.jsx App State & Views · BookingModal.jsx Booking Form · Hero.jsx Search & Filters · TourCard.jsx Tour Card
Components 16
Trip Discovery
- Search & Filters
src/components/Hero.jsx - Tour Catalog
src/data/toursData.js - Tour Card
src/components/TourCard.jsx - Tour List
src/components/TourList.jsx - Tour Map
src/components/TourMap.jsx - Trip Details
src/components/TourDetailModal.jsx
Booking & Saved Trips
- Booking Form
src/components/BookingModal.jsx - Saved & Booked
src/components/ListDrawer.jsx
App Shell
- App State & Views
src/App.jsx - React Entry
src/main.jsx - Navigation
src/components/Navbar.jsx - Footer
src/components/Footer.jsx - Custom Cursor
src/components/CustomCursor.jsx - Star Background
src/components/StarBackground.jsx
Other components
- Visitor
- Tour Coordinator
Connections 18
- Visitor → React Entry: opens app
- React Entry → App State & Views: renders
- App State & Views → Navigation: renders
- App State & Views → Search & Filters: renders
- App State & Views → Tour Card: renders
- App State & Views → Tour Map: renders
- App State & Views → Trip Details: renders
- App State & Views → Booking Form: renders
- App State & Views → Saved & Booked: renders
- App State & Views → Footer: renders
- App State & Views → Custom Cursor: renders
- App State & Views → Star Background: renders
- Search & Filters → App State & Views: updates filters
- Tour Card → App State & Views: dispatches selection
- Trip Details → App State & Views: dispatches actions
- Booking Form → App State & Views: submits booking
- Saved & Booked → App State & Views: requests removal
- Booking Form → Tour Coordinator: offers contact