~/projects

// 01 · work

Crown Oil_

The group’s flagship site, for a UK fuel and lubricants supplier trading since 1947. A custom WordPress theme with product pages for HVO, DERV, red diesel and lubricants, a tank size calculator, and quote forms that feed the company’s CRM.

role
Lead developer
year
2019
stack
WordPress · PHP · TypeScript · Web Components · Vite · AWS · Cloudflare
category
Work

// GTmetrix, Nov 2026

96%

performance

90%

structure

626 ms

LCP

126 ms

TBT

0.04

CLS

Quote requests are verified, then saved to a database that the company’s internal CRM picks up, so they reach the sales team without anyone re-keying them.

Its calculators come from a set I built for the group, including a carbon calculator, a tank size calculator and volume converters. Each one is an HTML custom element, built once and embedded on whichever sites need it, and takes its colours from the theme of the site it’s on.

Like every site in the group, it’s a custom WordPress theme, front end and back end, built from scratch. It runs on a back-end library I wrote and share across all of the sites, which handles form submissions, phone and email verification and common utilities. Front-end assets are bundled with Vite, and the sites are hosted on AWS behind Cloudflare: I moved the whole group onto Cloudflare and tuned its caching, which made the sites far more reliable.