For: Full Stack · Stays Website

Stays website

The pages guests use, from the first search to the door code and the review.

Pages

Page Address What it does
Home / Search by destination, check-in, check-out and guests; our pick of the season; destinations; stays by type; "From booking to door code"; latest reviews
Stays /stays All stays with filters (destination, dates, guests, type, price a night, amenities) and sorting. With dates, only stays free for every night are shown, each with its total
Stay /stays/{slug} Gallery, about, amenities, good to know, house rules, seasonal prices, availability calendar, price box, reviews, more stays nearby
Book /book/{slug}?checkIn&checkOut&guests Guest details, how to pay, terms, the price night by night
Confirmation /booking/{code} Booking code as a key tag, status, dates, total, when the door code will appear
Find your booking /find-booking Code + email or phone: details, timeline, door code, cancel request, review
Destinations /destinations, /destinations/{slug} Each place with its best months and its stays
Saved /saved Stays saved with the heart button (kept in this browser)
About, Contact /about, /contact Company text, hosts, numbers; a question form that becomes an inquiry
Privacy, Terms /privacy, /terms Texts from messages/*.json

Every page exists in Arabic (/ar/...) and English (/en/...).

The calendar and the price box

The stay page loads taken nights from /api/stays/{slug}/availability and shows two months. A night is named by the date it starts; crossed-out nights are taken (booked or blocked by the team). The guest clicks a check-in night, then a check-out day. A taken night can still be chosen as the check-out day, because the next guest only arrives that afternoon.

Each free day shows its nightly price. As soon as both dates are chosen, the price box asks the server for a quote (/api/stays/{slug}/quote) and shows nights grouped by price (for example "2 nights × 55.000, Thursday and Friday"), the cleaning fee, taxes and the total. If the dates break a rule (minimum nights, too many guests, a taken night) the box says which one.

Booking

The booking form sends the dates, guests and contact details to POST /api/bookings. The server prices the stay again: the total on the screen is never sent back. The guest picks:

  • Pay now by card: off to Thawani, back to the confirmation page once paid.
  • Request to book: straight to the confirmation page; the host confirms.

See Payments and Availability and pricing.

From booking to door code

  1. The confirmation page shows the booking code (for example NZ-7KQ2-M9XD). Codes avoid look-alike characters (0/O, 1/I/L) and are unguessable.
  2. In Find your booking the guest enters the code and the email or phone they booked with. Phone numbers match in any format (+968 9123 4567, 91234567, 00968...).
  3. From the day before arrival (once the booking is confirmed), the six-digit door code appears there, with the check-in time.
  4. Before arrival the guest can ask to cancel; after the stay is completed they can leave a review (one per booking), which the team publishes.

Search engines

  • sitemap.xml lists every public page in both languages with hreflang alternates; robots.txt keeps the dashboard, booking and confirmation pages out.
  • The home page carries LodgingBusiness structured data; each stay page carries Accommodation with photos, rooms, occupancy, amenities, address and its average rating.
  • Each stay and destination page has its own title, description and Open Graph photo.