website poc

This commit is contained in:
2025-12-02 00:19:49 +01:00
parent 7330ccd82d
commit 747a77cb39
42 changed files with 8772 additions and 241 deletions

24
apps/website/.env.example Normal file
View File

@@ -0,0 +1,24 @@
# GridPilot Website Environment Variables
# Application Mode
# Controls whether the site is in pre-launch or post-launch mode
# Valid values: "pre-launch" | "post-launch"
# Default: "pre-launch" (if not set)
GRIDPILOT_MODE=pre-launch
# For client-side mode detection (must match GRIDPILOT_MODE)
# Note: NEXT_PUBLIC_ prefix exposes this to the browser
NEXT_PUBLIC_GRIDPILOT_MODE=pre-launch
# Vercel KV (for email signups and rate limiting)
# Get these from: https://vercel.com/dashboard -> Storage -> KV
# Required for /api/signup to work
KV_REST_API_URL=your_kv_rest_api_url_here
KV_REST_API_TOKEN=your_kv_rest_api_token_here
# Site URL (for metadata and OG tags)
NEXT_PUBLIC_SITE_URL=https://gridpilot.com
# Example for post-launch mode:
# GRIDPILOT_MODE=post-launch
# NEXT_PUBLIC_GRIDPILOT_MODE=post-launch