---
title: "Visit Wales and Trade and Invest Wales"
url: "https://8manj.co.uk/contract-work/visit-wales"
type: "Contract project"
description: "Through Box UK, for the Welsh Government's Visit Wales and Trade and Invest Wales sites: modernised the primary Drupal 8 theme and its dependencies with webpack, built a style guide inside Drupal for previewing components before release, then assessed the platform's readiness for Drupal 9."
updated: "2026-11-24T11:50:23+00:00"
---

# Visit Wales and Trade and Invest Wales

Through Box UK, for the Welsh Government's Visit Wales and Trade and Invest Wales sites: modernised the primary Drupal 8 theme and its dependencies with webpack, built a style guide inside Drupal for previewing components before release, then assessed the platform's readiness for Drupal 9.

- **Client:** Welsh Government: Visit Wales and Trade and Invest Wales
- **Contracted through:** Box UK
- **Role:** Drupal Consultant
- **Sector:** Public sector
- **Technology:** Drupal 8, Drupal 9, webpack, npm, Composer, Twig, Pattern library, Sass
- **Website:** [https://www.visitwales.com](https://www.visitwales.com)

## An ageing theme and a Drupal 9 question

Box UK runs the Welsh Government's Visit Wales and Trade and Invest Wales sites on Drupal. The primary theme and its front-end dependencies were out of date, which slowed front-end work for Drupal and non-Drupal developers alike. They also wanted to preview updates before production, and a clear view of what moving to Drupal 9 would take.

## Two pieces of work

1. **Theme modernisation and style guide** - Rebuilt the theme tooling on webpack, upgraded dependencies with Composer and npm, and created a Style Guide section in Drupal with a custom module and Twig templates.
2. **Drupal 9 readiness assessment** - Reviewed the theme, site building and content configuration for Drupal 9 compatibility, with recommendations for the back-end and DevOps teams.

## My work

### Modern build tooling

webpack-based front-end build following Drupal theming best practice.

### Dependency management

CSS libraries and JavaScript frameworks upgraded and managed with Composer and npm.

### In-Drupal style guide

Component previews and documentation built with a custom module and Twig.

## Drupal technical detail

### Why build the style guide inside Drupal?

Components previewed inside Drupal render through the real theme, libraries and Twig templates, so what you approve is exactly what reaches production.

### What does a Drupal 9 readiness assessment cover?

Deprecated API use in custom code, contrib modules without compatible releases, theme and Twig changes, and hosting requirements such as PHP version, so the upgrade can be planned and costed.

## Is your Drupal theme holding your team back?

I modernise themes and front-end tooling so changes are quick and safe again.

[Get in touch](https://8manj.co.uk/contact) · [Email me](mailto:info@8manj.co.uk)
