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,65 +7,63 @@ import Footer from '@/components/common/Footer.astro';
<BaseLayout title="รั้วเทวดา" description="รั้วเทวดา แข็งแรง ทนทาน เหนียวกว่า ลวดแรงดึงสูง หนา 2.5 มม. สามารถทนแรงกระแทกได้สูง ทนสนิม ลวดชุบสังกะสีหนาพิเศษ ด้วยกระบวนการแบบจุ่มร้อน ตามมาตรฐานออสเตรเลีย">
<Header slot="header" />
<main class="px-4 sm:px-6 lg:px-8 bg-gradient-to-br from-primary-50 via-white to-accent-50 min-h-screen">
<main class="bg-white min-h-screen">
<!-- Hero Section -->
<section id="product-detail" class="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">
<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-raw/tevada/TEVADA_001-987x1024.png"
alt="รั้วเทวดา"
class="w-full h-auto rounded-xl"
width="600" height="622" loading="eager" fetchpriority="high" decoding="sync"
/>
</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">รั้วเทวดา</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">
รั้วเทวดา
</span>
<h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold text-white mb-4">รั้วเทวดา</h1>
<p class="text-lg sm:text-xl text-white/80 mb-8 leading-relaxed">
รั้วเทวดา แข็งแรง ทนทาน เหนียวกว่า ลวดแรงดึงสูง หนา 2.5 มม. สามารถทนแรงกระแทกได้สูง ทนสนิม ลวดชุบสังกะสีหนาพิเศษ ด้วยกระบวนการแบบจุ่มร้อน ตามมาตรฐานออสเตรเลีย
</p>
<!-- Feature Bullets -->
<div class="grid grid-cols-2 gap-4 mb-8">
<div class="flex items-center space-x-2">
<svg class="w-5 h-5 text-green-600" 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-secondary-700 text-sm">ลวดหนา 2.5 มม.</span>
</div>
<div class="flex items-center space-x-2">
<svg class="w-5 h-5 text-green-600" 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-secondary-700 text-sm">ชุบสังกะสีจุ่มร้อน</span>
</div>
<div class="flex items-center space-x-2">
<svg class="w-5 h-5 text-green-600" 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-secondary-700 text-sm">มาตรฐานออสเตรเลีย</span>
</div>
<div class="flex items-center space-x-2">
<svg class="w-5 h-5 text-green-600" 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-secondary-700 text-sm">ทนสนิม ทนทาน</span>
</div>
</div>
<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="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>ลวดหนา 2.5 มม.</span>
</div>
<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>ชุบสังกะสีจุ่มร้อน</span>
</div>
<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>มาตรฐานออสเตรเลีย</span>
</div>
</div>
</div>
</div>
</div>
@@ -74,7 +72,7 @@ import Footer from '@/components/common/Footer.astro';
<!-- ทำไมต้องรั้วตาข่ายเทวดา -->
<section class="section bg-white">
<div class="container-custom">
<h2 class="text-2xl md:text-3xl font-bold text-secondary-900 mb-8 text-center">ทำไมต้องรั้วตาข่ายเทวดา</h2>
<h2 class="text-2xl md:text-xl font-bold text-secondary-900 mb-8 text-center">ทำไมต้องรั้วตาข่ายเทวดา</h2>
<div class="grid lg:grid-cols-2 gap-8 items-center">
<div>
<img
@@ -85,25 +83,25 @@ import Footer from '@/components/common/Footer.astro';
</div>
<div class="space-y-4">
<div class="flex items-start space-x-3">
<svg class="w-6 h-6 text-green-600 mt-1 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<svg class="w-6 h-6 text-primary-600 mt-1 flex-shrink-0" 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-secondary-700">ลวดแรงดึงสูง หนา 2.5 มม. เหนียวกว่ารั้วทั่วไป</span>
</div>
<div class="flex items-start space-x-3">
<svg class="w-6 h-6 text-green-600 mt-1 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<svg class="w-6 h-6 text-primary-600 mt-1 flex-shrink-0" 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-secondary-700">ลวดชุบสังกะสีหนาพิเศษ ด้วยกระบวนการแบบจุ่มร้อน</span>
</div>
<div class="flex items-start space-x-3">
<svg class="w-6 h-6 text-green-600 mt-1 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<svg class="w-6 h-6 text-primary-600 mt-1 flex-shrink-0" 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-secondary-700">ทนสนิมได้ดีเยี่ยม ตามมาตรฐานออสเตรเลีย</span>
</div>
<div class="flex items-start space-x-3">
<svg class="w-6 h-6 text-green-600 mt-1 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<svg class="w-6 h-6 text-primary-600 mt-1 flex-shrink-0" 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-secondary-700">สามารถทนแรงกระแทกได้สูง</span>
@@ -116,7 +114,7 @@ import Footer from '@/components/common/Footer.astro';
<!-- เปรียบเทียบ -->
<section class="section bg-gray-50">
<div class="container-custom">
<h2 class="text-2xl md:text-3xl font-bold text-secondary-900 mb-8 text-center">เปรียบเทียบความแตกต่าง</h2>
<h2 class="text-2xl md:text-xl font-bold text-secondary-900 mb-8 text-center">เปรียบเทียบความแตกต่าง</h2>
<img
src="/images/products-raw/tevada/TEVADA_003-1024x647.png"
alt="เปรียบเทียบรั้วเทวดา"
@@ -128,7 +126,7 @@ import Footer from '@/components/common/Footer.astro';
<!-- รุ่นสินค้า -->
<section class="section bg-white">
<div class="container-custom">
<h2 class="text-2xl md:text-3xl font-bold text-secondary-900 mb-8 text-center">รุ่นสินค้า</h2>
<h2 class="text-2xl md:text-xl font-bold text-secondary-900 mb-8 text-center">รุ่นสินค้า</h2>
<!-- รุ่น 8-90-15 -->
<div class="mb-12 p-6 bg-gray-50 rounded-xl">
@@ -225,7 +223,7 @@ import Footer from '@/components/common/Footer.astro';
<!-- เสารั้ว Y-Post -->
<section class="section bg-gray-50">
<div class="container-custom">
<h2 class="text-2xl md:text-3xl font-bold text-secondary-900 mb-8 text-center">เสารั้ว Y-Post</h2>
<h2 class="text-2xl md:text-xl font-bold text-secondary-900 mb-8 text-center">เสารั้ว Y-Post</h2>
<div class="grid lg:grid-cols-2 gap-8 items-center">
<img
src="/images/products-raw/tevada/TEVADA_010-1024x113.png"
@@ -244,7 +242,7 @@ import Footer from '@/components/common/Footer.astro';
<!-- วิธีติดตั้ง -->
<section class="section bg-white">
<div class="container-custom">
<h2 class="text-2xl md:text-3xl font-bold text-secondary-900 mb-8 text-center">วิธีติดตั้ง</h2>
<h2 class="text-2xl md:text-xl font-bold text-secondary-900 mb-8 text-center">วิธีติดตั้ง</h2>
<div class="grid md:grid-cols-4 gap-6">
<!-- ตั้ง -->
@@ -303,22 +301,23 @@ import Footer from '@/components/common/Footer.astro';
</section>
<!-- Contact CTA -->
<section id="contact-cta" class="section bg-gray-50">
<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-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>
</main>