Castellanos Plumbing
A bilingual site for a plumbing and gas company in Texas: a call line per language, job photos for each service, and a panel for requests and photos.
Visit site Castellanos Plumbing
- Astro
- React
- Keystatic
- Supabase
- Vercel
- First to last commit5 weeksMar 30, 2026 → May 2, 2026
- Commits7973 by me · Team of 2
- Days with commits6
- Main languageAstro49.5%
The problem
Castellanos Legacy Plumbing works on water, drainage and natural gas for homes and businesses across Texas, and serves customers in English and Spanish. The site had to get each caller to the line in their language and show real work for every service.
It also had to turn visits into requests the team can follow up on, and let the team add photos of their jobs on their own.
What was built
I built an Astro site with two call buttons on the first screen, one per language, and all the copy in English and Spanish. Each visit request is saved in Supabase, and Resend alerts the team and confirms to the customer in their language.
Behind it is a panel at /admin: requests with search, statuses and CSV export, and a photo manager for each service or the portfolio, with drafts, publishing and drag-to-reorder.
A look inside






What it does
- 01
A call line per language
The first screen has two tap-to-call buttons with flags: an English line and a Spanish line. The ES button switches the copy to Spanish.
- 02
Photos for each service
Six services, each with “See Images”: up to three photos published from the panel, opened in a lightbox.
- 03
Visit requests
The form saves the request in Supabase. Resend alerts the team and sends the customer a confirmation in their language.
- 04
A quiet bot filter
A hidden field and a minimum fill time stop bots: they get an “ok” and nothing is saved.
- 05
Requests panel
Search, statuses (new, contacted, completed), one-click call or email, CSV export, and counts by period against the previous one.
- 06
Photos with drafts
Photos come in as drafts and go live one by one or all at once. Visitors only see the published ones, enforced by RLS rules.
What it is made with
Astro 5
Prerenders the public pages at build time; the admin and the request endpoint run on demand.
React 19
Runs the admin panel and the portfolio grid with its lightbox.
Supabase
Admin login, the requests and media tables, and photo storage, guarded by RLS rules.
Resend
Sends the team alert and the customer confirmation for each request, in English or Spanish.
GSAP
Animates the services and the portfolio as they scroll into view.
HeroUI v3
Tabs, buttons, cards and search in the admin panel.
Vercel
Hosts the site, turns the admin and /api/lead into functions, and tracks visits and Web Vitals.
Languages
Same as on GitHub- Astro49.5%
- TypeScript47.9%
- JavaScript2.3%
- Other0.3%
How it was built
Commits per week
- 1First commit: design spec, an Astro base with Supabase, and copy in English and Spanish
- 2Rebuilt the landing page as a bento layout and wired the form to Supabase
- 3A new HeroUI admin, Resend emails, and call buttons per language
- 4Moved to Vercel, switched images to WebP and added the portfolio lightbox
GitHub data as of Nov 20, 2026. Private repository.