How aditya9-2/airbnb-clone works
This is a Next.js Airbnb-style listing-page replica. The user-facing flow is to view a property’s photos and details, inspect amenities, reviews, location, host information and nearby stays, then use the booking card and calendar interface. The listing root coordinates these sections; review content is backed by local typed data rather than a shown remote service. The README is a generic Next.js starter and documents no additional product capabilities. Several section implementations and the page entry point were not sampled, so their internal wiring is omitted where it cannot be confirmed.
Main entry points: ListingClientRoot.tsx Listing root · page.tsx App page · ReviewsSection.tsx Reviews section · ListingNavbar.tsx Listing navigation
Components 18
Page entry
- App page
app/page.tsx
Listing experience
- Listing root
components/listing/ListingClientRoot.tsx - Listing navigation
components/layout/ListingNavbar.tsx - Booking card
components/listing/BookingCard.tsx - Booking calendar
components/listing/StaticBookingCalendar.tsx - Toast feedback
hooks/useToast.tsx
Listing details
- Photo tour
components/listing/phototour/PhotoTourModal.tsx - Amenities
components/listing/AmenitiesSection.tsx - Reviews section
components/listing/reviews/ReviewsSection.tsx - Location section
components/listing/LocationSection.tsx - Host section
components/listing/host/MeetYourHostSection.tsx - Nearby stays
components/listing/NearbyStaysCarousel.tsx
Local content
- Listing data
lib/data/listing.ts - Amenity data
lib/data/amenities.ts - Review data
lib/data/reviews.ts - Nearby stay data
lib/data/nearbyStays.ts - Photo tour data
lib/data/photoTour.ts
Other components
- Site visitor
Connections 14
- Site visitor → App page: opens page
- App page → Listing root: renders listing
- Listing root → Listing navigation: renders
- Listing root → Booking card: renders
- Listing root → Booking calendar: renders
- Listing root → Photo tour: opens
- Listing root → Amenities: renders
- Listing root → Reviews section: renders
- Listing root → Location section: renders
- Listing root → Host section: renders
- Listing root → Nearby stays: renders
- Listing root → Toast feedback: uses
- Listing root → Listing data: receives listing
- Reviews section → Review data: reads reviews