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:
1468
site/footer/&
1468
site/footer/&
File diff suppressed because it is too large
Load Diff
@@ -63,12 +63,12 @@
|
||||
<script src="../core/assets/vendor/html5shiv/html5shiv.min.js?v=3.7.3&"></script>
|
||||
<![endif]-->
|
||||
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-L4835B8PSW"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=${GA_ID}"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
gtag('config', 'G-L4835B8PSW');
|
||||
gtag('config', '${GA_ID}');
|
||||
</script> </head>
|
||||
<body class="lego-scrollbar use-palette use-font-prompt" style="" >
|
||||
<div class="dialog-off-canvas-main-canvas" data-off-canvas-main-canvas>
|
||||
@@ -1301,7 +1301,7 @@ SUV ระดับพรีเมียม สไตล์สปอร์ต
|
||||
<!-- lego/render/location-renderer.html.twig -->
|
||||
<div class="col-12 px-0 mx-0">
|
||||
<div class="col-12 px-0 mx-0 component-location-renderer area-location">
|
||||
<iframe width="100%" class="full-iframe location-iframe" scrolling="no" height="500px" frameborder="0" src="#" allowtransparency="true" marginwidth="0" marginheight="0"></iframe>
|
||||
<iframe width="100%" class="full-iframe location-iframe" scrolling="no" height="500px" frameborder="0" src="${GMAP_EMBED}" allowtransparency="true" marginwidth="0" marginheight="0"></iframe>
|
||||
</div>
|
||||
<div class="col-12 navigate-map text-center">
|
||||
<a href="#" class="btn btn-design btn-location btn-type6 typ-btn-direction mt-2 mx-1" data-lat="13.557229094780995" data-lon="100.28916297408983">นำทาง</a>
|
||||
|
||||
Reference in New Issue
Block a user