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/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">