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:
@@ -7,57 +7,54 @@ import Footer from '@/components/common/Footer.astro';
|
||||
<BaseLayout title="Realflex | สายอ่อนสแตนเลส" description="จำหน่ายRealflex สายอ่อนสแตนเลสคุณภาพสูง ราคาโรงงาน ส่งฟรี กทม. ปริมณฑล">
|
||||
<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/realflex_000C.jpg" alt="Product" 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/realflex_000C.jpg" alt="Realflex" 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">Realflex | สายอ่อนสแตนเลส</h1>
|
||||
<h2 class="text-xl sm:text-xl md:text-2xl text-secondary-600 mb-6 sm:mb-8 text-center sm:text-left">Stainless Steel Flexible Hose Fitting</h2>
|
||||
<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">Realflex | สายอ่อนสแตนเลส</h1>
|
||||
<h2 class="text-xl sm:text-xl md:text-2xl text-white/80 mb-8">Stainless Steel Flexible Hose Fitting</h2>
|
||||
|
||||
<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="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 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" />
|
||||
<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>
|
||||
</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">คุณภาพสูง มาตรฐานอุตสาหกรรม</span>
|
||||
<span>คุณภาพสูง มาตรฐานอุตสาหกรรม</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">ราคาโรงงาน คุ้มค่า</span>
|
||||
<span>ราคาโรงงาน คุ้มค่า</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">จัดส่งรวดเร็ว ส่งฟรี กทม. ปริมณฑล</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">รับประกันสินค้า</span>
|
||||
<span>จัดส่งรวดเร็ว ส่งฟรี กทม. ปริมณฑล</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -68,10 +65,10 @@ import Footer from '@/components/common/Footer.astro';
|
||||
<section id="product-specs" class="section bg-white">
|
||||
<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 font-bold text-secondary-900 mb-8">รายละเอียดสินค้า</h2>
|
||||
<div class="prose prose-lg max-w-none">
|
||||
<div class="flex flex-wrap justify-center gap-4 my-8">
|
||||
<img src="/images/realflex/realflex-001.png" alt="Realflex" class="max-w-md w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-001.png" alt="Realflex" class="max-w-md w-full h-auto rounded-lg shadow-md" width="400" height="300" loading="lazy" decoding="async" />
|
||||
</div>
|
||||
|
||||
<p class="text-lg text-secondary-700 leading-relaxed">
|
||||
@@ -96,11 +93,11 @@ import Footer from '@/components/common/Footer.astro';
|
||||
</p>
|
||||
|
||||
<div class="flex flex-wrap justify-center gap-4 my-8">
|
||||
<img src="/images/realflex/realflex-003.png" alt="Realflex Detail" class="max-w-sm w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-002.png" alt="Realflex Application" class="max-w-md w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-003.png" alt="Realflex Detail" class="max-w-sm w-full h-auto rounded-lg shadow-md" width="350" height="300" loading="lazy" decoding="async" />
|
||||
<img src="/images/realflex/realflex-002.png" alt="Realflex Application" class="max-w-md w-full h-auto rounded-lg shadow-md" width="400" height="300" loading="lazy" decoding="async" />
|
||||
</div>
|
||||
|
||||
<h3 class="text-2xl font-bold text-secondary-900 mt-8 mb-4">คุณสมบัติเด่น</h3>
|
||||
<h3 class="text-xl font-bold text-secondary-900 mt-8 mb-4">คุณสมบัติเด่น</h3>
|
||||
|
||||
<div class="grid md:grid-cols-2 gap-6 my-8">
|
||||
<div class="bg-gray-50 p-6 rounded-lg">
|
||||
@@ -129,10 +126,10 @@ import Footer from '@/components/common/Footer.astro';
|
||||
</p>
|
||||
|
||||
<div class="flex flex-wrap justify-center gap-4 my-8">
|
||||
<img src="/images/realflex/realflex-005.png" alt="Why Realflex" class="max-w-lg w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-005.png" alt="Why Realflex" class="max-w-lg w-full h-auto rounded-lg shadow-md" width="500" height="300" loading="lazy" decoding="async" />
|
||||
</div>
|
||||
|
||||
<h3 class="text-2xl font-bold text-secondary-900 mt-8 mb-4">ทำไมต้องเลือก Realflex?</h3>
|
||||
<h3 class="text-xl font-bold text-secondary-900 mt-8 mb-4">ทำไมต้องเลือก Realflex?</h3>
|
||||
<ul class="list-disc pl-6 space-y-3 text-lg text-secondary-700">
|
||||
<li>Realflex® ให้ความยาวเพิ่มอีก 25% สำหรับท่อปล่อย (สูงสุด 140 มม.) และความสูงเพิ่มอีก 50% สำหรับแบร็คเก็ตด้านข้าง (102 มม.) สร้างโซลูชันสำหรับการติดตั้งสเปร์เกลอร์ทุกรูปแบบ รวมถึงสเปร์เกลอร์แบบเพนเดนต์เรียบหรือซ่อน</li>
|
||||
<li>ท่อปล่อยที่มีร่องเก็บและการออกแบบแบร็คเก็ตด้านข้างที่เป็นเอกลักษณ์ ทำงานกับระบบเพดาน T-bar และโครงไม้หรือโลหะทุกรูปแบบ</li>
|
||||
@@ -143,40 +140,40 @@ import Footer from '@/components/common/Footer.astro';
|
||||
<li>แบร็คเกัตประกอบสำเร็จพร้อมบาร์สี่เหลี่ยมมีจำหน่ายตามคำขอ</li>
|
||||
</ul>
|
||||
|
||||
<h3 class="text-2xl font-bold text-secondary-900 mt-8 mb-4">ข้อมูลจำเพาะทางเทคนิค</h3>
|
||||
<h3 class="text-xl font-bold text-secondary-900 mt-8 mb-4">ข้อมูลจำเพาะทางเทคนิค</h3>
|
||||
<div class="flex flex-wrap justify-center gap-4 my-8">
|
||||
<img src="/images/realflex/realflex-030.png" alt="Technical Spec 1" class="max-w-lg w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-031.png" alt="Technical Spec 2" class="max-w-lg w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-032.png" alt="Technical Spec 3" class="max-w-lg w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-033.png" alt="Technical Spec 4" class="max-w-lg w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-034.png" alt="Technical Spec 5" class="max-w-lg w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-030.png" alt="Technical Spec 1" class="max-w-lg w-full h-auto rounded-lg shadow-md" width="500" height="300" loading="lazy" decoding="async" />
|
||||
<img src="/images/realflex/realflex-031.png" alt="Technical Spec 2" class="max-w-lg w-full h-auto rounded-lg shadow-md" width="500" height="300" loading="lazy" decoding="async" />
|
||||
<img src="/images/realflex/realflex-032.png" alt="Technical Spec 3" class="max-w-lg w-full h-auto rounded-lg shadow-md" width="500" height="300" loading="lazy" decoding="async" />
|
||||
<img src="/images/realflex/realflex-033.png" alt="Technical Spec 4" class="max-w-lg w-full h-auto rounded-lg shadow-md" width="500" height="300" loading="lazy" decoding="async" />
|
||||
<img src="/images/realflex/realflex-034.png" alt="Technical Spec 5" class="max-w-lg w-full h-auto rounded-lg shadow-md" width="500" height="300" loading="lazy" decoding="async" />
|
||||
</div>
|
||||
|
||||
<h3 class="text-2xl font-bold text-secondary-900 mt-8 mb-4">โครงสร้างและข้อมูลวัสดุ</h3>
|
||||
<h3 class="text-xl font-bold text-secondary-900 mt-8 mb-4">โครงสร้างและข้อมูลวัสดุ</h3>
|
||||
<div class="flex flex-wrap justify-center gap-4 my-8">
|
||||
<img src="/images/realflex/realflex-035.png" alt="Structure & Material" class="max-w-lg w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-035.png" alt="Structure & Material" class="max-w-lg w-full h-auto rounded-lg shadow-md" width="500" height="300" loading="lazy" decoding="async" />
|
||||
</div>
|
||||
|
||||
<h3 class="text-2xl font-bold text-secondary-900 mt-8 mb-4">อุปกรณ์เสริม</h3>
|
||||
<h3 class="text-xl font-bold text-secondary-900 mt-8 mb-4">อุปกรณ์เสริม</h3>
|
||||
<div class="flex flex-wrap justify-center gap-4 my-8">
|
||||
<img src="/images/realflex/realflex-020.png" alt="Accessories 1" class="max-w-lg w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-021.png" alt="Accessories 2" class="max-w-lg w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-020.png" alt="Accessories 1" class="max-w-lg w-full h-auto rounded-lg shadow-md" width="500" height="300" loading="lazy" decoding="async" />
|
||||
<img src="/images/realflex/realflex-021.png" alt="Accessories 2" class="max-w-lg w-full h-auto rounded-lg shadow-md" width="500" height="300" loading="lazy" decoding="async" />
|
||||
</div>
|
||||
|
||||
<h3 class="text-2xl font-bold text-secondary-900 mt-8 mb-4">ข้อมูลจำเพาะทางเทคนิค (ต่อ)</h3>
|
||||
<h3 class="text-xl font-bold text-secondary-900 mt-8 mb-4">ข้อมูลจำเพาะทางเทคนิค (ต่อ)</h3>
|
||||
<div class="flex flex-wrap justify-center gap-4 my-8">
|
||||
<img src="/images/realflex/realflex-023.png" alt="Technical Spec Continued 1" class="max-w-lg w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-024.png" alt="Technical Spec Continued 2" class="max-w-2xl w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-023.png" alt="Technical Spec Continued 1" class="max-w-lg w-full h-auto rounded-lg shadow-md" width="500" height="300" loading="lazy" decoding="async" />
|
||||
<img src="/images/realflex/realflex-024.png" alt="Technical Spec Continued 2" class="max-w-2xl w-full h-auto rounded-lg shadow-md" width="700" height="300" loading="lazy" decoding="async" />
|
||||
</div>
|
||||
|
||||
<h3 class="text-2xl font-bold text-secondary-900 mt-8 mb-4">ใช้ Realflex® Radius Gauge ตรวจสอบการงอของสาย</h3>
|
||||
<h3 class="text-xl font-bold text-secondary-900 mt-8 mb-4">ใช้ Realflex® Radius Gauge ตรวจสอบการงอของสาย</h3>
|
||||
<div class="flex flex-wrap justify-center gap-4 my-8">
|
||||
<img src="/images/realflex/realflex-025.png" alt="Radius Gauge" class="max-w-lg w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-025.png" alt="Radius Gauge" class="max-w-lg w-full h-auto rounded-lg shadow-md" width="500" height="300" loading="lazy" decoding="async" />
|
||||
</div>
|
||||
|
||||
<h3 class="text-2xl font-bold text-secondary-900 mt-8 mb-4">การงอสาย ถูกต้องหรือไม่ถูกต้อง?</h3>
|
||||
<h3 class="text-xl font-bold text-secondary-900 mt-8 mb-4">การงอสาย ถูกต้องหรือไม่ถูกต้อง?</h3>
|
||||
<div class="flex flex-wrap justify-center gap-4 my-8">
|
||||
<img src="/images/realflex/realflex-026.png" alt="Hose Bending" class="max-w-2xl w-full h-auto rounded-lg shadow-md" />
|
||||
<img src="/images/realflex/realflex-026.png" alt="Hose Bending" class="max-w-2xl w-full h-auto rounded-lg shadow-md" width="700" height="300" loading="lazy" decoding="async" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -184,22 +181,23 @@ import Footer from '@/components/common/Footer.astro';
|
||||
</section>
|
||||
|
||||
|
||||
<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 | <strong>Line Id:</strong> dealplustech | <strong>E-mail:</strong> dealplustech@gmail.com
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user