Remove extra wrapper divs in hero sections

This commit is contained in:
Kunthawat Greethong
2026-05-24 21:12:28 +07:00
parent 316224470a
commit b64f42d485
8 changed files with 12 additions and 20 deletions

View File

@@ -40,13 +40,12 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
</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-start">
<div class="">
<div class="lg:sticky lg:top-24">
<div class="lg:sticky lg:top-24">
<div class="rounded-2xl overflow-hidden bg-white/10 p-2">
<img src="/images/products-cropped/durgo_000C.jpg" alt="DURGO AVVs" class="w-full h-auto rounded-xl" width="600" height="400" loading="eager" />
</div>
</div>
<div class="">
<div>
<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 mb-4">ระบบวาล์วเติมอากาศ DURGO AVVs</h1>
<p class="text-lg sm:text-xl text-white/80 mb-8 leading-relaxed">

View File

@@ -40,13 +40,12 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
</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-start">
<div class="">
<div class="lg:sticky lg:top-24">
<div class="lg:sticky lg:top-24">
<div class="rounded-2xl overflow-hidden bg-white/10 p-2">
<img src="/images/products-cropped/grilles_000C.jpg" alt="กริลแอร์พลาสติก" class="w-full h-auto rounded-xl" width="600" height="400" loading="eager" />
</div>
</div>
<div class="">
<div>
<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 mb-4">กริลแอร์ (Grilles air)</h1>
<p class="text-lg sm:text-xl text-white/80 mb-8 leading-relaxed">

View File

@@ -40,13 +40,12 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
</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-start">
<div class="">
<div class="lg:sticky lg:top-24">
<div class="lg:sticky lg:top-24">
<div class="rounded-2xl overflow-hidden bg-white/10 p-2">
<img src="/images/products-cropped/water-pump_000C.jpg" alt="ปั๊มน้ำ (Water Pump)" class="w-full h-auto rounded-xl" width="600" height="400" loading="eager" />
</div>
</div>
<div class="">
<div>
<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 mb-4">ปั๊มน้ำ (Water Pump)</h1>
<p class="text-lg sm:text-xl text-white/80 mb-8 leading-relaxed">

View File

@@ -82,8 +82,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
</a>
</div>
</div>
<div class="">
<div class="lg:sticky lg:top-24">
<div class="lg:sticky lg:top-24">
<div class="rounded-2xl overflow-hidden bg-white/10 p-2">
<img src="/images/products-cropped/hdpe001.png" alt="ท่อ HDPE (High Density Polyethylene)" class="w-full" loading="eager" />
</div>

View File

@@ -82,8 +82,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
</a>
</div>
</div>
<div class="">
<div class="lg:sticky lg:top-24">
<div class="lg:sticky lg:top-24">
<div class="rounded-2xl overflow-hidden bg-white/10 p-2">
<img src="/images/products-cropped/ppr-scg.jpg" alt="ท่อ PPR ตราช้าง (SCG)" class="w-full" loading="eager" />
</div>

View File

@@ -82,8 +82,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
</a>
</div>
</div>
<div class="">
<div class="lg:sticky lg:top-24">
<div class="lg:sticky lg:top-24">
<div class="rounded-2xl overflow-hidden bg-white/10 p-2">
<img src="/images/products-cropped/ppr-pipe_000C.jpg" alt="ไทยพีพีอาร์ (Thai PPR)" class="w-full" loading="eager" />
</div>

View File

@@ -40,13 +40,12 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
</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-start">
<div class="">
<div class="lg:sticky lg:top-24">
<div class="lg:sticky lg:top-24">
<div class="rounded-2xl overflow-hidden bg-white/10 p-2">
<img src="/images/products-cropped/syler-pipe-cold-water.jpg" alt="ท่อ Syler" class="w-full h-auto rounded-xl" width="600" height="400" loading="eager" />
</div>
</div>
<div class="">
<div>
<span class="inline-block px-4 py-1.5 bg-white/20 text-white rounded-full text-sm font-medium mb-4">ท่อ Syler</span>
<h1 class="text-3xl sm:text-4xl lg:text-5xl font-bold mb-4">ท่อ Syler | ท่อเหล็กบุพีอี</h1>
<p class="text-lg sm:text-xl text-white/80 mb-8 leading-relaxed">

View File

@@ -82,8 +82,7 @@ import BaseLayout from '@/layouts/BaseLayout.astro';
</a>
</div>
</div>
<div class="">
<div class="lg:sticky lg:top-24">
<div class="lg:sticky lg:top-24">
<div class="rounded-2xl overflow-hidden bg-white/10 p-2">
<img src="/images/products-cropped/upvc-pipe_000C.jpg" alt="ท่อ UPVC" class="w-full" loading="eager" />
</div>