A marketing and listings site for a Sri Lankan land seller, with an admin panel they run themselves.
The product
Supreme Lands sells land in Sri Lanka. The site shows available and sold plots with photo galleries, filters, a map and a WhatsApp enquiry button, and every plot gets its own preview image when shared.
The owner adds and edits plots from a password protected admin panel, with no developer involved.
The problem
A land seller needs listings that look credible and can be updated the same day a plot sells. Phone and drone photos run 8 to 20 MB each, which is too heavy for a site most people open on a phone.
The solution
Two separate route groups: a read only public site on the anon key with Row Level Security, and an admin area behind middleware that writes through server actions. Uploads are compressed to WebP at up to 1920 px on the server before they reach storage, so visitors get files of roughly 150 to 400 KB.
All admin input is sanitised, enums are checked against allowlists, and image type and size are validated.






Outcome
Live at supremelands.lk.
