Part 1: Source code - Astro project structure and components

This commit is contained in:
Kunthawat Greethong
2026-05-21 16:33:59 +07:00
commit 5219cf8f72
74 changed files with 14762 additions and 0 deletions

View File

@@ -0,0 +1,277 @@
---
import BaseLayout from '@/layouts/BaseLayout.astro';
---
<BaseLayout title="รั้วเทวดา | ระบบรั้วสำเร็จรูป คุณภาพสูง ราคาคุ้มค่า" description="รั้วเทวดา ระบบรั้วสำเร็จรูปสำหรับโรงงาน โกดัง สถานที่เกษตร รีสอร์ท และอื่นๆ พร้อมบริการติดตั้งครบวงจร">
<section class="bg-gradient-to-br from-primary-700 to-primary-600 text-white py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<nav class="text-sm mb-4 text-primary-100">
<a href="/" class="hover:text-white">หน้าแรก</a> / <a href="/all-products" class="hover:text-white">สินค้าทั้งหมด</a> / <span class="text-white">รั้วเทวดา</span>
</nav>
<div class="grid lg:grid-cols-2 gap-8 items-center">
<div class="img-hover rounded-2xl overflow-hidden bg-white/10">
<img src="/images/products-raw/tevada/TEVADA_001-987x1024.png" alt="รั้วเทวดา" class="w-full" loading="eager" />
</div>
<div>
<span class="text-sm text-primary-200 font-medium">ระบบรั้วและฉากกั้น</span>
<h1 class="text-3xl lg:text-4xl font-bold mt-2 mb-4">รั้วเทวดา</h1>
<p class="text-primary-100 text-lg mb-6">ระบบรั้วสำเร็จรูปคุณภาพสูง ราคาคุ้มค่า เหมาะสำหรับโรงงาน โกดัง สถานที่เกษตร และอื่นๆ พร้อมบริการติดตั้งครบวงจรโดยทีมงานมืออาชีพ</p>
<div class="flex flex-wrap gap-4">
<a href="/contact-us" class="bg-accent-500 hover:bg-accent-600 text-white py-3 px-6 rounded-xl font-semibold">สอบถามราคา</a>
<a href="https://line.me/ti/p/~JPPSELECTION" target="_blank" rel="noopener" class="bg-white/10 hover:bg-white/20 text-white py-3 px-6 rounded-xl font-semibold border border-white/30 flex items-center gap-2">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"><path d="M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.344.282-.629.627-.629h2.386c.349 0 .63.285.63.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.629.63-.629.345 0 .63.284.63.629v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.629.627-.629.349 0 .631.284.631.629v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.629.63-.629.348 0 .63.284.63.629v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314"/></svg>
แชท LINE
</a>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-16 bg-neutral-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl lg:text-4xl font-bold text-primary-700 mb-4">คุณสมบัติเด่น</h2>
<p class="text-neutral-600 max-w-2xl mx-auto">ทำไมต้องเลือกรั้วเทวดา</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
<div class="bg-white rounded-xl p-6 shadow-sm hover:shadow-md transition-shadow text-center">
<div class="text-4xl mb-4">🛡️</div>
<h3 class="text-lg font-semibold text-neutral-900 mb-2">วัสดุคุณภาพ</h3>
<p class="text-sm text-neutral-600">แผ่นรั้วทำจากเหล็กพ่นสีชุบกันสนิม ทนทานต่อสภาพอากาศไทย</p>
</div>
<div class="bg-white rounded-xl p-6 shadow-sm hover:shadow-md transition-shadow text-center">
<div class="text-4xl mb-4">🔧</div>
<h3 class="text-lg font-semibold text-neutral-900 mb-2">ติดตั้งง่าย</h3>
<p class="text-sm text-neutral-600">ระบบ Prefab สำเร็จรูป ติดตั้งได้รวดเร็ว ลดค่าแรง</p>
</div>
<div class="bg-white rounded-xl p-6 shadow-sm hover:shadow-md transition-shadow text-center">
<div class="text-4xl mb-4">✨</div>
<h3 class="text-lg font-semibold text-neutral-900 mb-2">ดูแลรักษาง่าย</h3>
<p class="text-sm text-neutral-600">ไม่ต้องทาสี ทำความสะอาดง่าย อายุการใช้งานยาวนาน</p>
</div>
<div class="bg-white rounded-xl p-6 shadow-sm hover:shadow-md transition-shadow text-center">
<div class="text-4xl mb-4">💰</div>
<h3 class="text-lg font-semibold text-neutral-900 mb-2">ราคาคุ้มค่า</h3>
<p class="text-sm text-neutral-600">ราคาถูกกว่ารั้วคอนกรีต แต่คุณภาพไม่แพ้กัน</p>
</div>
</div>
</div>
</section>
<!-- Models Section -->
<section class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl lg:text-4xl font-bold text-primary-700 mb-4">รุ่นสินค้า</h2>
<p class="text-neutral-600 max-w-2xl mx-auto">เลือกขนาดตามความต้องการ</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<!-- TVD-1250 -->
<div class="bg-white rounded-2xl overflow-hidden shadow-sm hover:shadow-xl transition-all border border-neutral-200">
<div class="aspect-video overflow-hidden">
<img src="/images/products-raw/tevada/TEVADA_003-1024x647.png" alt="TVD-1250" class="w-full h-full object-cover" loading="lazy" />
</div>
<div class="p-6">
<div class="flex items-center justify-between mb-3">
<h3 class="text-xl font-bold text-neutral-900">TVD-1250</h3>
<span class="text-lg font-semibold text-primary-600">฿3,200</span>
</div>
<div class="space-y-2 text-sm text-neutral-600 mb-4">
<div class="flex justify-between"><span>ความหนา:</span><span class="font-medium">0.5 มิลลิเมตร</span></div>
<div class="flex justify-between"><span>สูง:</span><span class="font-medium">1.25 เมตร</span></div>
<div class="flex justify-between"><span>กว้าง:</span><span class="font-medium">2 เมตร</span></div>
</div>
<ul class="space-y-1">
<li class="flex items-center text-sm text-neutral-700"><span class="text-primary-600 mr-2">✓</span>เหมาะสำหรับรั้วส่วนตัว</li>
<li class="flex items-center text-sm text-neutral-700"><span class="text-primary-600 mr-2">✓</span>น้ำหนักเบา ติดตั้งง่าย</li>
<li class="flex items-center text-sm text-neutral-700"><span class="text-primary-600 mr-2">✓</span>ราคาประหยัด</li>
</ul>
</div>
</div>
<!-- TVD-1500 -->
<div class="bg-white rounded-2xl overflow-hidden shadow-sm hover:shadow-xl transition-all border border-neutral-200">
<div class="aspect-video overflow-hidden">
<img src="/images/products-raw/tevada/TEVADA_004.png" alt="TVD-1500" class="w-full h-full object-cover" loading="lazy" />
</div>
<div class="p-6">
<div class="flex items-center justify-between mb-3">
<h3 class="text-xl font-bold text-neutral-900">TVD-1500</h3>
<span class="text-lg font-semibold text-primary-600">฿3,800</span>
</div>
<div class="space-y-2 text-sm text-neutral-600 mb-4">
<div class="flex justify-between"><span>ความหนา:</span><span class="font-medium">0.6 มิลลิเมตร</span></div>
<div class="flex justify-between"><span>สูง:</span><span class="font-medium">1.50 เมตร</span></div>
<div class="flex justify-between"><span>กว้าง:</span><span class="font-medium">2 เมตร</span></div>
</div>
<ul class="space-y-1">
<li class="flex items-center text-sm text-neutral-700"><span class="text-primary-600 mr-2">✓</span>เหมาะสำหรับโกดัง</li>
<li class="flex items-center text-sm text-neutral-700"><span class="text-primary-600 mr-2">✓</span>ความแข็งแรงสูง</li>
<li class="flex items-center text-sm text-neutral-700"><span class="text-primary-600 mr-2">✓</span>ทนสนิมได้ดี</li>
</ul>
</div>
</div>
<!-- TVD-2000 -->
<div class="bg-white rounded-2xl overflow-hidden shadow-sm hover:shadow-xl transition-all border border-neutral-200">
<div class="aspect-video overflow-hidden">
<img src="/images/products-raw/tevada/TEVADA_005.png" alt="TVD-2000" class="w-full h-full object-cover" loading="lazy" />
</div>
<div class="p-6">
<div class="flex items-center justify-between mb-3">
<h3 class="text-xl font-bold text-neutral-900">TVD-2000</h3>
<span class="text-lg font-semibold text-primary-600">฿4,500</span>
</div>
<div class="space-y-2 text-sm text-neutral-600 mb-4">
<div class="flex justify-between"><span>ความหนา:</span><span class="font-medium">0.7 มิลลิเมตร</span></div>
<div class="flex justify-between"><span>สูง:</span><span class="font-medium">2.00 เมตร</span></div>
<div class="flex justify-between"><span>กว้าง:</span><span class="font-medium">2 เมตร</span></div>
</div>
<ul class="space-y-1">
<li class="flex items-center text-sm text-neutral-700"><span class="text-primary-600 mr-2">✓</span>เหมาะสำหรับโรงงาน</li>
<li class="flex items-center text-sm text-neutral-700"><span class="text-primary-600 mr-2">✓</span>ทนทานสูงสุด</li>
<li class="flex items-center text-sm text-neutral-700"><span class="text-primary-600 mr-2">✓</span>รองรับพื้นที่ขนาดใหญ่</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-- Applications Section -->
<section class="py-16 bg-primary-700 text-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl lg:text-4xl font-bold mb-4">การประยุกต์ใช้งาน</h2>
<p class="text-primary-100 max-w-2xl mx-auto">เหมาะสำหรับหลายประเภทธุรกิจ</p>
</div>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4">
<div class="bg-white/10 backdrop-blur-sm rounded-xl p-4 text-center hover:bg-white/20 transition-colors">
<div class="text-3xl mb-2">🏭</div>
<h4 class="font-medium text-sm">โรงงานอุตสาหกรรม</h4>
<p class="text-xs text-white/70 mt-1">รั้วกั้นพื้นที่โรงงาน ความปลอดภัยสูง</p>
</div>
<div class="bg-white/10 backdrop-blur-sm rounded-xl p-4 text-center hover:bg-white/20 transition-colors">
<div class="text-3xl mb-2">📦</div>
<h4 class="font-medium text-sm">โกดังสินค้า</h4>
<p class="text-xs text-white/70 mt-1">รั้วกั้นเขตเก็บสินค้า ทนทานต่อแรงกระแทก</p>
</div>
<div class="bg-white/10 backdrop-blur-sm rounded-xl p-4 text-center hover:bg-white/20 transition-colors">
<div class="text-3xl mb-2">🌾</div>
<h4 class="font-medium text-sm">สถานที่เกษตร</h4>
<p class="text-xs text-white/70 mt-1">รั้วล้อมไร่นา ฟาร์ม สวนเกษตร</p>
</div>
<div class="bg-white/10 backdrop-blur-sm rounded-xl p-4 text-center hover:bg-white/20 transition-colors">
<div class="text-3xl mb-2">🏝️</div>
<h4 class="font-medium text-sm">รีสอร์ทและโรงแรม</h4>
<p class="text-xs text-white/70 mt-1">รั้วกั้นพื้นที่ สวยงาม ทนสภาพอากาศ</p>
</div>
<div class="bg-white/10 backdrop-blur-sm rounded-xl p-4 text-center hover:bg-white/20 transition-colors">
<div class="text-3xl mb-2">🏫</div>
<h4 class="font-medium text-sm">สถานศึกษา</h4>
<p class="text-xs text-white/70 mt-1">รั้วกั้นโรงเรียน มหาวิทยาลัย</p>
</div>
<div class="bg-white/10 backdrop-blur-sm rounded-xl p-4 text-center hover:bg-white/20 transition-colors">
<div class="text-3xl mb-2">🏠</div>
<h4 class="font-medium text-sm">บ้านพักอาศัย</h4>
<p class="text-xs text-white/70 mt-1">รั้วรอบบ้าน ความเป็นส่วนตัวสูง</p>
</div>
</div>
</div>
</section>
<!-- Installation Steps -->
<section class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl lg:text-4xl font-bold text-primary-700 mb-4">ขั้นตอนการติดตั้ง</h2>
<p class="text-neutral-600 max-w-2xl mx-auto">ติดตั้งง่าย รวดเร็ว ด้วยทีมงานมืออาชีพ</p>
</div>
<div class="grid md:grid-cols-4 gap-6">
<div class="relative bg-white rounded-xl p-6 shadow-sm text-center border border-neutral-200">
<div class="w-12 h-12 bg-primary-600 text-white rounded-full flex items-center justify-center text-xl font-bold mx-auto mb-3">1</div>
<h4 class="font-semibold text-neutral-900 mb-1">วัดพื้นที่</h4>
<p class="text-sm text-neutral-600">วัดขนาดพื้นที่ที่ต้องการติดตั้งรั้ว</p>
</div>
<div class="relative bg-white rounded-xl p-6 shadow-sm text-center border border-neutral-200">
<div class="w-12 h-12 bg-primary-600 text-white rounded-full flex items-center justify-center text-xl font-bold mx-auto mb-3">2</div>
<h4 class="font-semibold text-neutral-900 mb-1">ปักเสา</h4>
<p class="text-sm text-neutral-600">ปักเสาเหล็กตามระยะที่กำหนด</p>
</div>
<div class="relative bg-white rounded-xl p-6 shadow-sm text-center border border-neutral-200">
<div class="w-12 h-12 bg-primary-600 text-white rounded-full flex items-center justify-center text-xl font-bold mx-auto mb-3">3</div>
<h4 class="font-semibold text-neutral-900 mb-1">ติดตั้งแผ่นรั้ว</h4>
<p class="text-sm text-neutral-600">ยึดแผ่นรั้วเข้ากับเสา</p>
</div>
<div class="relative bg-white rounded-xl p-6 shadow-sm text-center border border-neutral-200">
<div class="w-12 h-12 bg-primary-600 text-white rounded-full flex items-center justify-center text-xl font-bold mx-auto mb-3">4</div>
<h4 class="font-semibold text-neutral-900 mb-1">ตรวจสอบ</h4>
<p class="text-sm text-neutral-600">ตรวจสอบความเรียบร้อยและความแข็งแรง</p>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section class="py-16 bg-neutral-50">
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-12">
<h2 class="text-3xl lg:text-4xl font-bold text-primary-700 mb-4">คำถามที่พบบ่อย</h2>
<p class="text-neutral-600 max-w-2xl mx-auto">ข้อมูลเพิ่มเติมเกี่ยวกับรั้วเทวดา</p>
</div>
<div class="space-y-4">
<details class="group bg-white rounded-xl shadow-sm">
<summary class="flex items-center justify-between p-5 cursor-pointer hover:bg-neutral-50">
<span class="font-medium text-neutral-900">รั้วเทวดาใช้เวลาติดตั้งนานแค่ไหน?</span>
<span class="ml-4 flex-shrink-0 text-primary-600 group-open:rotate-180 transition-transform">
<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="M19 9l-7 7-7-7"/></svg>
</span>
</summary>
<div class="px-5 pb-5 text-neutral-600">สำหรับพื้นที่ 100 ตารางเมตร ใช้เวลาติดตั้งประมาณ 1-2 วัน ขึ้นอยู่กับสภาพพื้นที่</div>
</details>
<details class="group bg-white rounded-xl shadow-sm">
<summary class="flex items-center justify-between p-5 cursor-pointer hover:bg-neutral-50">
<span class="font-medium text-neutral-900">อายุการใช้งานของรั้วเทวดาเท่าไหร่?</span>
<span class="ml-4 flex-shrink-0 text-primary-600 group-open:rotate-180 transition-transform">
<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="M19 9l-7 7-7-7"/></svg>
</span>
</summary>
<div class="px-5 pb-5 text-neutral-600">รั้วเทวดามีอายุการใช้งานประมาณ 15-20 ปี ขึ้นอยู่กับสภาพแวดล้อมและการดูแลรักษา</div>
</details>
<details class="group bg-white rounded-xl shadow-sm">
<summary class="flex items-center justify-between p-5 cursor-pointer hover:bg-neutral-50">
<span class="font-medium text-neutral-900">สามารถสั่งตัดขนาดพิเศษได้หรือไม่?</span>
<span class="ml-4 flex-shrink-0 text-primary-600 group-open:rotate-180 transition-transform">
<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="M19 9l-7 7-7-7"/></svg>
</span>
</summary>
<div class="px-5 pb-5 text-neutral-600">ใช่ สามารถสั่งตัดขนาดตามความต้องการของลูกค้าได้ ราคาจะปรับตามขนาดที่สั่งทำ</div>
</details>
<details class="group bg-white rounded-xl shadow-sm">
<summary class="flex items-center justify-between p-5 cursor-pointer hover:bg-neutral-50">
<span class="font-medium text-neutral-900">มีบริการติดตั้งให้หรือไม่?</span>
<span class="ml-4 flex-shrink-0 text-primary-600 group-open:rotate-180 transition-transform">
<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="M19 9l-7 7-7-7"/></svg>
</span>
</summary>
<div class="px-5 pb-5 text-neutral-600">มีบริการติดตั้งครบวงจร ทั้งในกรุงเทพฯ และต่างจังหวัด ค่าบริการขึ้นอยู่กับระยะทางและความยากง่าย</div>
</details>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-16 bg-gradient-to-br from-accent-500 to-accent-600 text-white">
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 class="text-3xl lg:text-4xl font-bold mb-4">สนใจรั้วเทวดา?</h2>
<p class="text-lg text-white/80 mb-8">ติดต่อทีมงานของเราวันนี้เพื่อรับใบเสนอราคาและคำแนะนำจากผู้เชี่ยวชาญ</p>
<div class="flex flex-wrap justify-center gap-4">
<a href="/contact-us" class="bg-white text-primary-700 py-3 px-8 rounded-xl font-semibold hover:bg-primary-50">ติดต่อสอบถาม</a>
<a href="https://line.me/ti/p/~JPPSELECTION" target="_blank" rel="noopener" class="bg-white/10 hover:bg-white/20 text-white py-3 px-8 rounded-xl font-semibold border border-white/30 flex items-center gap-2">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24"><path d="M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.344.282-.629.627-.629h2.386c.349 0 .63.285.63.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.629.63-.629.345 0 .63.284.63.629v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.629.627-.629.349 0 .631.284.631.629v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.629.63-.629.348 0 .63.284.63.629v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314"/></svg>
แชท LINE
</a>
</div>
</div>
</section>
</BaseLayout>