Skip to content
Client · Muay Thai gym · 2026

CT Leão de Judá

A website that gets people to book a first class, and a panel where the coach changes schedules, plans and photos without calling anyone.

Role
Design, development, content, SEO and launch
When
November 2026
Team
Solo, with the coach’s approval
Status
Finished and live
Visit the live site (opens in a new tab)
CT Leão de Judá home page with the coach, a lion in the background and the title Transform your body and mind
Home page on mobile with title and buttons for the free class and plans
Morning and evening classes on mobile, with weekdays
01. Context

A Gym That Relied on Word of Mouth

20 guides lead to schedules and prices; a phone opens WhatsApp to book a free class. The coach edits and publishes from the panel.
From finding a first class to giving the coach control.

CT Leão de Judá teaches Muay Thai in Pirituba, in the north of São Paulo. People who knew the coach came by referral. Anyone searching Google for a class nearby had no page with schedules, prices and an easy way to book.

The request began as a website and grew. Schedules change, plans change, every grading brings new photos, and the coach could not depend on a developer for each update. Monthly fees also needed a home of their own.

The challenge

Build a good-looking, fast website that answers people searching for classes in the area, along with a panel simple enough to use on a phone between training sessions.

02. Decisions

The Choices Behind It

  1. 01

    First Class in One Tap

    The “Book a free class” button follows visitors across the site. On mobile it stays at the bottom and opens WhatsApp with the message ready.

  2. 02

    A Guide Instead of Repeated Pages

    The Lion’s Guide has 20 texts, one per question: what a class is like, what to bring, Muay Thai or boxing, personal training nearby. They link to each other and lead to schedules and prices.

  3. 03

    The Content Belongs to the Coach

    Schedules, plans, notices, texts, photos and gradings are edited in the panel, with a preview alongside. Nothing reaches the site before publishing, and earlier versions can be restored.

  4. 04

    The Site Does Not Fall with the Database

    Every block has default content in the code. If the database is down, pages still open with the last known base.

  5. 05

    Where Each Contact Came from

    The form stores the source: Google search, Instagram, the map profile, WhatsApp or an AI assistant. The coach sees what brings students in.

  6. 06

    Fees Calculated, Not Typed

    Paid, open or overdue comes from a calculation over recorded payments. Nobody has to remember to change a student’s status when the month turns.

03. On mobile

On Mobile

It is how most people look for a gym: schedules, plans and guides fit under the thumb, with the free class always at hand.

  1. 01 Home. The free class right on the first screen.

  2. 02 Why train. The booking button stays at the bottom.

  3. 03 Schedules. Stars mark the trial class days.

  4. 04 Plans. One plan at a time, with the button at hand.

  5. 05 Guide. The guides with search and filters on a small screen.

  6. 06 A guide. The summary answers where, when and how much before the text.

  7. 07 Contact. The form starts with the subject and stores where the contact came from.

04. On desktop

The Site

The pages students see. The coach’s panel stays out: the gym’s internal screens are not public.

Home. Above the fold: the promise, the free class and the location.
Why train. Real training photos instead of stock images.
Lion’s Guide. The 20 guides, with search, topic filters and three reading modes.
Inside a guide. An index that follows the reading, with the free class always alongside.
Schedules. Classes and trial days, edited by the coach.
Plans. Prices in plain sight, no message needed.

* Production screenshots of the site. Interface in Portuguese.

05. Engineering

Under the Hood

A gym website looks simple. The care goes into being fast, staying up, treating student data well and keeping the owner in control.

Stack

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS
  • PostgreSQL
  • Zod
  • Motion
  • MinIO
  • Cloudflare
  • Docker
  • Azure DevOps
49 tests, content checks, server-side data validation, student data kept in the panel and Azure DevOps delivery with a health check.
Five safeguards for releases and student data.

Safeguards

  • Data validated on the server, with messages in plain language
  • Content security policy (CSP), HSTS and the other security headers on every page
  • No Google script loads before cookies are accepted
  • Panel kept out of search engines, with a record of who changed what
  • Student data stays in the panel and never enters public pages
  • Database migrations applied at startup, with a lock so they never run twice

Tests and Quality

  • node:test
  • TypeScript
  • Lighthouse
  • 49 tests with Node’s own runner: fees, schedules, notices, Pix payments, contact source, guides and emails
  • Content checked before every build: a wrong link, image or text length stops the release
  • Lighthouse in production, on November 24, 2026: 99 desktop performance and 100 in accessibility, best practices and SEO on both screens
06. Inside the code

What You Would Find in the Repository

A one-person project with the practices of a system that holds real people’s data. The code is private; below is what it holds and where.

Architecture

  • Content with a safety net

    content/obter.ts

    What the coach publishes comes from Postgres. Whatever is missing comes from typed content in the code, so no page is ever empty.

  • Rules outside the screen

    src/lib

    Fees, schedules, notices and Pix are pure functions, tested without a database or a browser.

  • Plain SQL

    lib/db/migracoes

    Hand-written queries and five small migrations. At this size, an ORM would add more weight than help.

Search and AI Assistants

  • Structured data

    schema.org

    Gym, questions, breadcrumb and articles described in JSON-LD.

  • Text for AI

    llms.txt · llms-full.txt

    The site publishes a summary and a full text version of its content, updated along with the panel.

  • Typed guide

    content/guia

    The 20 guides follow one format, which generates index, questions, links and sitemap.

Performance

  • Pages stored close to the reader

    Cache-Tag

    Pages live in Cloudflare’s cache and are cleared when the panel publishes. Server response stayed between 20 and 40 ms when measured.

  • Photos at the right size

    otimizar-imagens.mjs

    Images ship as AVIF and WebP, in several widths, at build time.

  • Less JavaScript on mobile

    zod out of the public bundle

    The validation library stays on the server and in the panel, out of public pages.

Delivery

  • Pipeline to production

    Azure DevOps

    Every push builds the image, publishes it and checks the site’s health before finishing.

  • Lean image

    Docker multi-stage

    Multi-stage build, with the process running without administrator rights.

  • Resource limits

    512 MB · 1 CPU

    Memory and CPU are capped, so a traffic spike does not disturb its neighbors.

07. Today

Where It Stands

The project is finished and live at ctleaodejudasp.com.br, open to search since November 24, 2026. The coach already has the panel, with traffic and search metrics inside it.

On mobile, the simulated slow-network test gave the home page 81 to 85 in performance. The large photo at the top is the next thing to lighten.

Next step

Have a Similar Project in Mind?

I like problems with real people on the other side. Tell me what you need.