Client work · Healthcare website

Ray of Hope

A website for a psychiatry clinic, with online booking, payments and a Google rating that keeps itself up to date.

Client
Ray of Hope, Bhubaneswar
Type
Website with booking
Stack
Next.js

The brief

Ray of Hope is a psychiatry clinic in Patrapada, Bhubaneswar. The clinic goes by Asha Ra Kirana, which is Odia for "ray of hope". I built its website, including a way to book and pay online.

What I built

  • The website. A multi-page site built with Next.js, with a light and dark theme.
  • Booking and payments. People pick a service, a date and a time slot, and can pay online.
  • Google review sync. The clinic's Google rating and review count show on the site and update on a schedule, so nobody has to edit them by hand.

Made to work on any phone

After the first version I audited the site and fixed what I found.

  • On a 360 pixel wide phone, the most common Android width in India, the header pushed the page sideways. I let the tagline wrap and it was gone.
  • The scrolling strip of conditions could not be paused on touch or by keyboard. It now has a pause button.
  • Booking and form choices work with a keyboard and a screen reader, and touch targets are at least 44 pixels.
  • Text colour contrast passes in both themes.

One bug I liked

The first time the review sync ran, it found a nearby college instead of the clinic, because the clinic's address mentions that college as a landmark. For a while the wrong rating was on the homepage. The fix was to stop searching by name and address and give the sync the clinic's exact Google place id.

Google listing★★★★★on a scheduleThe clinic site★★★★★nearby college (not this one)the clinic, found by its exact place id
The rating and review count on the site update without anyone editing them by hand.

Related

  • SaanjhAn AI companion I am building, with a psychiatrist's review.
  • WattSplitA small family tool, with its build story.
  • All my workCase studies and open-source builds.