All projects

Websites

Surau Umar Al-Khattab.

Raising a new surau, in the open.

Surau Umar Al-Khattab: Homepage

Overview

The official website for a new surau being built in Taman Sri Kuching, Kuala Lumpur. It shows live prayer times, explains the building project and its fundraising target, and makes it easy for the community to donate.

Who it's for

The congregation and neighbours of Taman Sri Kuching, and donors anywhere who want to help build the new surau.

What's inside

01

Live prayer times

Today's prayer times for the Kuala Lumpur zone come live from a prayer-times API based on JAKIM data, with a countdown to the next prayer and the current prayer highlighted.

Surau Umar Al-Khattab: Live prayer times
02

Building fund

The fundraising target and cost breakdown, a progress bar for what has been collected, suggested amounts and the bank details with one-tap copy. A campaign popup greets first-time visitors.

Surau Umar Al-Khattab: Building fundSurau Umar Al-Khattab: Building fund
03

Progress gallery and documents

Renders, site photos and the approved plans, with the full proposal available as a PDF.

Surau Umar Al-Khattab: Progress gallery and documents
04

Built for phones

On a phone, the donate button and the prayer-times shortcut sit right at the top, with the key facts about the site and the fund just below.

Surau Umar Al-Khattab: Built for phones on mobile

Managing content

EmDash CMS

Content is managed in EmDash, an admin that works like wp-admin, so the team updates the fund total, progress photos and announcements themselves and the change shows on the site straight away. Unlike WordPress, every plugin runs in its own sandbox, so a bad plugin can't take the site down, and there is no PHP to patch.

Built with, and why

Astro
A fast, mostly static site that works well on older phones and slow connections.
EmDash
An admin the client already knows how to use, without WordPress's plugin security problems.
Prayer times API
JAKIM-based prayer times are fetched live, so nobody has to update them by hand.
Lenis
Smooth scrolling through a long, story-style page.

Behind the scenes: The CMS holds the content, the prayer times come from an external API, and the site is served from a global edge network.