Skip to content

WIRXL

websites · web apps · side projects

wirxl.com // websites // spoke-and-chain

Spoke & Chain

[ business tool ] for sale

What it is

A website for a bike repair workshop that doesn’t exist. Spoke & Chain is a made-up business in a made-up harbour town, and the site is what a real workshop could have with its own name and prices on it. It opens with a drawing of a bike on a workshop stand that comes apart as you scroll.

Why I built it

Repair shop sites tend to list services in a table, and most people can’t tell whether their problem is “gears” or “cables”. I wanted the customer to point at the bit that’s clicking. Hover over the chain and it tells you what usually goes wrong with chains and what the job costs. One tap puts it on a job card, and the job card turns into a booking request.

How it works

The bike is one SVG with each repairable part in its own group. Every part has a vector for where it flies to, and a single number between 0 and 1 drives the lot. That number comes from the scroll position, or from the button, and each part runs a little behind the one before so they leave in order and land together. The transforms are written straight onto the SVG every frame instead of going through React, which kept it smooth. On a narrow screen there is a second layout where the parts drop onto a shadow board under the bike, like the painted outlines on a workshop tool wall.

The job card adds up labour and bench time, and if what you’ve picked is close to the price of a service that covers it, it says so. It’s the sort of thing a decent mechanic tells you at the counter.

There’s no server. All the content sits in one typed file, and the demo admin saves edits in your own browser (photos get shrunk and kept in IndexedDB), merged over that file everywhere on the site. Booking requests land in the admin’s inbox, so you can send one and watch it arrive.

What I’d change

The drawing is a road bike. A shop that mostly sees e-bikes or kids’ bikes would want its own, and right now that means redrawing the SVG by hand.

▚ stack

ReactTypeScriptViteSVGVitest

added

This one is for sale. The demo runs in your browser with made-up data, so try anything. There are two ways to have it:

  • Just for you. Your name and colours, on your own address, and it's never sold to anyone else.
  • A copy. The same, with your name and colours, for less. Other businesses can buy a copy too.

Either way I can host it and look after it for a monthly fee, or hand everything over. Ask for a price.

Try the demo Ask about buying it