Refactor: Update category structure, mega menu, footer, and remove unused pages

- Move DURGO from ระบบน้ำ to อุปกรณ์ปรับอากาศ
- Add -category suffix to อุปกรณ์ดับเพลิง and ฉนวนหุ้มท่อ category pages
- Update Header mega menu with correct category slugs
- Fix Footer layout: split categories to 2 columns, remove quick links
- Delete unused pages: all-projects, join-us, services, product
- All product images fixed to 1:1 aspect ratio
This commit is contained in:
Kunthawat
2026-03-31 22:54:54 +07:00
parent dbbd9e22a2
commit 9cddd3da57
53 changed files with 3865 additions and 2888 deletions

View File

@@ -7,57 +7,56 @@ import Footer from '@/components/common/Footer.astro';
<BaseLayout title="ไทยพีพีอาร์ (Thai PPR) | ท่อพีพีอาร์ คุณภาพสูง" description="ไทยพีพีอาร์ (Thai PPR) ทางเลือกที่ดีที่สุดสำหรับงานระบบน้ำคุณภาพสูง ทั้งน้ำร้อนและน้ำเย็น ผลิตจากวัสดุ PP-R เกรดพรีเมียม ทนความร้อน 95°C อายุการใช้งาน 50 ปี ส่งฟรี กทม. ปริมณฑล">
<Header slot="header" />
<main class="px-4 sm:px-6 lg:px-8 bg-white min-h-screen">
<section id="product-detail" class="section">
<main class="bg-white min-h-screen">
<!-- Product Hero Section -->
<section class="hero-gradient py-16">
<div class="container-custom">
<div class="grid lg:grid-cols-2 gap-12 items-start">
<div class="lg:sticky lg:top-24">
<div class="card p-8 bg-white">
<img src="/images/products-cropped/ppr-pipe_000C.jpg" alt="ท่อ PPR ไทย (Thai PPR)" class="w-full h-auto rounded-xl" onerror="this.src='/images/logo/dealplustech-logo.png'" />
<div class="grid lg:grid-cols-2 gap-12 items-center">
<div class="order-2 lg:order-1">
<div class="card-glass p-2">
<img src="/images/products-cropped/ppr-pipe_000C.jpg" alt="ท่อ PPR ไทย (Thai PPR)" class="w-full h-auto rounded-xl" width="600" height="400" loading="eager" fetchpriority="high" decoding="sync" onerror="this.src='/images/logo/dealplustech-logo.png'" />
</div>
</div>
<div>
<h1 class="text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-secondary-900 mb-4 sm:mb-6 text-center sm:text-left">ไทยพีพีอาร์ (Thai PPR)</h1>
<p class="text-lg sm:text-lg md:text-xl text-secondary-600 mb-6 sm:mb-8 leading-relaxed text-center sm:text-left">
<div class="order-1 lg:order-2">
<span class="inline-block px-4 py-1.5 bg-white/20 text-white rounded-full text-sm font-medium mb-4">
ท่อ PPR
</span>
<h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-4">ไทยพีพีอาร์ (Thai PPR)</h1>
<p class="text-lg sm:text-xl text-white/80 mb-8 leading-relaxed">
ไทยพีพีอาร์ (Thai PPR) ทางเลือกที่ดีที่สุดสำหรับงานระบบน้ำคุณภาพสูง ทั้งน้ำร้อนและน้ำเย็นในอาคารสมัยใหม่ ผลิตจากวัสดุ Polypropylene Random Copolymer (PPR) เกรดพรีเมียม สะอาด ปลอดภัย และมีสถานะเป็น Food Grade ส่งฟรี กรุงเทพมหานคร ปริมณฑล
</p>
<div class="flex flex-wrap justify-center gap-4 mt-8">
<a href="https://line.me/ti/p/~dealplustech" target="_blank" class="inline-flex items-center space-x-2 bg-white border-2 border-[#06C755] text-[#06C755] hover:bg-[#06C755] hover:text-white px-8 py-4 rounded-xl font-medium transition-all hover:shadow-lg active:scale-95 text-lg">
<img src="/images/line-icon.png" alt="Line" class="w-5 h-5 line-icon" />
<div class="flex flex-wrap gap-4 mb-8">
<a href="https://line.me/ti/p/~dealplustech" target="_blank" class="btn-white flex items-center gap-2">
<span>แชท Line</span>
</a>
<a href="tel:0905551415" class="inline-flex items-center space-x-2 bg-green-600 hover:bg-green-700 text-white px-8 py-4 rounded-xl font-medium transition-all hover:shadow-lg active:scale-95 text-lg">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/></svg>
<span> 090-555-1415</span>
<a href="tel:0905551415" class="btn-white flex items-center gap-2">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/>
</svg>
<span>090-555-1415</span>
</a>
</div>
<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">
<div class="flex flex-wrap gap-6">
<div class="flex items-center gap-2 text-white/80">
<svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-lg text-secondary-700">ทนความร้อนได้สูงถึง 95°C</span>
<span>ทนความร้อน 95°C</span>
</div>
<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">
<div class="flex items-center gap-2 text-white/80">
<svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-lg text-secondary-700">อายุการใช้งานยาวนานกว่า 50 ปี</span>
<span>อายุ 50+ ปี</span>
</div>
<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">
<div class="flex items-center gap-2 text-white/80">
<svg class="w-5 h-5 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-lg text-secondary-700">เชื่อมต่อด้วยความร้อน (Heat Fusion) ไม่รั่วซึม</span>
</div>
<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">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7" />
</svg>
<span class="text-lg text-secondary-700">Food Grade สะอาด ปลอดภัย ไม่เป็นสนิม</span>
<span>Food Grade</span>
</div>
</div>
</div>
@@ -66,26 +65,26 @@ import Footer from '@/components/common/Footer.astro';
</section>
<!-- Product Details -->
<section id="product-specs" class="section bg-white">
<section class="section">
<div class="container-custom">
<div class="max-w-4xl mx-auto">
<h2 class="text-3xl font-bold text-secondary-900 mb-8">รายละเอียดสินค้า</h2>
<h2 class="text-xl sm:text-xl font-bold text-secondary-900 mb-8">รายละเอียดสินค้า</h2>
<div class="prose prose-lg max-w-none">
<p class="text-lg text-secondary-700 leading-relaxed mb-4">
<p class="text-lg text-secondary-700 leading-relaxed mb-6">
<strong>ไทยพีพีอาร์ (Thai PPR)</strong> คือทางเลือกที่ดีที่สุดสำหรับงานระบบน้ำคุณภาพสูง ทั้งน้ำร้อนและน้ำเย็นในอาคารสมัยใหม่ ผลิตจากวัสดุ <strong>Polypropylene Random Copolymer (PPR)</strong> เกรดพรีเมียม ทำให้มั่นใจได้ถึงความสะอาด ปลอดภัย และมีสถานะเป็น <strong>Food Grade</strong> ที่เหมาะสำหรับระบบน้ำดื่มโดยเฉพาะ
</p>
<p class="text-lg text-secondary-700 leading-relaxed mb-4">
<p class="text-lg text-secondary-700 leading-relaxed mb-6">
ด้วยคุณสมบัติเด่นในการ <strong>ทนทานต่ออุณหภูมิสูง</strong> (ได้ถึง 95°C) และแรงดันที่คงที่ ไทยพีพีอาร์ จึงไม่มีปัญหาเรื่องการเกิดสนิมหรือตะกรันสะสม ทำให้มีอายุการใช้งานยาวนานกว่า 50 ปี การติดตั้งใช้เทคโนโลยี <strong>การเชื่อมแบบหลอมรวมด้วยความร้อน (Heat Fusion)</strong> ซึ่งทำให้รอยต่อของท่อและข้อต่อเป็นเนื้อเดียวกัน 100% จึงมั่นใจได้ว่าจะไม่มีปัญหารั่วซึมตลอดอายุการใช้งาน
</p>
<p class="text-lg text-secondary-700 leading-relaxed mb-4">
<strong>PPR (Polypropylene Random Copolymer)</strong> เป็นเม็ดพลาสติกคุณภาพสูงชนิดหนึ่ง ผลิตจากเม็ดพลาสติก PP-R(80) ชั้นดีจากยุโรป จึงทำให้มีเนื้อพลาสติกที่มีคุณภาพและความหนาแน่นสูง แสงลอดผ่านไม่ได้ วางใจได้ในคุณภาพและอายุการใช้งาน
<p class="text-lg text-secondary-700 leading-relaxed mb-6">
<strong>PPR (Polypropylene Random Copolymer)</strong> เป็นเม็ดพลาสติกคุณภาพสูงชนิดหนึ่ง ผลิตจากเม็ดพลาสติก PP-R(80) ชั้นดีจากยุโรป จึงทำให้มีเนื้อพลาสติกที่มีคุณภาพและความหนาแน่นสูง แสงลอดผ่านได้ไม่ วางใจได้ในคุณภาพและอายุการใช้งาน
</p>
<h3 class="text-2xl font-bold text-secondary-900 mt-8 mb-4">คุณสมบัติเด่นของไทยพีพีอาร์</h3>
<h3 class="text-lg sm:text-xl font-bold text-secondary-900 mt-8 mb-4">คุณสมบัติเด่นของไทยพีพีอาร์</h3>
<ul class="list-disc pl-6 mb-4 space-y-2">
<ul class="list-disc pl-6 mb-6 space-y-2 text-secondary-700">
<li><strong>ทนความร้อนได้สูงถึง 95°C</strong> - เหมาะกับการใช้เป็นท่อน้ำร้อนเพื่อการอุปโภคบริโภค</li>
<li><strong>ทนแรงดันได้สูงสุด 20 บาร์</strong> - เหมาะกับงานระบบประปาทั่วไปและอุตสาหกรรม</li>
<li><strong>สะอาดไม่เป็นสนิม ปราศจากโลหะหนักและสิ่งปนเปื้อน</strong> - น้ำที่ไหลผ่านท่อ PPR สะอาดปลอดภัย ไม่เป็นสนิม มีสีหรือกลิ่นปกติ</li>
@@ -95,9 +94,9 @@ import Footer from '@/components/common/Footer.astro';
<li><strong>เชื่อมต่อเป็นเนื้อเดียวกัน ด้วยความร้อน (Heat Fusion) ไม่รั่วซึม</strong></li>
</ul>
<h3 class="text-2xl font-bold text-secondary-900 mt-8 mb-4">ข้อต่อ PPR</h3>
<h3 class="text-lg sm:text-xl font-bold text-secondary-900 mt-8 mb-4">ข้อต่อ PPR</h3>
<p class="text-lg text-secondary-700 leading-relaxed mb-4">
<p class="text-lg text-secondary-700 leading-relaxed mb-6">
ข้อต่อ PPR ผลิตตามมาตรฐาน DIN16962-5 สามารถติดตั้งร่วมกับท่อประเภทอื่นๆ ได้ตามลักษณะงาน เนื่องจากมีข้อต่อประเภทเกลียวชนิดต่างๆ มากมายจึงทำให้สะดวก และไม่มีปัญหาในการใช้งานร่วมกัน รวมทั้งเกลียวเป็นชนิดทำจากทองเหลืองและชนิดทำจากทองเหลืองชุบนิเกิลทำให้ไม่เป็นสนิม อีกทั้งข้อต่อ PPR สามารถทนต่อแรงดันได้สูงสุด 20 บาร์
</p>
</div>
@@ -106,46 +105,53 @@ import Footer from '@/components/common/Footer.astro';
</section>
<!-- Product Photos -->
<section class="section bg-white">
<section class="section bg-secondary-50">
<div class="container-custom">
<h2 class="text-2xl font-bold text-secondary-900 mb-6">รูปภาพสินค้า</h2>
<h2 class="text-lg sm:text-xl font-bold text-secondary-900 mb-6">รูปภาพสินค้า</h2>
<div class="grid grid-cols-2 md:grid-cols-3 gap-4">
<img src="/images/products-cropped/ppr-pipe_000C.jpg" alt="ท่อ PPR ไทย" class="w-full h-auto rounded-lg shadow-md" />
<img src="/images/ppr/TPPR55.jpg" alt="ท่อ PPR ไทย" class="w-full h-auto rounded-lg shadow-md" />
<div class="image-frame aspect-video">
<img src="/images/products-cropped/ppr-pipe_000C.jpg" alt="ท่อ PPR ไทย" class="w-full h-full object-cover" width="600" height="400" loading="lazy" decoding="async" />
</div>
<div class="image-frame aspect-video">
<img src="/images/ppr/TPPR55.jpg" alt="ท่อ PPR ไทย" class="w-full h-full object-cover" width="600" height="400" loading="lazy" decoding="async" />
</div>
</div>
</div>
</section>
<section id="product-prices" class="section bg-gradient-to-br from-primary-50 to-accent-50">
<!-- Price List Download -->
<section class="section gradient-mesh">
<div class="container-custom">
<h2 class="text-3xl font-bold text-secondary-900 mb-8 text-center">📥 ดาวน์โหลดราคาสินค้า</h2>
<div class="max-w-md mx-auto">
<a href="/documents/PRICE-LIST_TPPR_V28-2023 [26012023].pdf" target="_blank" class="flex items-center gap-4 p-4 bg-white rounded-xl shadow-sm hover:shadow-md transition-shadow">
<div class="card-glass p-8 max-w-lg mx-auto">
<h2 class="text-lg sm:text-xl font-bold text-secondary-900 mb-6 text-center">ดาวน์โหลดราคาสินค้า</h2>
<a href="/documents/PRICE-LIST_TPPR_V28-2023 [26012023].pdf" target="_blank" class="flex items-center gap-4 p-4 bg-secondary-50 rounded-xl hover:bg-secondary-100 transition-colors group">
<svg class="w-10 h-10 text-red-600 flex-shrink-0" fill="currentColor" viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8l-6-6zm-1 9V3.5L18.5 9H13zM8 13h8v2H8v-2zm0 4h8v2H8v-2zm0-8h2v2H8V9z"/></svg>
<div><div class="font-medium text-secondary-900">Price List TPPR V28-2023</div><div class="text-sm text-secondary-500">PDF - ดาวน์โหลดราคา</div></div>
<div>
<div class="font-semibold text-secondary-900 group-hover:text-primary-600 transition-colors">Price List TPPR V28-2023</div>
<div class="text-sm text-secondary-500">PDF - ดาวน์โหลดราคา</div>
</div>
</a>
</div>
</div>
</section>
<section id="contact-cta" class="section bg-white">
<!-- Contact CTA -->
<section class="cta-gradient py-16">
<div class="container-custom text-center">
<h2 class="text-3xl md:text-4xl font-bold text-secondary-900 mb-6">สนใจสินค้าของเรา?</h2>
<p class="text-xl text-secondary-600 mb-8 max-w-2xl mx-auto">
<h2 class="text-xl sm:text-2xl font-bold text-white mb-6">สนใจสินค้าของเรา?</h2>
<p class="text-lg text-white/80 mb-8 max-w-2xl mx-auto">
ติดต่อเราวันนี้เพื่อรับคำแนะนำและราคาพิเศษ
</p>
<div class="flex flex-wrap justify-center gap-4">
<a href="https://line.me/ti/p/~dealplustech" target="_blank" class="inline-flex items-center space-x-2 bg-white border-2 border-[#06C755] text-[#06C755] hover:bg-[#06C755] hover:text-white px-8 py-4 rounded-xl font-medium transition-all hover:shadow-lg active:scale-95 text-lg">
<img src="/images/line-icon.png" alt="Line" class="w-5 h-5 line-icon" />
<span>แชท Line</span>
<a href="https://line.me/ti/p/~dealplustech" target="_blank" class="btn-white">
Line: @dealplustech
</a>
<a href="tel:0905551415" class="inline-flex items-center space-x-2 bg-green-600 hover:bg-green-700 text-white px-8 py-4 rounded-xl font-medium transition-all hover:shadow-lg active:scale-95 text-lg">
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/></svg>
<span> 090-555-1415</span>
<a href="tel:0905551415" class="btn-white">
โทร 090-555-1415
</a>
</div>
<p class="text-lg text-secondary-600 mt-6">
<strong>โทร:</strong> 090-555-1415 &nbsp;|&nbsp; <strong>Line Id:</strong> Jppselection &nbsp;|&nbsp; <strong>E-mail:</strong> dealplustech@gmail.com
<p class="text-base text-white/70 mt-8">
<strong>โทร:</strong> 090-555-1415 &nbsp;|&nbsp; <strong>Line Id:</strong> dealplustech &nbsp;|&nbsp; <strong>E-mail:</strong> dealplustech@gmail.com
</p>
</div>
</section>