Skip to main content

Configuration

This guide covers all configuration options for the Infowebplus project.

Environment Variables

Required Variables

# Sanity Configuration
NEXT_PUBLIC_SANITY_PROJECT_ID=your_project_id
NEXT_PUBLIC_SANITY_DATASET=production
SANITY_API_TOKEN=your_api_token
NEXT_PUBLIC_SITE_URL=https://infowebplus.com

Optional Variables

Email Configuration

RESEND_API_KEY=your_resend_api_key
CONTACT_EMAIL=contact@infowebplus.com

Breezy HR (Careers Page)

BREEZY_COMPANY_ID=infowebplus

Google Tag Manager

NEXT_PUBLIC_GTM_ID=GTM-XXXXXXX

Caching

CACHE_PREFIX=infowebplus
CACHE_AUTH_TOKEN=your-secret-token-here
ENABLE_REDIS=false
REDIS_URL=redis://localhost:6379
SANITY_WEBHOOK_SECRET=your-webhook-secret

Next.js Configuration

The project uses next.config.ts for Next.js configuration. Key settings:

  • Image optimization
  • Sanity image domains
  • Internationalization routing

Sanity Configuration

Sanity Studio configuration is in studio/sanity.config.ts. This includes:

  • Project ID and dataset
  • Schema definitions
  • Custom plugins
  • Cache management actions

Tailwind Configuration

Custom color palette and theme configuration in tailwind.config.ts:

  • Deep Teal (#0F4C5C) - Primary
  • Burnished Amber (#D4A574) - Accent
  • Synthesized Mint (#A8E6CF) - Secondary
  • Unbleached Naturals (#F5F5DC) - Neutrals
  • Decadent Chocolate (#3D2B1F) - Dark Mode

Internationalization

Translation files are located in /messages/ directory:

  • en.json - English
  • es.json - Spanish
  • ro.json - Romanian

See Adding a New Language for details.

Next Steps