Club Citius

A new website for my running club.

Visit the site
The Club Citius homepage: the motto S’entraider. Se dépasser., a group training photo, and links to the training and a trial session.

What was the problem?

I run with a local running club. People landing on our website didn’t know who we were, and what we offered wasn’t clear. So Dany, our head coach, got a lot of questions by email. The site also ran on WordPress, had malware in the past, and its hosting renewal was expensive.

What was the idea?

Answer people’s questions on the site itself: who we are, when we train, and how to try a session. And let staff publish news and race results themselves, on something safer and cheaper than WordPress.

What did I build?

Given the malware and the hosting bill, I rebuilt the site rather than patch WordPress. Most of the content is static, so the main site is built with Astro. I set up EmDash, a CMS that runs on Cloudflare, as the blogging platform, because staff sometimes need to publish new articles or race results. To log in, staff enter their email and receive a code. Everything runs on Cloudflare, and every old article kept its address.

When someone visits: the browser loads the Astro site from a Cloudflare Worker at clubcitius.com, which reads the club content: pages and posts in D1, photos and PDFs in R2. Links go straight from the browser to AthleticsReg for sign-up and to the club’s Facebook and Strava. When staff publish: they sign in to the EmDash editor at admin.clubcitius.com with a code sent by Cloudflare Email, then publish to the same content. Cloudflare also runs the DNS and the domain.

USER’S DEVICECLOUDFLAREOUTSIDE SERVICES1reads2links, straight from the browserBrowserThe club’s pagesAstro siteclubcitius.comAthleticsRegSign-upFacebook, StravaNews, group runsClub contentD1 pages · R2 photos, PDFssigns inAsends a codeBpublishesCStaffNo codeEmDash editoradmin.clubcitius.comLogin emailCloudflare EmailCloudflare also runs the DNS and the domain

When someone visits

  1. 1The browser loads the Astro site from a Cloudflare Worker at clubcitius.com.
  2. 2The site reads the club content: pages and posts in D1, photos and PDFs in R2.
  3. Links go straight from the browser to AthleticsReg for sign-up, and to the club’s Facebook and Strava.

When staff publish

  1. AStaff sign in to the EmDash editor at admin.clubcitius.com.
  2. BCloudflare Email sends them a sign-in code. No password.
  3. CThey publish news and race results to the same club content.

What happened?

The new site went live, and it’s much faster: mobile PageSpeed performance went from 56 to 98. The homepage now says who the club is, when we train and how to try a session, and hosting went from about US $15 a month to US $5, on a Cloudflare plan that also runs my other projects.

Before and after

Before

The old Citius homepage, with its club logo and latest blog article.

PageSpeed · Mobile

Costs

About US $15 / month

Bluehost hosting.

After

The new Citius homepage, with a group training photo, the club’s motto, and links to training and a trial session.

PageSpeed · Mobile

Costs

US $5 / month

Cloudflare’s Workers Paid plan, which also sends the login emails and runs my other projects.

Say hello

Questions about this project, or hiring? Send me a note.

hello@victorc.dev