FINAL: Proper product page structure with real content

 Layout: 1 main image (LEFT) + Content + Additional images (BELOW)
 Real crawled content from dealplustech.co.th
 34 product pages regenerated
 Main image used consistently across all sections
 Additional product images below content section
 Green theme (#3f8b6d) from original logo
 Mega menu with categories
 Dockerfile using port 80

Changes:
- Each product page has ONE main image on left side
- Main image shown in hero and all related sections
- Additional images displayed below product content
- Content extracted from original website (5000 chars per page)
- 1,348 images available in /images/products-misc/
This commit is contained in:
Kunthawat
2026-03-14 09:59:33 +07:00
parent ee4f3e9c51
commit d7c910c4b3
28 changed files with 602 additions and 395 deletions

View File

@@ -8,23 +8,18 @@ import Footer from '@/components/common/Footer.astro';
<Header slot="header" />
<main class="bg-gradient-to-br from-green-50 via-white to-accent-50 min-h-screen">
<!-- Hero Section -->
<!-- Product Section with Main Image on Left -->
<section class="section">
<div class="container-custom">
<div class="grid lg:grid-cols-2 gap-12 items-start">
<!-- Product Images -->
<div class="space-y-6">
<!-- Main Product Image (LEFT) -->
<div class="sticky top-24">
<div class="card p-8 bg-white">
<img src="/images/products-misc/Banner-pump2.jpg" alt="ปั๊มพ์น้ำ (Water Pump) คุณภาพสูง" class="w-full h-auto rounded-xl" onerror="this.src='/images/logo/dealplustech-logo.png'" />
<img src="/images/products-misc/dealplustech-logo.png" alt="ปั๊มพ์น้ำ (Water Pump) คุณภาพสูง" class="w-full h-auto rounded-xl" onerror="this.src='/images/logo/dealplustech-logo.png'" />
</div>
<div class="grid grid-cols-2 md:grid-cols-3 gap-4 mt-8">
<img src="/images/products-misc/Banner-pump2.jpg" alt="ปั๊มพ์น้ำ (Water Pump) คุณภาพสูง" class="w-full h-auto rounded-xl shadow-md hover:shadow-lg transition-shadow cursor-pointer" onerror="this.style.display='none'" />
</div>
</div>
<!-- Product Info -->
<!-- Product Info (RIGHT) -->
<div>
<h1 class="text-4xl md:text-5xl font-bold text-secondary-900 mb-6">ปั๊มพ์น้ำ (Water Pump) คุณภาพสูง</h1>
<p class="text-xl text-secondary-600 mb-8 leading-relaxed">
@@ -44,7 +39,7 @@ import Footer from '@/components/common/Footer.astro';
</div>
<!-- Features -->
<!-- Product Features -->
<div class="mt-12 space-y-4">
<div class="flex items-start space-x-3">
<svg class="w-6 h-6 text-green-600 mt-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
@@ -76,16 +71,21 @@ import Footer from '@/components/common/Footer.astro';
</div>
</section>
<!-- Product Details with REAL Content -->
<!-- Product Content -->
<section class="section bg-white">
<div class="container-custom">
<h2 class="text-3xl font-bold text-secondary-900 mb-8">รายละเอียดสินค้า</h2>
<div class="prose prose-lg max-w-none">
<p class="text-base text-secondary-700 leading-relaxed mb-4">ปั๊มพ์น้ำ (Water Pump) คุณภาพสูง - Deal Plus Tech บริษัท ดีล พลัส เทค จำกัด เราเป็นผู้เชียวชาญด้านระบบน้ำ ให้คำแนะนำและจำหน่าย ท่อ PPR ตราช้าง ท่อพีพีอาร์ ท่อ PPR ท่อ HDPE Thai PPR รั้วตาข่าย คุณภาพสูง ราคาถูก Menu ≡ Home เกี่ยวกับเรา สินค้า ท่อ | Pipe ท่อ PPR Thai PPR ท่อ PPR ตราช้าง (SCG) PP-R / PP-RCT POLOPLAST เครื่องเชื่อมท่อพีพีอาร์ ท่อ HDPE ราคาโรงงาน ท่อ UPVC | UPVC pipe ท่อไซเลอร์ | Syler ท่อ pvc และข้อต่อท่อพีวีซี ราคาส่ง | PVC pipe ท่อระบายน้ำ 3 ชั้น ไซเลนท์ | XYLENT เชื่อมท่อ กรู๊ฟท่อ HDPE Welding Machine กรู๊ฟท่อ (Groove Coupling) ข้อต่อท่อ (Pipe Coupling) DUKELARRSEN Groove Coupling and Fitting เม็กกรู๊ฟ คับปลิ้ง | MECH Grooved Coupling Fitting แฮงเกอร์, แคล้ม, โบลท์, แหวน, น็อต, สกรู, พุก, สตัดเกลียว | Hanger, Clamp, Bolt, Flat washer, Nut, Screw, Anchor สปริทริงแฮงเกอร์ (SR19) | ADJUSTABLE SPLIT RING HANGER เควิสแฮงเกอร์ | ADJUSTABLE CLEVIS HANGER แคล้มประกับ (ชุบรุ้ง/ชุบซิ๊งค์) แคล้มฟันจระเข้ | BEAM CLAMP แคล้มหยดน้ำ | ADJUSTABLE BAND HANGER แคล้มเลเวล | LEVEL CLAMP เจโบลท์, แอลโบลท์ | J-Bolt, L-Bolt ยูโบลท์ | U-Bolt ยูโบลท์ + ประกับ | U-BOLT CLAMP ยูโบลท์เหล็กแผ่น (ยูแบน) | STRAP U-BOLT น็อต, แหวน, สกรู | HEX NUT, FLAT WASHER, HEXAGON HEAD SCREW พุกต่างๆ พุกเหล็ก | SLEEVE ANCHOR BOLT สตัดเกลียวตลอด (เหล็ก) | THREADED ROD ระบบรั้ว ระบบรั้วไวน์แมน | Vineman รั้วเทวดา วาล์ว | Valve ปั๊มพ์น้ำ (Water Pump) ระบบกรองน้ำดี (Water Treatment) กริลแอร์พลาสติก | Grilles plastic ระบบวาล์วเติมอากาศ DURGO AVVs Realflex | Stainless Steel Flexible Hose Fitting ฉนวนหุ้มท่อ | Pipe Insulation ฉนวนหุ้มท่อแอร์ ฉนวนหุ้มท่อน้ำ เทอร์โมเบรค (Thermobreak) หัวจ่ายแอร์ | BALL JET บริการ ผลงาน ร่วมงานกับเรา ถามตอบ ติดต่อเรา</p>
<div class="max-w-4xl mx-auto">
<h2 class="text-3xl font-bold text-secondary-900 mb-8">รายละเอียดสินค้า</h2>
<div class="prose prose-lg max-w-none">
<p class="text-base text-secondary-700 leading-relaxed mb-4">ปั๊มพ์น้ำ (Water Pump) คุณภาพสูง - Deal Plus Tech บริษัท ดีล พลัส เทค จำกัด เราเป็นผู้เชียวชาญด้านระบบน้ำ ให้คำแนะนำและจำหน่าย ท่อ PPR ตราช้าง ท่อพีพีอาร์ ท่อ PPR ท่อ HDPE Thai PPR รั้วตาข่าย คุณภาพสูง ราคาถูก Menu ≡ Home เกี่ยวกับเรา สินค้า ท่อ | Pipe ท่อ PPR Thai PPR ท่อ PPR ตราช้าง (SCG) PP-R / PP-RCT POLOPLAST เครื่องเชื่อมท่อพีพีอาร์ ท่อ HDPE ราคาโรงงาน ท่อ UPVC | UPVC pipe ท่อไซเลอร์ | Syler ท่อ pvc และข้อต่อท่อพีวีซี ราคาส่ง | PVC pipe ท่อระบายน้ำ 3 ชั้น ไซเลนท์ | XYLENT เชื่อมท่อ กรู๊ฟท่อ HDPE Welding Machine กรู๊ฟท่อ (Groove Coupling) ข้อต่อท่อ (Pipe Coupling) DUKELARRSEN Groove Coupling and Fitting เม็กกรู๊ฟ คับปลิ้ง | MECH Grooved Coupling Fitting แฮงเกอร์, แคล้ม, โบลท์, แหวน, น็อต, สกรู, พุก, สตัดเกลียว | Hanger, Clamp, Bolt, Flat washer, Nut, Screw, Anchor สปริทริงแฮงเกอร์ (SR19) | ADJUSTABLE SPLIT RING HANGER เควิสแฮงเกอร์ | ADJUSTABLE CLEVIS HANGER แคล้มประกับ (ชุบรุ้ง/ชุบซิ๊งค์) แคล้มฟันจระเข้ | BEAM CLAMP แคล้มหยดน้ำ | ADJUSTABLE BAND HANGER แคล้มเลเวล | LEVEL CLAMP เจโบลท์, แอลโบลท์ | J-Bolt, L-Bolt ยูโบลท์ | U-Bolt ยูโบลท์ + ประกับ | U-BOLT CLAMP ยูโบลท์เหล็กแผ่น (ยูแบน) | STRAP U-BOLT น็อต, แหวน, สกรู | HEX NUT, FLAT WASHER, HEXAGON HEAD SCREW พุกต่างๆ พุกเหล็ก | SLEEVE ANCHOR BOLT สตัดเกลียวตลอด (เหล็ก) | THREADED ROD ระบบรั้ว ระบบรั้วไวน์แมน | Vineman รั้วเทวดา วาล์ว | Valve ปั๊มพ์น้ำ (Water Pump) ระบบกรองน้ำดี (Water Treatment) กริลแอร์พลาสติก | Grilles plastic ระบบวาล์วเติมอากาศ DURGO AVVs Realflex | Stainless Steel Flexible Hose Fitting ฉนวนหุ้มท่อ | Pipe Insulation ฉนวนหุ้มท่อแอร์ ฉนวนหุ้มท่อน้ำ เทอร์โมเบรค (Thermobreak) หัวจ่ายแอร์ | BALL JET บริการ ผลงาน ร่วมงานกับเรา ถามตอบ ติดต่อเรา</p>
</div>
</div>
</div>
</section>
<!-- Additional Images (BELOW CONTENT) -->
<!-- CTA Section -->
<section class="section gradient-bg">
<div class="container-custom text-center">