How aldrinpm/luxury-hotels works
This is a React hotel-booking showcase: visitors explore an interactive landing scene, search and browse rooms, request a reservation, or send an inquiry. The reservation and inquiry flows are frontend-only stubs; no booking backend or persistent store is shown. The graph preserves the documented amenities and contact capabilities, plus the room catalog and date utilities. Relationships are based on the supplied excerpts and SOURCE INDEX; the landing-page document is documented as first-party content, but its internal implementation was not sampled.
Main entry points: App.tsx Page composition · SearchBar.tsx Availability search · BookingSection.tsx Booking form · rooms.ts Room catalog
Components 17
Hotel experience
- Page composition
src/App.tsx - Site header
src/components/SiteHeader.tsx - Interactive landing
src/shaders/kibori-landing-page/KiboriLandingPage.tsx - Kibori scene
public/landing-pages/kibori.html - Amenities
src/components/Amenities.tsx - Contact & inquiry
src/components/ContactSection.tsx - Site footer
src/components/SiteFooter.tsx - React entry
src/index.tsx
Room discovery
- Availability search
src/components/SearchBar.tsx - Room results
src/components/RoomsSection.tsx - Room card
src/components/RoomCard.tsx
Reservations
- Booking form
src/components/BookingSection.tsx - Booking stubs
src/lib/bookingApi.ts - Inquiry stub
src/lib/bookingApi.ts
Shared data
- Room catalog
src/data/rooms.ts - Date utilities
src/lib/dates.ts
Other components
- Visitor
Connections 22
- Visitor → Page composition: uses
README.md - React entry → Page composition: renders
src/index.tsx - Page composition → Site header: renders
src/App.tsx - Page composition → Interactive landing: renders
src/App.tsx - Interactive landing → Kibori scene: loads iframe
src/shaders/kibori-landing-page/KiboriLandingPage.tsx - Page composition → Availability search: renders
src/App.tsx - Page composition → Room results: renders
src/App.tsx - Page composition → Amenities: renders
src/App.tsx - Page composition → Booking form: renders
src/App.tsx - Page composition → Contact & inquiry: renders
src/App.tsx - Page composition → Site footer: renders
src/App.tsx - Availability search → Page composition: submits criteria
src/components/SearchBar.tsx - Room results → Room card: renders cards
src/components/RoomsSection.tsx - Room results → Room catalog: filters rooms
src/components/RoomsSection.tsx - Availability search → Room catalog: uses room types
src/components/SearchBar.tsx - Availability search → Date utilities: gets dates
src/components/SearchBar.tsx - Booking form → Booking stubs: creates booking
src/components/BookingSection.tsx - Booking form → Room catalog: selects room
src/components/BookingSection.tsx - Booking form → Date utilities: calculates nights
src/components/BookingSection.tsx - Contact & inquiry → Inquiry stub: sends inquiry
src/components/ContactSection.tsx - Booking stubs → Room catalog: looks up room
src/lib/bookingApi.ts - Booking stubs → Date utilities: calculates nights
src/lib/bookingApi.ts