Case Studies

Virgin Atlantic
& Holidays

A transformation and replatforming project bringing together twelve fractured and disparate applications under a new, unified, headless architecture using React and Next.js.

Screenshot of the Virgin Atlantic & Holidays website; part of John Kavanagh's selected project work.

In Brief

Virgin Atlantic, alongside its sister company Virgin Holidays, is one of the most successful longhaul operators in the UK and has long been synonymous with innovation and highquality service within the travel industry. Due to the Covid19 outbreak, Virgin Holidays was brought back inhouse with the airline and rebranded as 'Virgin Atlantic Holidays'. This presented the opportunity to amalgamate its different online platforms under a unified, groundup rebuild of their tech stack, alongside a new look and feel.

My Role

I joined Virgin Atlantic & Holidays as a consultant lead engineer. My teams and I were responsible for a number of different aspects within the company's extensive transformation and replatforming projects, including the phased movement of their various online properties to a unified React architecture, often using Next.js. Simultaneously, we supported the company's rebranding efforts, contributing to a refreshed and unified online appearance by developing a shared Design System and Component Library.

Technologies

virginatlantic.com
  1. Preact & React
  2. SCSS & Less
  3. Storybook
  4. Next.js
  5. AEM
Photograph of the tail of an Airbus A350 passenger jet, inside the hangar. The plane's tail is painted in bold red with the 'Virgin' logo across it.

In Detail

Like every airline, Virgin Atlantic felt the impact of Covid19 and had to recover as travel demand returned. Part of that recovery involved moving fragmented online journeys onto a shared platform, with the aim of reducing operating costs while increasing sales.

This presented a unique challenge: consolidating twelve fragmented digital applications onto a new unified, cohesive, headless architecture using a new Design System and shared Component Library using Storybook and React. This ensured that development and maintenance costs would reduce with time, whilst user experiences and online performance would improve, leading to higher sales.

I was brought on as a lead consultant engineer to help deliver the replatform, using React, Next.js, and shared front end architecture across Virgin Atlantic and Virgin Atlantic Holidays customer journeys.

At the heart of this strategy was the adoption of a headless architecture, shared Design System, and Component Library, addressing the lack of visual consistency across the existing online properties. React and Next.js allowed each property to be worked on and released as a standalone concern while still fitting into the wider Digital First programme.

The phased movement of the brand's various online properties to this new architecture was no small feat, taking more than two years to be implemented fully. It involved detailed planning, coordination across multiple teams and stakeholders, and an understanding of both the internal technical landscape and the brand's strategic vision.

My role covered the technical implementation and the delivery decisions around it: making sure the migration supported the company's broader goals, improved user engagement, and made customer journeys more consistent across the new platform.

By bringing disparate and outdated applications under a single framework, we improved delivery consistency and front end performance while giving users a more coherent journey. Stakeholder feedback has been positive, with an uplift in online searches and bookings.

The shared platform now gives Virgin Atlantic and Virgin Atlantic Holidays a clearer base for future releases. New customerfacing features can be built against the same architecture, design system, and component library instead of extending separate legacy applications.

A New Header and Navigation

An early improvement made to the Virgin Atlantic and Virgin Atlantic Holidays websites was the introduction of a new Header, Navigation, and Footer. This was one of my first key projects, developed as a standalone React/Next.js project, which was then included in each website using ESI.

This is a highly animated, accessible, responsive, and contentdriven navigation system that folds out from the righthand side of the screen. It allows complete content control via AEM and includes brandspecific theming for each website use.

Design System & Storybook

Working closely with Virgin's design team, we developed a comprehensive set of standardised, reusable, and accessible React components that can be imported and used across the different brands and applications under the Virgin Atlantic umbrella.

Including thorough test coverage with Cypress, this Component Library includes basic Atoms as simple as Typography and Icons, up to complete Layouts and a configurable Carousel.

An All‑New Search Experience

Another feature my team and I developed, which will eventually be rolled out onto both the Virgin Atlantic and Virgin Atlantic Holidays websites (at present, it only appears on the new Holidays and Atlantic homepages), is the allnew search experience.

As with the header and footer, this is a standalone React application which can be brought into different brand properties via ESI. This features an interactive, animated, and accessible search panel covering flights, hotels, and complete holiday packages.

Current user statistics indicate that this version of the search panel is being used approximately 80% more than the previous version, resulting in significantly more bookings.

Search Results: New vs. Old

After completing the new search experience, my team then shifted focus to the flight search results application for Virgin Atlantic.

The original version had often faced criticism for having a cluttered interface, being unintuitive, and difficult to navigate. It was also perceived to be slow and clunky, running on an application and architecture that was more than seven years old.

We developed and deployed 'Version 3.0' of Flight Results, a groundup replatforming of the application in Next.js, with an allnew GraphQL API infrastructure. This overhaul also allowed us to improve the UI with a familiar yet significantly faster and more stable interface. The simplified design now caters to users' needs, enhancing both their experience and usability.

A desktop-sized screenshot of the original Virgin Atlantic search results screen, showing results for a search between London Heathrow and Atlanta. Here, we see a busy and complicated UI and the old 'five card' layout.A screenshot of the new '3.0' version of Virgin Atlantic's search results screen. In comparison to the legacy version, this presents a much simpler and more intuitive set of results to the user.

During load testing, our new architecture performed extremely well, continuing to respond well past 400 visitors per second a tenfold improvement over the previous version. Moving filtering and sorting to the client side also resulted in a quicker, more seamless user experience, providing instantaneous results to our users and replacing the need for an additional backend call and loading spinner.

Virgin Atlantic Holidays: Old vs. New

The work that my team and I undertook over the previous year culminated in the staggered launch of a new homepage for Virgin Atlantic Holidays. This is an allnew Next.js application that we had developed, including new branding, alongside the Header, Navigation, Footer, and Search components. Page content comes from AEM, using our Component Library.

A screenshot of the original version of the Virgin Atlantic Holidays website homepage, in desktop size. This demonstrates how significant the visual changes and rebuild project was.Screenshot of the Virgin Atlantic Holidays website homepage, in desktop size. Showing the entirely new look and feel following our work to rebuild and replatform the website.
A screenshot of the previous version of the Virgin Atlantic Holidays homepage at mobile device screen size. This helps to demonstrate how significant the change our project has produced has been.A screenshot of the new Virgin Atlantic Holidays homepage at a mobile device screen size. This shows the result of the project: a complete rebuild and replatform with an all-new look-and-feel.

Want to discuss
a similar project?

If your team needs senior engineering support across architecture, implementation, performance, migration, or search visibility, get in touch.