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.