diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..4105fb9 --- /dev/null +++ b/.env.example @@ -0,0 +1,47 @@ +# ======================================== +# FIREBASE ENVIRONMENT VARIABLES TEMPLATE +# ======================================== +# +# ARCHITECTURE: +# - These variables are stored in .env (server-side) +# - Server endpoint /api/config serves them to client +# - Client loads via scripts/env.js before Firebase initialization +# - Never expose .env to public repository +# +# SETUP INSTRUCTIONS: +# 1. Copy this file: cp .env.example .env +# 2. Get your Firebase project config from Firebase Console +# 3. Fill in your actual values below +# 4. NEVER push .env file to GitHub (it's in .gitignore) +# 5. Each developer/environment needs their own .env file +# 6. Server must be running for client to fetch config via /api/config +# +# ======================================== + +# API Key - Allows app to connect to your Firebase project +# Get from: Firebase Console > Project Settings > Web App Config +VITE_FIREBASE_API_KEY=your_firebase_api_key_here + +# Auth Domain - Used for user login/signup +# Format: your-project-name.firebaseapp.com +VITE_FIREBASE_AUTH_DOMAIN=your_project_id.firebaseapp.com + +# Project ID - Unique identifier for your Firebase project +# Get from: Firebase Console > Project Settings +VITE_FIREBASE_PROJECT_ID=your_project_id + +# Storage Bucket - Where user files are stored +# Format: your-project-name.firebasestorage.app +VITE_FIREBASE_STORAGE_BUCKET=your_project_id.firebasestorage.app + +# Messaging Sender ID - For push notifications (if used) +# Get from: Firebase Console > Project Settings +VITE_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id + +# App ID - Identifies this web app in Firebase +# Format: 1:number:web:random-id +VITE_FIREBASE_APP_ID=1:your_app_id:web:your_web_app_id + +# Measurement ID - For Google Analytics (optional) +# Get from: Firebase Console > Google Analytics settings +VITE_FIREBASE_MEASUREMENT_ID=G-your_measurement_id diff --git a/.gitignore b/.gitignore index e50905a..773b7b4 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,6 @@ yarn-error.log .env .env.local .env.*.local -env.js # IDE .vscode/ diff --git a/contact.html b/contact.html index 953dd58..29af812 100644 --- a/contact.html +++ b/contact.html @@ -344,6 +344,38 @@ .contact-form button:hover { background: #764ba2; } + .contact-form .form-group { + display: flex; + flex-direction: column; + gap: 0.3rem; + position: relative; + } + .contact-form .form-help, + .contact-form .error-message { + font-size: 0.85rem; + margin-top: 0.2rem; + } + .contact-form .form-help { + color: #aab4e8; + } + .contact-form .error-message { + color: #ff6b6b; + display: none; + } + .contact-form .form-group.has-error .error-message { + display: block; + } + .contact-form .form-group.has-error input, + .contact-form .form-group.has-error textarea { + border-color: #ff6b6b; + box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1); + } + .contact-form .message-counter { + font-size: 0.85rem; + color: #aab4e8; + text-align: right; + margin-top: 0.2rem; + } .contact-details { margin-top: 2.5rem; color: #e4e8f7; @@ -500,11 +532,24 @@
We'd love to hear from you! Fill out the form below and our team will get back to you soon.
-Email: support@venturalink.com
@@ -549,34 +594,146 @@ +