# GridPilot Website Environment Variables

# Site URL (for metadata and OG tags)
NEXT_PUBLIC_SITE_URL=https://gridpilot.com

# API base URL (browser → API)
NEXT_PUBLIC_API_BASE_URL=https://gridpilot.com/api

# Discord Community
# Discord invite URL for the community CTA
# Get this from: Discord Server Settings -> Invites -> Create Invite
# Example: https://discord.gg/your-invite-code
NEXT_PUBLIC_DISCORD_URL=https://discord.gg/your-invite-code

# Vercel KV (for email signups and rate limiting)
# Get these from: https://vercel.com/dashboard -> Storage -> KV
# OPTIONAL in development (uses in-memory fallback)
# REQUIRED in production for persistent data
# KV_REST_API_URL=your_kv_rest_api_url_here
# KV_REST_API_TOKEN=your_kv_rest_api_token_here

# Feature Flags (Optional - for fine-grained feature control)
# Use this to enable/disable specific features
# FEATURE_FLAGS=driver_profiles,team_profiles,wallets,sponsors,team_feature

# Optional site metadata (defaults used when unset)
# NEXT_PUBLIC_SITE_NAME=GridPilot
# NEXT_PUBLIC_SUPPORT_EMAIL=support@example.com
# NEXT_PUBLIC_SPONSOR_EMAIL=sponsors@example.com
# NEXT_PUBLIC_LEGAL_COMPANY_NAME=
# NEXT_PUBLIC_LEGAL_VAT_ID=
# NEXT_PUBLIC_LEGAL_REGISTERED_COUNTRY=
# NEXT_PUBLIC_LEGAL_REGISTERED_ADDRESS=