Add env-configurable GA/form/map; remove & artifacts; verify clone completeness
- Remove 4 stray '&' files (crawl artifact) that duplicated footer/about-us/contactus/root - Replace hardcoded GA id, form email, map src with placeholders (GA_ID, FORM_EMAIL, GMAP_EMBED) - Add entrypoint.sh: envsubst injects env vars into HTML at container startup - Add .env.example + .dockerignore/.gitignore guarding .env secrets - Google Map type A (free embed, no API key) configurable via GMAP_LAT/LNG - Verify: all 39 pages, images (38/home), content blocks (296) match original; 0 missing assets Full clone comparison against www.mitsuthailand.com confirms sections complete.
This commit is contained in:
23
.env.example
Normal file
23
.env.example
Normal file
@@ -0,0 +1,23 @@
|
||||
# ============================================================
|
||||
# มิตซูชัยพร static site — environment variables
|
||||
# Copy to `.env` (or set in EasyPanel service env) and adjust.
|
||||
# These get injected into the HTML at container startup by entrypoint.sh.
|
||||
# ============================================================
|
||||
|
||||
# --- Google Analytics / GTM ---
|
||||
# Measurement ID (e.g. G-XXXXXXXXXX). Leave EMPTY to disable analytics.
|
||||
# GA_ID=G-L4835B8PSW
|
||||
GA_ID=
|
||||
|
||||
# --- Contact / RFQ form email (FormSubmit) ---
|
||||
# Email that receives form submissions.
|
||||
FORM_EMAIL=mail@mitsuchaiyaporn.com
|
||||
|
||||
# --- Google Map (type A — free embed, NO API key required) ---
|
||||
# Option 1: provide lat/lng (recommended)
|
||||
GMAP_LAT=13.557229094780995
|
||||
GMAP_LNG=100.28916297408983
|
||||
GMAP_ZOOM=16
|
||||
|
||||
# Option 2: full embed URL (overrides lat/lng)
|
||||
# GMAP_EMBED=https://maps.google.com/maps?q=13.557229094780995,100.28916297408983&z=16&output=embed
|
||||
Reference in New Issue
Block a user