Contract work
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.
The brief
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.
Approach
Two pieces of work
-
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.
-
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.
What I did
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.
Under the hood
Drupal technical detail
Components previewed inside Drupal render through the real theme, libraries and Twig templates, so what you approve is exactly what reaches production.
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.