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,103 +7,114 @@ import Footer from '@/components/common/Footer.astro';
|
||||
<BaseLayout title="ติดต่อเรา" description="ติดต่อเรา บริษัท ดีล พลัส เทค จำกัด โทร 090-555-1415">
|
||||
<Header slot="header" />
|
||||
|
||||
<main class="px-4 sm:px-6 lg:px-8 bg-white min-h-screen">
|
||||
<section id="contact-content" class="section">
|
||||
<main class="bg-white min-h-screen">
|
||||
<section class="hero-gradient py-16">
|
||||
<div class="container-custom">
|
||||
<div class="max-w-4xl mx-auto">
|
||||
<h1 class="text-4xl md:text-5xl font-bold text-secondary-900 mb-8">ติดต่อเรา</h1>
|
||||
|
||||
<div class="card p-8 md:p-12 bg-white mb-8">
|
||||
<p class="text-lg text-secondary-600 mb-8">
|
||||
ส่งฟรี กรุงเทพมหานคร ปริมณฑล สามารถสอบถามได้ที่ช่อง Chat หรือโทรหา ปรึกษา Dealplustech ได้ตลอดเวลาทำการ
|
||||
</p>
|
||||
|
||||
<h2 class="text-2xl font-bold text-secondary-900 mb-6">Send Us A Message</h2>
|
||||
<form class="space-y-6">
|
||||
<div>
|
||||
<label for="name" class="block text-lg font-medium text-secondary-700 mb-2">ชื่อของคุณ (จำเป็นต้องกรอก)</label>
|
||||
<input type="text" id="name" name="name" required class="w-full px-4 py-3 border border-secondary-300 rounded-xl focus:ring-2 focus:ring-green-500 focus:border-green-500" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="email" class="block text-lg font-medium text-secondary-700 mb-2">อีเมล์ของคุณ (จำเป็นต้องกรอก)</label>
|
||||
<input type="email" id="email" name="email" required class="w-full px-4 py-3 border border-secondary-300 rounded-xl focus:ring-2 focus:ring-green-500 focus:border-green-500" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="subject" class="block text-lg font-medium text-secondary-700 mb-2">หัวข้อ</label>
|
||||
<input type="text" id="subject" name="subject" class="w-full px-4 py-3 border border-secondary-300 rounded-xl focus:ring-2 focus:ring-green-500 focus:border-green-500" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="message" class="block text-lg font-medium text-secondary-700 mb-2">ข้อความของคุณ</label>
|
||||
<textarea id="message" name="message" rows="5" class="w-full px-4 py-3 border border-secondary-300 rounded-xl focus:ring-2 focus:ring-green-500 focus:border-green-500"></textarea>
|
||||
</div>
|
||||
|
||||
<button type="submit" class="bg-green-600 hover:bg-green-700 text-white px-8 py-4 rounded-xl font-medium transition-all hover:shadow-lg">
|
||||
ส่งข้อความ
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="grid md:grid-cols-2 gap-8">
|
||||
<div class="card p-8 bg-white">
|
||||
<h2 class="text-2xl font-bold text-secondary-900 mb-6">Contact Details</h2>
|
||||
<div class="space-y-4">
|
||||
<h1 class="text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-4">ติดต่อเรา</h1>
|
||||
<p class="text-xl text-secondary-300">พร้อมให้คำปรึกษาคุณตลอดเวลาทำการ</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="container-custom">
|
||||
<div class="grid lg:grid-cols-2 gap-12">
|
||||
<div>
|
||||
<div class="card-glass p-8 mb-8">
|
||||
<h2 class="text-xl font-bold text-secondary-900 mb-6">ส่งข้อความถึงเรา</h2>
|
||||
<form id="contact-form" class="space-y-6">
|
||||
<div>
|
||||
<p class="text-lg text-secondary-700 leading-relaxed">
|
||||
<strong>บริษัท ดีล พลัส เทค จำกัด</strong><br/>
|
||||
9/70 ซอยนครลุง 17 แขวงบางไผ่ เขตบางแค กทม. 10160
|
||||
</p>
|
||||
<label for="name" class="block text-base font-medium text-secondary-700 mb-2">ชื่อของคุณ *</label>
|
||||
<input type="text" id="name" name="name" required class="input-modern" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p class="text-lg text-secondary-700 leading-relaxed">
|
||||
ส่งสินค้าฟรี กรุงเทพมหานคร ปริมณฑล ชลบุรี ระยอง
|
||||
</p>
|
||||
<label for="email" class="block text-base font-medium text-secondary-700 mb-2">อีเมล์ของคุณ *</label>
|
||||
<input type="email" id="email" name="email" required class="input-modern" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p class="text-lg text-secondary-700 leading-relaxed">
|
||||
<strong>โทร:</strong> 090-555-1415
|
||||
</p>
|
||||
<label for="subject" class="block text-base font-medium text-secondary-700 mb-2">หัวข้อ</label>
|
||||
<input type="text" id="subject" name="subject" class="input-modern" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p class="text-lg text-secondary-700 leading-relaxed">
|
||||
<strong>อีเมล:</strong> dealplustech@gmail.com
|
||||
</p>
|
||||
<label for="message" class="block text-base font-medium text-secondary-700 mb-2">ข้อความ</label>
|
||||
<textarea id="message" name="message" rows="5" class="input-modern"></textarea>
|
||||
</div>
|
||||
|
||||
<button type="submit" id="submit-btn" class="btn-primary w-full">
|
||||
ส่งข้อความ
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<div id="form-success" class="hidden mt-6 p-4 bg-primary-100 border border-primary-300 rounded-xl text-primary-700">
|
||||
<p class="font-medium">ส่งข้อความสำเร็จ! เราจะติดต่อกลับโดยเร็วที่สุด</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card p-8 bg-white">
|
||||
<h2 class="text-2xl font-bold text-secondary-900 mb-6">Work Hour</h2>
|
||||
<div class="space-y-2">
|
||||
<div class="flex justify-between">
|
||||
<span class="text-lg text-secondary-700">วันจันทร์</span>
|
||||
<span class="text-lg text-secondary-700">08:30 - 17:30</span>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="card-glass p-8 mb-8">
|
||||
<h2 class="text-xl font-bold text-secondary-900 mb-6">ข้อมูลติดต่อ</h2>
|
||||
<div class="space-y-6">
|
||||
<div class="flex items-start gap-4">
|
||||
<div class="w-12 h-12 bg-primary-100 rounded-xl flex items-center justify-center flex-shrink-0">
|
||||
<svg class="w-6 h-6 text-primary-600" 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>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-semibold text-secondary-900">โทรศัพท์</h3>
|
||||
<p class="text-secondary-600">090-555-1415</p>
|
||||
<p class="text-secondary-500 text-sm">วันจันทร์-เสาร์ 08:30-17:30</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-between">
|
||||
<span class="text-lg text-secondary-700">วันอังคาร</span>
|
||||
<span class="text-lg text-secondary-700">08:30 - 17:30</span>
|
||||
|
||||
<div class="flex items-start gap-4">
|
||||
<div class="w-12 h-12 bg-primary-100 rounded-xl flex items-center justify-center flex-shrink-0">
|
||||
<svg class="w-6 h-6 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-semibold text-secondary-900">อีเมล</h3>
|
||||
<p class="text-secondary-600">dealplustech@gmail.com</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-between">
|
||||
<span class="text-lg text-secondary-700">วันพุธ</span>
|
||||
<span class="text-lg text-secondary-700">08:30 - 17:30</span>
|
||||
|
||||
<div class="flex items-start gap-4">
|
||||
<div class="w-12 h-12 bg-primary-100 rounded-xl flex items-center justify-center flex-shrink-0">
|
||||
<svg class="w-6 h-6 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"/>
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-semibold text-secondary-900">ที่อยู่</h3>
|
||||
<p class="text-secondary-600">9/69 ซอยนครลุง 17 แขวงบางไผ่ เขตบางแค กรุงเทพมหานคร 10160</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-between">
|
||||
<span class="text-lg text-secondary-700">วันพฤหัสบดี</span>
|
||||
<span class="text-lg text-secondary-700">08:30 - 17:30</span>
|
||||
|
||||
<div class="flex items-start gap-4">
|
||||
<div class="w-12 h-12 bg-primary-100 rounded-xl flex items-center justify-center flex-shrink-0">
|
||||
<svg class="w-6 h-6 text-primary-600" fill="currentColor" viewBox="0 0 24 24">
|
||||
<path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-semibold text-secondary-900">Facebook</h3>
|
||||
<a href="https://www.facebook.com/Dealplustech/" target="_blank" class="text-primary-500 hover:text-primary-600">facebook.com/Dealplustech</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex justify-between">
|
||||
<span class="text-lg text-secondary-700">วันศุกร์</span>
|
||||
<span class="text-lg text-secondary-700">08:30 - 17:30</span>
|
||||
</div>
|
||||
<div class="flex justify-between">
|
||||
<span class="text-lg text-secondary-700">วันเสาร์</span>
|
||||
<span class="text-lg text-secondary-700">08:30 - 17:30</span>
|
||||
</div>
|
||||
<div class="flex justify-between">
|
||||
<span class="text-lg text-secondary-700">วันอาทิตย์</span>
|
||||
<span class="text-lg text-secondary-700">ปิดทำการ</span>
|
||||
|
||||
<div class="flex items-start gap-4">
|
||||
<div class="w-12 h-12 bg-primary-100 rounded-xl flex items-center justify-center flex-shrink-0">
|
||||
<span class="font-bold text-primary-600 text-sm">LINE</span>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-semibold text-secondary-900">Line</h3>
|
||||
<a href="https://line.me/ti/p/~dealplustech" target="_blank" class="text-primary-500 hover:text-primary-600">@dealplustech</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user