How rselva1202/aurelia-hotel works
Aurelia Hotel is a demo boutique-resort marketing site, not a booking portal. A visitor enters the React single-page experience, explores the resort’s hero and editorial sections, then can use the enquiry/contact paths to reach the hotel via WhatsApp. The graph preserves the documented rooms, amenities, dining, gallery/lightbox, reviews, location, FAQ and contact branches. Relationships are limited to the App composition and sampled calls; several component behaviors are documented but their source was not sampled.
Main entry points: App.jsx Page composition · siteConfig.js Site content config · Gallery.jsx Gallery · Booking.jsx Booking enquiry form
Components 23
Page experience
- Page composition
src/App.jsx - Loading curtain
src/components/LoadingCurtain.jsx - Navigation
src/components/Navbar.jsx - Scroll-driven hero
src/components/Hero.jsx - Footer and preferences
src/components/Footer.jsx
Resort content
- About resort
src/components/About.jsx - Rooms
src/components/Rooms.jsx - Amenities
src/components/Amenities.jsx - Dining
src/components/Dining.jsx - Gallery
src/components/Gallery.jsx - Gallery lightbox
src/components/Gallery.jsx - Guest reviews
src/components/Reviews.jsx - Location
src/components/Location.jsx - FAQ
src/components/FAQ.jsx
Enquiry and contact
- Booking enquiry form
src/components/Booking.jsx - Contact details
src/components/Contact.jsx - WhatsApp contact
src/components/FloatingWhatsApp.jsx
Shared runtime
- React mount
src/main.jsx - Site content config
src/data/siteConfig.js - Smooth scroll
src/hooks/useLenis.js - Scroll reveal
src/hooks/useScrollReveal.js
Other components
- Visitor
Connections 30
- Visitor → React mount: opens site
README.md - React mount → Page composition: renders
src/main.jsx - Page composition → Site content config: reads settings
src/App.jsx - Page composition → Loading curtain: renders
src/App.jsx - Page composition → Navigation: renders
src/App.jsx - Page composition → Scroll-driven hero: renders
src/App.jsx - Page composition → Smooth scroll: initializes
src/App.jsx - Page composition → Scroll reveal: initializes
src/App.jsx - Page composition → About resort: renders
src/App.jsx - Page composition → Rooms: renders
src/App.jsx - Page composition → Amenities: renders
README.md - Page composition → Dining: renders
src/App.jsx - Page composition → Gallery: renders
src/App.jsx - Page composition → Guest reviews: renders
src/App.jsx - Page composition → Location: renders
README.md - Page composition → FAQ: renders
README.md - Page composition → Booking enquiry form: renders
README.md - Page composition → Contact details: renders
src/App.jsx - Page composition → Footer and preferences: renders
README.md - Site content config → Rooms: provides listings
src/App.jsx - Site content config → Dining: provides details
src/App.jsx - Site content config → Gallery: provides images
src/App.jsx - Gallery → Gallery lightbox: opens
src/components/Gallery.jsx - Visitor → Booking enquiry form: submits enquiry
README.md - Booking enquiry form → WhatsApp: opens message
README.md - Visitor → WhatsApp contact: selects contact
- WhatsApp contact → WhatsApp: opens contact
- Visitor → Navigation: navigates sections
- Visitor → Gallery: browses photos
- Scroll-driven hero → Smooth scroll: uses scroll state