Homoeopathy Clinic
Euphoria Homoeo Care
Bilingual clinic site for a homoeopathy doctor, rebuilt from WordPress as a static site — practice-area pages, a blog the doctor publishes from the browser, and a booking form that records every enquiry in the clinic's sheet.
- Category
- Homoeopathy Clinic
- Role
- Solo: design and development
- Year
- 2025, rebuilt 2026
- Stack
- AstroTypeScriptTailwind CSSMDXCloudflare PagesTurnstileGoogle Apps ScriptSveltia CMS
- Live site
- euphoriahomoeocare.com

The challenge
Leaving WordPress meant two things couldn't break: links already shared to the existing posts, and the doctor's ability to publish case studies herself without touching code.
The approach
A static Astro site with posts as MDX files. Each migrated post lists its old WordPress paths, and the build turns them into Cloudflare redirects. A browser-based editor (Sveltia CMS) writes to the same files: drafts become pull requests, and publishing merges and redeploys, so the doctor keeps a writing interface with no server or database behind it.
What shipped
- A booking form as the main call to action, with every field required and specific, polite messages in both languages. Sending opens WhatsApp with the message written; in the background a Cloudflare Pages Function checks a Turnstile token, validates the fields and passes them to an Apps Script that adds a row to the clinic's private Google Sheet. If saving fails, the booking still goes through.
- Unlinked, noindex form pages: one the doctor sends to patients who message on WhatsApp first, and a doctor-only one for entering a patient's details herself. Each has its own link preview so the two can't be mixed up in a chat, and the sheet records which route every enquiry came from.
- A page for each practice area, opened from the home page's bento grid: concerns, what a consultation involves, the warning signs that need a hospital instead, and the booking form.
- Light and dark themes that follow the device until the visitor picks one, applied before first paint so there is no flash. Dark values override the same design tokens, so components carry no per-theme classes.
- English and Bengali with hreflang alternates. Visitors from West Bengal land on the Bengali version through a Cloudflare edge function; the language switcher overrides it.
- Google Analytics counts form leads and direct WhatsApp clicks, behind a consent banner that opens by itself only in the EU/EEA, UK and Switzerland; anyone can opt out from the footer.
- Static output on Cloudflare Pages' free tier. The only server code is two small Pages Functions (the region redirect and the enquiry relay); no database or paid service.
Gallery