What is Velaria?
Velaria is a modern e-commerce website for handcrafted aromatic candles, built with Astro and deployed on Vercel. The platform showcases artisanal decorative candles with customizable designs and fragrances, providing an elegant online presence for a small business specializing in handmade candles.Velaria means “candles that transform your space” - each detail matters, from the handcrafted designs to the personalized fragrances.
Key features
Velaria offers a comprehensive set of features designed for showcasing and selling artisanal candles:Product catalog
Dynamic product showcase with 10+ unique candle designs including Bubbles, Geometric, Spiral, Rosa, and seasonal variations. Each product displays with pricing ranging from 85 MXN.
Fragrance selection
Five curated fragrances: Vainilla, Pino, Sándalo, Canela, and Lavanda. Custom fragrance requests are also accommodated.
Contact form
Integrated contact form with SweetAlert2 notifications, email validation, and API integration for customer inquiries and quote requests.
Smooth animations
Built-in scroll animations using tailwindcss-animated and tailwindcss-intersect for fade-up effects, parallax scrolling on the header, and staggered product reveals.
WhatsApp integration
Dynamic WhatsApp contact button that switches between two phone numbers based on time of day (after 12 PM).
Tech stack
Velaria is built with modern web technologies:- Astro 5.16.6 - Fast, content-focused web framework with server-side rendering
- Tailwind CSS 4.1.13 - Utility-first CSS framework with custom animations
- TypeScript - Type-safe development with strict configuration
- Vercel - Serverless deployment with SSR adapter
- SweetAlert2 - Beautiful, responsive popup alerts
Key dependencies
package.json
Project structure
The Velaria codebase follows Astro’s standard project structure:Architecture overview
Velaria uses a component-based architecture with server-side rendering:SSR configuration
The site is configured for server-side rendering with Vercel:astro.config.mjs
Page composition
The homepage (src/pages/index.astro:16) combines multiple components:Animation system
Velaria features rich animations powered by Tailwind CSS plugins:Fade-up animations
Used throughout the site for elegant content reveals:src/components/Header.astro:13-15
Parallax scrolling
The header background moves at a different speed than content (src/layouts/Layout.astro:38-42):Intersection Observer animations
Products fade in and scale up as they enter the viewport (src/components/Catalogo.astro:14):Next steps
Get started with Velaria:Quick start
Learn how to clone, install, and run Velaria locally in minutes.
Components
Explore the component library including Catalogo, Fragancias, and Contactanos.
API routes
Understand the contact form API and email integration.
