Overview
The Producto component is a rich, two-column showcase section that highlights Velaria’s key product features: 100% customization and natural, eco-friendly ingredients. It uses a combination of descriptive text, icons, and product imagery to convey the brand’s quality and flexibility.Component structure
The component consists of two main sections:- Customization showcase - A grid layout with feature list and product image
- Natural ingredients callout - A centered message about eco-friendly materials
Customization section
src/components/Producto.astro (lines 6-140)
Features highlighted
Choose your fragrance
Choose your fragrance
The first feature emphasizes fragrance selection with examples: vanilla, lavender, cinnamon, and citrus. Each scent is positioned as conveying something unique for special occasions.Icon: Candle flame (Tabler icon)
Customize colors and finishes
Customize colors and finishes
The second feature focuses on visual customization, allowing customers to add personal touches like dedications or recipient names.Icon: Decorative element (Tabler icon)
We bring your ideas to life
We bring your ideas to life
The third feature encourages custom requests, inviting customers to share special ideas that the team will execute.Icon: Lightbulb (Tabler icon)
Product image
The component includes a product image with an animated entrance effect:The image uses Vercel Blob Storage for hosting and includes an intersection observer animation that fades in from the left when scrolled into view.
Natural ingredients section
src/components/Producto.astro (lines 142-154)
- 100% natural soy wax - Eco-friendly primary ingredient
- Ecological wicks - Sustainable burning material
- Toxin-free - Safe for indoor use
- Environmental responsibility - Planetary care message
Styling breakdown
- Light:
bg-orange-100 - Dark:
dark:bg-orange-200
- Two-column grid on desktop (
lg:grid-cols-2) - Single column on mobile
- Generous padding:
py-24on mobile,sm:py-32on larger screens
- Eyebrow:
text-base/7 font-semibold text-gray-800 - Main heading:
text-4xl sm:text-5xl font-semibold text-yellow-800 - Body:
text-lg/8 text-gray-500 - Feature labels:
font-semibold text-gray-700
Animation
The product image uses intersection observer animations fromtailwindcss-intersect:
intersect:animate-fade-left- Fades in from left when visibleanimate-once- Runs only onceanimate-duration-1000- 1 second durationanimate-ease-in- Easing functioninterset-half- Triggers at 50% visibility
Usage
The Producto component is used on the homepage after the Intro section:src/pages/index.astro
