As Delícias da Célia
Animated showcase site for a home bakery in Santarém, with a filterable gallery and an order request form.
- Year
- 2026
- Role
- Developer — design and development
- Stack
- Astro · TypeScript · GSAP · Lenis · Vercel
Context
As Delícias da Célia is a family bakery in Portugal (birthday cakes, cake design, traditional sweets, catering). A client project built end to end, with three constraints: show off the creations, load fast on a phone, and let the owner update her prices on her own.
What I built
- A pre-rendered static site with Astro and TypeScript, no UI framework, and small vanilla scripts per component.
- A gallery of 200+ creations filterable by category, with GSAP Flip animation, an accessible lightbox and images optimised at build time.
- An order request form: date picker, drag-and-drop reference photos shrunk to JPEG in the browser, inline validation.
- A price list editable from the browser through Pages CMS, which commits straight to the repository.
Technical highlights
- Declarative motion: scroll reveals, parallax, counters and a horizontal-scroll section, all driven by
data-*attributes in one file, with Lenis for smooth scrolling and support forprefers-reduced-motion. - Hardened API route: capped field lengths, escaped HTML, uploads checked by their magic bytes rather than name or MIME type, and sending through the Cloudflare Email REST API with
reply_toset to the customer. - Portuguese URLs, English code: a small Astro integration maps each public route to a view.
- Local SEO with
Bakerystructured data, Open Graph tags and a custom 404 page.
Outcome
The site is live at asdelicias-dacelia.com, hosted on Vercel.