Skip to main content

siteContent Object

The siteContent object is the central data structure that powers the entire VENCOL Front Template. It contains all site metadata, brand information, navigation, and page-specific content organized in a hierarchical structure.

Location

Import

Structure Overview

The siteContent object is organized into the following top-level sections:
  • meta - SEO and site metadata
  • brand - Brand identity and contact information
  • navigation - Main navigation menu items
  • header - Header configuration
  • home - Home page content sections
  • about - About page content
  • solutions - Solutions page configuration and items
  • blog - Blog page configuration and posts
  • contact - Contact page content
  • newsletter - Newsletter subscription widget

Detailed Reference

meta

SEO and metadata configuration for the entire site.
Example:

brand

Brand identity, contact information, and social media links.
Example Usage:
Main navigation menu configuration.
Example:
Header component configuration.

home

All content sections for the home page.

home.meta

home.hero

Example:

home.about

home.partners

home.threePs

The “3 Ps” section (Protección, Preservación, Presentación).
Example:

home.impact

home.faq

Example:

home.testimonials

home.blogPreview

about

Content for the About page.

solutions

Configuration and content for solutions/services.
Example:

blog

Blog configuration and posts.
Example:

contact

Contact page configuration.
Example:

newsletter

Newsletter subscription widget configuration.

Complete Type Definition

For TypeScript projects, you can define the complete type:

Usage Best Practices

1. Destructuring for Cleaner Code

2. Type-Safe Component Props

3. Dynamic Icon Rendering

4. SEO Meta Tags

Notes

  • All icons are imported from lucide-react at the top of the file
  • The data includes both English and Spanish text (primarily Spanish)
  • Images use external URLs (Unsplash, custom CMS)
  • HTML content in blog posts should be rendered with dangerouslySetInnerHTML or a safe HTML parser
  • The Service type is defined in source/types and used for both siteContent.solutions.items and the separate solutionsData array