From 74db1dad77e06b519e252e305df1f75c5aee36d4 Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Wed, 10 Jun 2026 09:10:14 +0700 Subject: [PATCH] fix(hero): correct hero layout to TEXT-LEFT for 12 product pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two prior commits (d8ff358, 9653fcb) claimed to rewrite heroes with a TEXT-LEFT template, but the source-order check in the prior apply step was misread. The committed heroes were still IMAGE-LEFT, with the sticky wrapper around the image and the data-price-button still rendering where the page has no #pricelist section. This commit rewrites the hero section of 12 pages against the actual HEAD~1 (9653fcb) source and the HEAD (d8ff358) source for วาล์ว-valve to apply the canonical TEXT-LEFT template correctly: - text container (pill, title, features, buttons) before image - sticky wrapper moved to the image column - data-price-button removed where id="pricelist" is missing - max-w-md mx-auto lg:max-w-none classes restored on image + card Pages: วาล์ว-valve, realflex, water-pump, water-treatment, ท่อ-xy-lent, ระบบรั้วไวน์แมน, รั้วเทวดา, หัวจ่าย-ball-jet, เครื่องเชื่อม-hdpe, เครื่องเชื่อม-ppr, เทอร์โมเบรค, เม็กกรู๊ฟ-คับปลิ้ง Verified rendered HTML: all 12 pages have TEXT-LEFT order in DOM, data-price-button present only where id="pricelist" exists. --- src/pages/realflex.astro | 7 +- src/pages/water-pump.astro | 7 +- src/pages/water-treatment.astro | 7 +- src/pages/ท่อ-xy-lent.astro | 7 +- src/pages/ระบบรั้วไวน์แมน.astro | 7 +- src/pages/รั้วเทวดา.astro | 7 +- src/pages/วาล์ว-valve.astro | 127 ++++++++++++------------- src/pages/หัวจ่าย-ball-jet.astro | 7 +- src/pages/เครื่องเชื่อม-hdpe.astro | 7 +- src/pages/เครื่องเชื่อม-ppr.astro | 7 +- src/pages/เทอร์โมเบรค-thermobreak.astro | 7 +- src/pages/เม็กกรู๊ฟ-คับปลิ้ง.astro | 7 +- 12 files changed, 128 insertions(+), 76 deletions(-) diff --git a/src/pages/realflex.astro b/src/pages/realflex.astro index 77f91eb..4badb39 100644 --- a/src/pages/realflex.astro +++ b/src/pages/realflex.astro @@ -33,6 +33,11 @@ import BaseLayout from '@/layouts/BaseLayout.astro'; + + + + +
@@ -64,7 +69,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
@@ -64,7 +69,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
@@ -64,7 +69,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
@@ -40,7 +45,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
@@ -65,7 +70,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
@@ -57,7 +62,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
- + แชท Line diff --git a/src/pages/วาล์ว-valve.astro b/src/pages/วาล์ว-valve.astro index a334ab7..e3c51dd 100644 --- a/src/pages/วาล์ว-valve.astro +++ b/src/pages/วาล์ว-valve.astro @@ -15,84 +15,81 @@ import BaseLayout from '@/layouts/BaseLayout.astro'; ]}>
+
- -
-
- - -
-
-
- - - - - - - - - - - - - - - - - - - - - -
+
+
+
+
+
+ + + + + + + + + + + + + + + + + +
-
-
- วาล์ว (Valve) -
-
วาล์ว

วาล์ว (Valve) - วาล์วน้ำทุกประเภท

-

+

จำหน่ายวาล์ว (Valve) - วาล์วน้ำทุกประเภทคุณภาพสูง ราคาโรงงาน ส่งฟรี กรุงเทพมหานคร และปริมณฑล

-
- - - แชท Line +
+
+ + + + คุณภาพสูง มาตรฐานอุตสาหกรรม +
+
+ + + + ราคาโรงงาน คุ้มค่า +
+
+ + + + จัดส่งรวดเร็ว ส่งฟรี กทม. ปริมณฑล +
+
+ + + + รับประกันสินค้า +
+
+
-
- - คุณภาพสูง มาตรฐานอุตสาหกรรม -
-
- - ราคาโรงงาน คุ้มค่า -
-
- - จัดส่งรวดเร็ว ส่งฟรี กทม. ปริมณฑล -
-
- - รับประกันสินค้า -
+
+
+
+
+ วาล์ว (Valve)
diff --git a/src/pages/หัวจ่าย-ball-jet.astro b/src/pages/หัวจ่าย-ball-jet.astro index 9df274e..9c42853 100644 --- a/src/pages/หัวจ่าย-ball-jet.astro +++ b/src/pages/หัวจ่าย-ball-jet.astro @@ -35,6 +35,11 @@ import BaseLayout from '@/layouts/BaseLayout.astro'; + + + + +
@@ -84,7 +89,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
@@ -70,7 +75,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';