Sami Bentaleb
All work

IC Personal Training

A bilingual site for a one-to-one personal trainer in Lausanne and Geneva, with a contact form that writes to the trainer's Google Sheet.

Stack
Next.js, TypeScript, Tailwind, next-intl
The home page: the headline 'I coach one person at a time', a short introduction, a Book a consultation button and a portrait of the trainer.
The homepage and studio identity.

The problem

The trainer's site had been left as an unfinished blog template, with placeholder text, a suspended-site block in the layout and a blog and CMS layer on what is a two-page site. Its visitors are busy professionals in Lausanne and Geneva, many of them English-speaking expats, who judge a coach in one visit on a phone. The site had to show the services and prices and get them to book a first consultation, in English and in French.

Plans and prices, in English.

My part

Design and build. I started the site in October 2024 and rebuilt it in November 2026 with a new design, current framework versions, a hardened contact form, and the blog and CMS removed.

The four areas a program draws on.

Architecture

A Next.js app with two pages per language: Home and About. English is at the root and French under /fr, through next-intl, and switching language keeps the section the visitor was on. Every string is in the message files.

There is no database. The contact form is checked in the browser and again on the server, then appended as a row to the trainer's Google Sheet through SheetDB. Upstash Redis holds only the rate limit. The two gym locations are lazy-loaded OpenStreetMap embeds that need no API key. Analytics is a pinned copy of the Umami script served from the site itself. Animation is CSS only, and the site deploys to Vercel.

The French version, at /fr.

Hard parts

A form open to the internet with no backend of its own. Messages go straight into a Google Sheet, so a flood would fill the owner's sheet. The form allows four messages per address per day, and when Redis is unreachable it refuses the message instead of letting the flood through. Names made only of invisible characters are rejected, by the same rules in the browser and on the server.

Two languages kept equal. French is a full translation. A test fails if the English and French message files have different keys, and another fails if a heading speaks as 'we', since the site is one coach speaking in the first person.

Weight on a phone. The map embeds load when they scroll into view, the About video loads only when played, and the form's validation code and the analytics script load after the page settles.

The consultation form, unfilled.

Outcome

The site is live at icpersonaltraining.com in English and French. Visitors reach the trainer through the form, WhatsApp, phone or email. I have no booking or visit numbers for it, so I make no claim about results.