Standardize hero grid to items-start for all product pages
This commit is contained in:
@@ -39,7 +39,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
|
||||
</svg>
|
||||
</div>
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
|
||||
<div class="grid lg:grid-cols-2 gap-12 items-center">
|
||||
<div class="grid lg:grid-cols-2 gap-12 items-start">
|
||||
<div class="order-2 lg:order-1">
|
||||
<div class="rounded-2xl overflow-hidden">
|
||||
<img src="/images/products-cropped/grilles_000C.jpg" alt="กริลแอร์พลาสติก" class="w-full h-auto rounded-xl" width="600" height="400" loading="eager" />
|
||||
@@ -52,42 +52,42 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
|
||||
จำหน่ายกริลแอร์พลาสติก (ABS) และอลูมิเนียม คุณภาพสูง ราคาโรงงาน ส่งฟรี กรุงเทพมหานคร และปริมณฑล
|
||||
</p>
|
||||
<div class="flex flex-wrap gap-4 mb-8">
|
||||
<a href="https://line.me/ti/p/~JPPSELECTION" target="_blank" class="bg-accent-500 hover:bg-accent-600 text-white py-3 px-6 rounded-xl font-semibold flex items-center gap-2">
|
||||
<a href="https://line.me/ti/p/~JPPSELECTION" target="_blank" class="bg-accent-500 hover:bg-accent-600 text-white py-3 px-6 rounded-xl font-semibold flex items-start gap-2">
|
||||
<span>แชท Line</span>
|
||||
<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>
|
||||
</a>
|
||||
<a href="tel:0905551415" class="bg-white text-primary-700 hover:bg-primary-50 py-3 px-6 rounded-xl font-semibold flex items-center gap-2">
|
||||
<a href="tel:0905551415" class="bg-white text-primary-700 hover:bg-primary-50 py-3 px-6 rounded-xl font-semibold flex items-start gap-2">
|
||||
<span>090-555-1415</span>
|
||||
<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>
|
||||
</a>
|
||||
<a href="#pricelist" data-price-button class="hidden bg-white text-primary-700 hover:bg-primary-50 py-3 px-6 rounded-xl font-semibold flex items-center gap-2">
|
||||
<a href="#pricelist" data-price-button class="hidden bg-white text-primary-700 hover:bg-primary-50 py-3 px-6 rounded-xl font-semibold flex items-start 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="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"/>
|
||||
</svg>
|
||||
<span>ราคาสินค้า</span>
|
||||
</a>
|
||||
</div><div class="flex flex-wrap gap-6">
|
||||
<div class="flex items-center gap-2 text-white/80">
|
||||
<div class="flex items-start gap-2 text-white/80">
|
||||
<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="M5 13l4 4L19 7" />
|
||||
</svg>
|
||||
<span>คุณภาพสูง มาตรฐานอุตสาหกรรม</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-2 text-white/80">
|
||||
<div class="flex items-start gap-2 text-white/80">
|
||||
<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="M5 13l4 4L19 7" />
|
||||
</svg>
|
||||
<span>ราคาโรงงาน คุ้มค่า</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-2 text-white/80">
|
||||
<div class="flex items-start gap-2 text-white/80">
|
||||
<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="M5 13l4 4L19 7" />
|
||||
</svg>
|
||||
<span>จัดส่งรวดเร็ว ส่งฟรี กทม. ปริมณฑล</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-2 bg-green-500/20 rounded px-3 py-1">
|
||||
<div class="flex items-start gap-2 bg-green-500/20 rounded px-3 py-1">
|
||||
<svg class="w-5 h-5 text-green-300" 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>
|
||||
@@ -224,8 +224,8 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
|
||||
<h2 class="text-xl font-bold text-primary-700 mb-4">เปรียบเทียบวัสดุ</h2>
|
||||
<div class="grid md:grid-cols-2 gap-4">
|
||||
<div class="bg-white p-4 rounded-lg shadow-sm">
|
||||
<h3 class="font-bold text-neutral-800 mb-2 flex items-center gap-2">
|
||||
<span class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center">
|
||||
<h3 class="font-bold text-neutral-800 mb-2 flex items-start gap-2">
|
||||
<span class="w-8 h-8 bg-blue-100 rounded-full flex items-start justify-center">
|
||||
<svg class="w-4 h-4 text-blue-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4z"/></svg>
|
||||
</span>
|
||||
ABS Plastic
|
||||
@@ -237,8 +237,8 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
|
||||
</ul>
|
||||
</div>
|
||||
<div class="bg-white p-4 rounded-lg shadow-sm">
|
||||
<h3 class="font-bold text-neutral-800 mb-2 flex items-center gap-2">
|
||||
<span class="w-8 h-8 bg-neutral-200 rounded-full flex items-center justify-center">
|
||||
<h3 class="font-bold text-neutral-800 mb-2 flex items-start gap-2">
|
||||
<span class="w-8 h-8 bg-neutral-200 rounded-full flex items-start justify-center">
|
||||
<svg class="w-4 h-4 text-neutral-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"/></svg>
|
||||
</span>
|
||||
Aluminum
|
||||
@@ -277,12 +277,12 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
|
||||
<div>
|
||||
<h3 class="text-lg font-semibold text-neutral-800 mb-4">ขั้นตอนการติดตั้ง</h3>
|
||||
<ol class="space-y-3 text-lg">
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-center justify-center">1</span><span class="text-neutral-700">วัดและทำเครื่องหมายตำแหน่งที่จะติดตั้ง</span></li>
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-center justify-center">2</span><span class="text-neutral-700">ตัดช่องเปิดตามขนาดหน้ากาก (เผื่อความกว้าง 1-2 ซม.)</span></li>
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-center justify-center">3</span><span class="text-neutral-700">ตรวจสอบระดับให้ตรง</span></li>
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-center justify-center">4</span><span class="text-neutral-700">ยึดกรอบหน้ากากด้วยสกรูหรือคลิปยึด</span></li>
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-center justify-center">5</span><span class="text-neutral-700">ติดตั้งตัวหน้ากากเข้ากับกรอบ</span></li>
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-center justify-center">6</span><span class="text-neutral-700">ปรับบานเกล็ดให้ได้ทิศทางลมที่ต้องการ</span></li>
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-start justify-center">1</span><span class="text-neutral-700">วัดและทำเครื่องหมายตำแหน่งที่จะติดตั้ง</span></li>
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-start justify-center">2</span><span class="text-neutral-700">ตัดช่องเปิดตามขนาดหน้ากาก (เผื่อความกว้าง 1-2 ซม.)</span></li>
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-start justify-center">3</span><span class="text-neutral-700">ตรวจสอบระดับให้ตรง</span></li>
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-start justify-center">4</span><span class="text-neutral-700">ยึดกรอบหน้ากากด้วยสกรูหรือคลิปยึด</span></li>
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-start justify-center">5</span><span class="text-neutral-700">ติดตั้งตัวหน้ากากเข้ากับกรอบ</span></li>
|
||||
<li class="flex gap-3"><span class="flex-shrink-0 w-7 h-7 bg-primary-600 text-white rounded-full flex items-start justify-center">6</span><span class="text-neutral-700">ปรับบานเกล็ดให้ได้ทิศทางลมที่ต้องการ</span></li>
|
||||
</ol>
|
||||
</div>
|
||||
<div>
|
||||
@@ -307,11 +307,11 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
|
||||
ติดต่อเราวันนี้เพื่อรับคำแนะนำและราคาพิเศษ
|
||||
</p>
|
||||
<div class="flex flex-wrap justify-center gap-4">
|
||||
<a href="https://line.me/ti/p/~JPPSELECTION" target="_blank" rel="noopener" class="flex items-center gap-2 bg-white text-primary-700 px-6 py-3 rounded-xl font-semibold hover:bg-primary-50 transition-colors">
|
||||
<a href="https://line.me/ti/p/~JPPSELECTION" target="_blank" rel="noopener" class="flex items-start gap-2 bg-white text-primary-700 px-6 py-3 rounded-xl font-semibold hover:bg-primary-50 transition-colors">
|
||||
<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>
|
||||
แชท
|
||||
</a>
|
||||
<a href="tel:0905551415" class="flex items-center gap-2 bg-white/10 hover:bg-white/20 text-white px-6 py-3 rounded-xl font-semibold border border-white/30 transition-colors">
|
||||
<a href="tel:0905551415" class="flex items-start gap-2 bg-white/10 hover:bg-white/20 text-white px-6 py-3 rounded-xl font-semibold border border-white/30 transition-colors">
|
||||
โทร 090-555-1415
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user