Skip to Content
Urban Cowboy
Components

Journey Rooms

Room results view with index and photo-spread layouts driven by a match profile.

PhotoRooms presents the rooms available for a stay. With studioCatalog it renders the deterministic studio catalogue; the profile can bias ordering and copy. Selecting a room in the docs only updates a local status message — no reservation is created.

null
boolean

Former Storybook states

PhotoSpreads disables the studio index, and WithPreferences supplies a romance profile.

null
boolean
boolean

Props

PropValuesNotes
profileMatchProfile or nullDrives recommendation copy and ordering
roomsShapedRoom[]Empty in docs; studio catalogue is used
studioCatalogbooleanSelects the index view over photo spreads
imageBaseUrl / galleriesstring / mapPhoto URL prefix and optional CMS galleries
guests / childrennumberOccupancy context
onChoose, onEditJournal, onChangeDatescallbacksRecorded locally in docs

Responsive behaviour

The index is a responsive grid of room cards; photo spreads become a single-column story on phones. Controls stay reachable at every breakpoint and the wrapper introduces no horizontal scrolling.

Usage

import { PhotoRooms } from '@/journey/PhotoRooms';

<PhotoRooms {...roomsState} imageBaseUrl={basePath} onChoose={chooseRoom} />

View source