# =============================================================================
# Astro Rocket - Environment Configuration
# =============================================================================
# Copy this file to .env and fill in your values
# Variables prefixed with PUBLIC_ are exposed to the browser - NEVER prefix secrets

# -----------------------------------------------------------------------------
# Required
# -----------------------------------------------------------------------------

# Your production site URL (used for sitemap, canonical URLs, OG images)
SITE_URL=https://example.com

# Deployment target — set to "netlify" when deploying to Netlify, leave unset for Vercel
# DEPLOY_TARGET=netlify

# -----------------------------------------------------------------------------
# Analytics (optional)
# -----------------------------------------------------------------------------

# Google Analytics 4 Measurement ID
# PUBLIC_GA_MEASUREMENT_ID=G-XXXXXXXXXX

# Google Tag Manager Container ID
# PUBLIC_GTM_ID=GTM-XXXXXXX

# -----------------------------------------------------------------------------
# Form Handling (optional)
# -----------------------------------------------------------------------------

# Resend API key for contact form emails and newsletter (server-side only)
# Get your key at https://resend.com
RESEND_API_KEY=your-resend-api-key

# Sender address for contact form emails — must be a verified Resend domain
# Defaults to the email set in site.config.ts if not provided
# RESEND_FROM_EMAIL=noreply@yourdomain.com

# Resend Audience ID for newsletter subscriptions (server-side only)
# Create an audience at resend.com/audiences and paste its ID here
# RESEND_AUDIENCE_ID=your-audience-id

# Newsletter API key (server-side only) — used by the /api/newsletter endpoint
# NEWSLETTER_API_KEY=your-newsletter-api-key

# -----------------------------------------------------------------------------
# Search Engine Verification (optional)
# -----------------------------------------------------------------------------

# Google Search Console verification code
# GOOGLE_SITE_VERIFICATION=your-verification-code

# Bing Webmaster Tools verification code
# BING_SITE_VERIFICATION=your-verification-code

# -----------------------------------------------------------------------------
# Consent / Privacy (optional)
# -----------------------------------------------------------------------------

# Enable the cookie consent banner (requires analytics to be configured)
# PUBLIC_CONSENT_ENABLED=true

# Link to your privacy policy page (shown in consent banner when set)
# PUBLIC_PRIVACY_POLICY_URL=/privacy
