Rebuild as Astro static site (output identical to original)

- Move all 39 cloned pages + assets into public/ (Astro copies verbatim to dist/)
  -> dist/ is byte-identical to www.mitsuthailand.com (home 143633 bytes exact)
- Add Astro project: astro.config.mjs, package.json, src/layouts/Base.astro,
  src/pages/example.astro (sample Astro component page, builds to /example/)
- Multi-stage Dockerfile: pnpm build -> nginx serve + env-injecting entrypoint
- Env-configurable: GA_ID, FORM_EMAIL, GMAP_LAT/LNG/.env.example
- Remove Python crawl tooling and old nginx-static site/ layout
- Verified: astro build -> 39 pages + example; all routes serve 200 via preview
This commit is contained in:
2026-08-06 14:41:36 +07:00
parent eea7c4780e
commit 9460be8c0e
948 changed files with 2929 additions and 1778 deletions

View File

@@ -1,15 +1,24 @@
.git
.gitignore
# Astro / node
node_modules/
dist/
.astro/
pnpm-debug.log*
# Python tooling (not needed in image)
__pycache__/
*.pyc
mirror_log*.txt
*.py
# Secrets / local env
.env
.env.*
!.env.example
*.md
mirror_log*.txt
__pycache__
*.pyc
postprocess.py
repair.py
cleanup.py
common.py
mirror.py
rewrite.py
# VCS / docs / local
.git
.gitignore
README.md
# Original static clone (superseded by src/pages + public)
site/