Rebuilding a booking site from scratch
A cleaning service’s booking site that earns trust and gets every payment right
- Role
- Design and engineering, solo
- Timeline
- Sept to Nov 2026, ongoing
- Stack
- Next.js 16, Postgres, Prisma, Auth.js, Stripe, Tailwind
- Status
- On preview deploys, not yet launched
Scrub-A-Tub is a home cleaning service in the Toronto area. Its website has two jobs. It has to make a stranger trust the business enough to let it into their home, and it has to take a booking and a payment without ever getting either one wrong.
I rebuilt it from an empty folder, replacing a first version that worked most of the time. What follows is why the new one works: the design choices that build trust, and the engineering choices that protect the business’s money and its customers.
Show the proof before making the claim
The first thing a visitor sees is five before-and-after photos of real jobs the business has done, circling a spray-bottle mascot. Scrolling cleans them. Stock photos tell you this is a cleaning company. Real photos tell you this one does good work, before you’ve read a word.
The motion borrows physics people already know. The ring slows as each photo reaches the front, the way a person pauses to show you something, and speeds up between them, because a constant speed felt mechanical. You can grab it and throw it. It coasts, slows down as if under friction, and settles on the nearest photo without ever swinging back. Its top speed is capped so it can never flicker.
The mascot reacts too. Pull the ring back for a big throw and it braces. Spin it hard and it gets dizzy. None of that sells a cleaning, but it’s what people remember and show each other, and a small business needs to be remembered.
A calm page reads as a careful business
A visitor can’t inspect the cleaning before they book, so they judge the website instead. Every visual choice was made to make the page feel calm, current, and looked after.
- One typeface. Figtree is round and geometric, so it feels friendly, and it stays clear at small sizes. Headings use the same face, heavier and tighter, so the page speaks in one voice.
- Space that scales. Margins and gaps grow smoothly with the screen instead of jumping at set widths, and the text lines up on the same edge everywhere. Generous space reads as confidence. On phones I tightened it again, because too much space turned sections into islands.
- Quiet, then loud. Sections take turns being quiet and bold, and each one catches the eye with one device no other section uses. When every section looks the same, a page blurs together. There is only ever one orange booking button on screen, so the main action never competes with itself.
- Shade instead of lines. The site has no borders. Layers are told apart by translucent shades that work on any background, so the page has fewer lines and feels calmer. The catch is that a shaded form field is almost invisible to someone with low vision, so every field has a line along its bottom edge that meets accessibility contrast standards. The style gives way to accessibility, never the other way round.
- Motion that means something. Sections settle into place on a single easing curve, and buttons press in slightly when you tap them. Cards that aren’t links don’t lift on hover, because a lift promises a click. Keyboard focus rings appear instantly, because someone navigating by keyboard shouldn’t have to wait.
Explain with things you can touch
Below the hero, each question a customer has is answered by something they can use, not a paragraph. A small price bar follows you down the page, so the price is always one tap away, and it hides when it would cover another button. A strip of eight weeks fills in to show what “every two weeks” actually means. A map of the Toronto area, built from Statistics Canada’s postal code boundaries, lights up as you type your postal code. If the business serves it, that code carries straight into the booking form.
A form that doesn’t fight you
The booking form asks only for what a booking needs: the home, the time, and how to reach you. Extras and tips come afterwards, once the customer has already committed. The form is split into three short steps, and your answers survive a page reload.
The detail I care most about is that mistakes don’t move the page. Every field has space reserved under it for an error message, so the button you were about to tap stays where it was. An automated test measures that button’s position before and after a failed submit to prove it.
The price you see is the price you pay
The old site charged for every room and then took the included rooms off with a discount code. That kind of hidden discount can quietly apply to things it was never meant for. Now three rooms are included and each extra room is its own line at a flat price, so there’s nothing hidden to go wrong.
The server works out the price of every booking and never trusts a number sent from the browser. The same piece of code produces both the total saved on the booking and the lines sent to Stripe, so the two can’t disagree. And before a price list goes live, every price is checked against Stripe, and the update is refused if one is missing or doesn’t match. For the business, that means no awkward refunds and no customers charged something they didn’t agree to.
Nothing happens twice
People double-click. Phones lose signal and retry. Stripe sometimes sends the same payment notice twice, or out of order. None of this can create a second booking, a second charge, or a second email.
Those guarantees are enforced by the database itself, not just by careful code. Each booking carries a unique key, so a repeat submit gets the original booking back. Every payment notice is recorded before it’s acted on, and acting on it twice changes nothing. A confirmation email is saved together with the booking it confirms, so an email exists only if the booking does. The tests run against a real database, because those rules are the design, and a fake database would test nothing.
No account wall, and no security hole
The old site made you register before you could book. Removing that is an obvious win for customers, but it creates a risk: if a booking is tied only to a typed email, anyone could sign up with your email and see your bookings.
So each booking gets two links. The one shown in the browser opens that booking only. The one sent by email also proves you own the address, and opening it quietly creates an account for you without a password. Nobody has to sign up, and signing up with someone else’s email shows you nothing.
Built for every visitor
- Every animation has three versions. Full motion, a gentler version for people who turn motion down on their device, and a version that works with no JavaScript at all. Each was designed on purpose, not left to break.
- Fast on a phone. A performance pass cut the home page’s script by 14% and stopped the booking page from jumping as it loads on a phone.
- Dark mode. The site follows the device’s setting, with a switch to override it.
- Customer data stays in-house. Analytics and error tracking run on the site’s own database, with no third-party scripts. Address suggestions go through my own server, so no outside company sees what customers type. Location data was stripped from the photos, because the originals recorded where customers live.
- Nothing unconfirmed goes live. Reviews, stats, and service areas the business hasn’t confirmed yet are marked as such. They show up outlined during development and are left out of the live site automatically.
What this means for your project
Every decision on this project is written down: why it was made, what it cost, what else was considered, and where to change it. When I changed my mind, the old decision stays in the log with what replaced it. Whoever works on the site next, you included, can see why it is the way it is.
The site isn’t live yet, so I don’t have conversion numbers, and I’d rather say that than suggest some. Recurring payments are waiting on the business’s Stripe setup, and the reviews are placeholders until the business sends real ones. What’s finished is the part that’s hardest to retrofit: a site that earns its customers’ trust and gets every payment right.
