Apparel Apparel Facebook Instagram Twitter Vimeo

Back to all projects

Miraval Resorts

Headless Built at Wallop

Miraval runs wellness resorts in Tucson, Austin and the Berkshires, and the activities are the product: each day is a schedule of classes, hikes and workshops that guests plan their stay around. At Wallop the team and I built the site headless, with a Next.js front end deployed per resort against a WordPress multisite, but the calendar could not come from the CMS. That data lives in the resorts’ hospitality management system, a SOAP service that was never meant to power a public website.

I built the calendar to query that service live. The front end composes the XML request in the browser, proxies it through the site to clear cross-origin restrictions, and parses the response on arrival, so availability is always current with no import step or sync job to go stale. The interesting work was reshaping the data. The feed returns a flat list of sessions, and I fold it into an hours-by-days structure that mirrors the calendar design exactly, so rendering the grid is a direct walk of the data. The visible day range adapts to the viewport, and the request asks the feed for exactly that many days. Each session carries availability and pricing, surfaced as full, limited-space and additional-fee badges.

On top of the calendar I built a wish list. Guests add activities as they browse, and the list checks every addition for schedule conflicts, warning when two choices overlap in time. In keeping with the brand, the first addition triggers a gentle reminder, authored by the client in WordPress, to leave room in the day to rest. A day-by-day view lays the chosen activities out as an itinerary guests can email to themselves before booking.

What shipped was a planning tool that made an ageing enterprise system feel current: live availability, browsed through a calendar shaped entirely by the design.

have a project in mind?

Describe it and I’ll tell you how I’d build it.