-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
67 lines (59 loc) · 2.81 KB
/
.env.example
File metadata and controls
67 lines (59 loc) · 2.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# =============================================================================
# VAT0 Website Environment Variables
# Copy this file to .env.local and fill in your actual values
# =============================================================================
# =============================================================================
# BREVO EMAIL CONFIGURATION (Required for contact form emails)
# Get your API key from: https://app.brevo.com/settings/keys/api
# Free tier: 300 emails/day
# =============================================================================
BREVO_API_KEY=your_brevo_api_key_here
# Email addresses
CONTACT_EMAIL=info@vat0.lk
FROM_EMAIL=noreply@vat0.lk
# =============================================================================
# CLOUDFLARE TURNSTILE (Required for spam protection)
# Get your keys from: https://dash.cloudflare.com/?to=/:account/turnstile
# This is Cloudflare's privacy-friendly CAPTCHA alternative (FREE)
# =============================================================================
# Public site key (shown in browser)
NEXT_PUBLIC_CLOUDFLARE_TURNSTILE_SITE_KEY=0x00000000000000000000FF
# Secret key (server-side only - NEVER expose this in client-side code)
CLOUDFLARE_TURNSTILE_SECRET_KEY=your_turnstile_secret_key_here
# =============================================================================
# GOOGLE ANALYTICS 4 (Optional but recommended)
# Get your Measurement ID from: https://analytics.google.com
# =============================================================================
# Already configured in code: G-DZN0JLD7FL
# If you need to change it, update components/GoogleAnalytics.tsx
# =============================================================================
# VERCEL ANALYTICS (Optional)
# Enabled by default on Vercel deployments
# No configuration needed
# =============================================================================
# NOTES:
# =============================================================================
#
# 1. BREVO_API_KEY:
# - Sign up at https://www.brevo.com
# - Go to Settings > API Keys
# - Create a new API key with "Transactional emails" permission
# - Verify your domain (vat0.lk) in Brevo for better deliverability
#
# 2. CLOUDFLARE_TURNSTILE:
# - Sign in to Cloudflare dashboard
# - Go to Turnstile (in left sidebar)
# - Add a new site: Name "VAT0 Website", Domain "vat0.lk"
# - Choose "Managed" widget type
# - Copy the Site Key and Secret Key
#
# 3. NEVER commit .env.local to git:
# - It's already in .gitignore
# - Set these in Vercel dashboard under Project Settings > Environment Variables
#
# 4. For local development:
# - Copy this file: cp .env.example .env.local
# - Fill in your actual values
# - Restart Next.js dev server
#
# =============================================================================