Home Page Component
The Home page (pages/Home.tsx) serves as the main landing page for the VENCOL application, showcasing the company’s services, impact, and testimonials through an engaging multi-section layout.
Purpose
The Home page is the primary entry point for visitors and is designed to:- Present the company’s value proposition through a hero section with image slider
- Display company information and core values (3P’s: Personas, Planeta, Producto)
- Showcase partner logos and client testimonials
- Provide FAQ section for common questions
- Preview recent blog posts
- Display key metrics and impact statistics
Data Sources
The Home component pulls data from multiple sources:Static Content
siteContent.home object contains:
hero- Hero section content (title, description, CTA buttons, images)about- About section contentpartners- Partner logos and statisticsthreePs- The 3P’s methodology itemsimpact- Metrics and impact statisticsfaq- FAQ itemstestimonials- Client testimonialsblogPreview- Blog preview section configuration
Dynamic Content (WordPress)
https://cms.gobigagency.co/vencol/wp-json/wp/v2 with fallback to static data.
Key Features
1. Hero Section with Image Slider
Auto-rotating background images with parallax effect:pages/Home.tsx:51-102
2. About Section
Features company information with:- Animated experience badge
- Highlighted features list with checkmarks
- Quote card with glassmorphic design
- CTA button to About page
pages/Home.tsx:104-186
3. Partners/Allies Marquee
Infinite scrolling logo carousel:pages/Home.tsx:188-218
4. The 3P’s Section
Displays three core principles (Personas, Planeta, Producto) usingGlassCard components with background images.
Location: pages/Home.tsx:220-252
5. Impact Metrics
Highlights key statistics in a gradient card:pages/Home.tsx:254-275
6. FAQ Accordion
Interactive FAQ section with expandable items:pages/Home.tsx:277-347
7. Testimonials Section
Displays client testimonials with star ratings and client logo marquee. Location:pages/Home.tsx:349-422
8. Blog Preview
Shows the 3 most recent blog posts with images and excerpts:pages/Home.tsx:424-481
Components Used
GlassCard
Used throughout for glassmorphic UI elements:SEO Component
Provides meta tags for search engines:Icons
Lucide React icons for visual elements:Routing
The Home page includes links to:- Solutions:
/soluciones/${slug}- Links to first solution since general solutions page doesn’t exist - About:
/nosotros- Company information - Contact:
/contacto- Contact form - Blog:
/blog- Blog listing and/blog/${slug}- Individual posts
State Management
Animations & Effects
- Parallax scrolling on hero background
- Auto-rotating image slider (5-second interval)
- Infinite marquee for partner logos
- Hover effects on cards and buttons
- Accordion animations for FAQ items
- Gradient animations on text and backgrounds
Code Pattern Example
Performance Considerations
- Blog posts are fetched asynchronously with fallback to static data
- Images are loaded progressively with transition effects
- Event listeners are properly cleaned up in useEffect returns
- Marquee animations use CSS for better performance
Related Pages
- About Page - Company information
- Solutions Page - Product/service details
- Blog Page - Blog listing
- Contact Page - Contact form