Skip to main content

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

The siteContent.home object contains:
  • hero - Hero section content (title, description, CTA buttons, images)
  • about - About section content
  • partners - Partner logos and statistics
  • threePs - The 3P’s methodology items
  • impact - Metrics and impact statistics
  • faq - FAQ items
  • testimonials - Client testimonials
  • blogPreview - Blog preview section configuration

Dynamic Content (WordPress)

Blog posts are fetched from WordPress CMS at 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:
Location: 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
Location: pages/Home.tsx:104-186

3. Partners/Allies Marquee

Infinite scrolling logo carousel:
Location: pages/Home.tsx:188-218

4. The 3P’s Section

Displays three core principles (Personas, Planeta, Producto) using GlassCard components with background images. Location: pages/Home.tsx:220-252

5. Impact Metrics

Highlights key statistics in a gradient card:
Location: pages/Home.tsx:254-275

6. FAQ Accordion

Interactive FAQ section with expandable items:
Location: 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:
Location: 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