Skip to Content
Urban Cowboy
Components

Stay Journal

Preference questionnaire that scores the studio room catalogue for a stay.

PhotoJournal asks about occasion, party, must-haves, quiet and budget, then ranks the rooms it is given. The docs fixture is the deterministic studio catalogue — never live Mews inventory — and completing the journal only updates a local status message.

number
number
null

Former Storybook states

Family and WithPreferences are shown below; the latter starts from a pre-filled romance profile.

number
number
null
number
number

Props

PropValuesNotes
adults / childrennumberParty composition carried into scoring
roomsShapedRoom[]Studio fixture in docs
imageBaseUrlstringPrefix used to build room photo URLs
galleriesCMS gallery mapEmpty in docs; editorial images are used
initialMatchProfile or nullPre-fill the questionnaire
onDone / onSkipcallbacksRecorded locally in docs

Responsive behaviour

Question cards stack on phones and form a grid at wider breakpoints. The catalogue preview uses the same image sizing as the real journey, so a narrow viewport never clips a card.

Usage

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

<PhotoJournal
  adults={2}
  children={0}
  rooms={studioRooms}
  imageBaseUrl={basePath}
  galleries={{}}
  onDone={saveProfile}
  onSkip={skip}
/>

View source