fix: Redesign contact-us page with professional layout
This commit is contained in:
@@ -8,68 +8,144 @@ import Footer from '@/components/common/Footer.astro';
|
||||
<Header slot="header" />
|
||||
|
||||
<main class="bg-white min-h-screen">
|
||||
|
||||
<!-- Hero Section -->
|
||||
<section class="hero-gradient py-16">
|
||||
<section class="hero-gradient py-20">
|
||||
<div class="container-custom">
|
||||
<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 class="max-w-4xl mx-auto text-center">
|
||||
<h1 class="text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-4">ติดต่อเรา</h1>
|
||||
<p class="text-xl text-white/80 mb-8">พร้อมให้คำปรึกษาคุณตลอดเวลาทำการ</p>
|
||||
|
||||
<!-- Quick Contact Pills -->
|
||||
<div class="flex flex-wrap justify-center gap-4">
|
||||
<a href="tel:0905551415" class="inline-flex items-center gap-2 bg-white/20 hover:bg-white/30 text-white px-6 py-3 rounded-full transition-colors">
|
||||
<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 class="font-medium">090-555-1415</span>
|
||||
</a>
|
||||
<a href="https://line.me/ti/p/~dealplustech" target="_blank" class="inline-flex items-center gap-2 bg-green-500 hover:bg-green-600 text-white px-6 py-3 rounded-full 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>
|
||||
<span class="font-medium">Line: @dealplustech</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Contact Section -->
|
||||
<section class="section bg-gray-50">
|
||||
<!-- Main Contact Section -->
|
||||
<section class="section py-16">
|
||||
<div class="container-custom">
|
||||
<div class="max-w-4xl mx-auto">
|
||||
<div class="max-w-5xl mx-auto">
|
||||
|
||||
<!-- Main CTA Cards -->
|
||||
<div class="grid md:grid-cols-2 gap-6 mb-12">
|
||||
<a href="https://line.me/ti/p/~dealplustech" target="_blank" class="card-glass p-8 flex flex-col items-center text-center hover:shadow-lg transition-shadow">
|
||||
<div class="w-16 h-16 bg-green-100 rounded-2xl flex items-center justify-center mb-4">
|
||||
<svg class="w-8 h-8 text-green-600" 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"/>
|
||||
<!-- Why Contact Us -->
|
||||
<div class="text-center mb-12">
|
||||
<h2 class="text-2xl md:text-3xl font-bold text-secondary-900 mb-4">ทำไมต้องติดต่อเรา?</h2>
|
||||
<p class="text-lg text-secondary-600 max-w-2xl mx-auto">เราพร้อมให้คำปรึกษาฟรี! ช่วยคุณเลือกสินค้าที่เหมาะสมกับงานของคุณ</p>
|
||||
</div>
|
||||
|
||||
<!-- Benefits Grid -->
|
||||
<div class="grid md:grid-cols-4 gap-6 mb-12">
|
||||
<div class="card-glass p-6 text-center">
|
||||
<div class="w-14 h-14 bg-primary-100 rounded-2xl flex items-center justify-center mx-auto mb-4">
|
||||
<svg class="w-7 h-7 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h3 class="font-bold text-secondary-900 text-xl mb-2">แชทไลน์</h3>
|
||||
<p class="text-primary-600 font-medium text-lg">@dealplustech</p>
|
||||
</a>
|
||||
<h3 class="font-bold text-secondary-900 mb-2">สินค้าคุณภาพ</h3>
|
||||
<p class="text-secondary-600 text-sm">มาตรฐานอุตสาหกรรม</p>
|
||||
</div>
|
||||
|
||||
<a href="tel:0905551415" class="card-glass p-8 flex flex-col items-center text-center hover:shadow-lg transition-shadow">
|
||||
<div class="w-16 h-16 bg-blue-100 rounded-2xl flex items-center justify-center mb-4">
|
||||
<svg class="w-8 h-8 text-blue-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"/>
|
||||
<div class="card-glass p-6 text-center">
|
||||
<div class="w-14 h-14 bg-primary-100 rounded-2xl flex items-center justify-center mx-auto mb-4">
|
||||
<svg class="w-7 h-7 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h3 class="font-bold text-secondary-900 text-xl mb-2">โทรศัพท์</h3>
|
||||
<p class="text-primary-600 font-medium text-lg">090-555-1415</p>
|
||||
<p class="text-secondary-500 text-sm mt-1">วันจันทร์-เสาร์ 08:30-17:30</p>
|
||||
</a>
|
||||
<h3 class="font-bold text-secondary-900 mb-2">ราคาโรงงาน</h3>
|
||||
<p class="text-secondary-600 text-sm">คุ้มค่าต่อการลงทุน</p>
|
||||
</div>
|
||||
|
||||
<div class="card-glass p-6 text-center">
|
||||
<div class="w-14 h-14 bg-primary-100 rounded-2xl flex items-center justify-center mx-auto mb-4">
|
||||
<svg class="w-7 h-7 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h3 class="font-bold text-secondary-900 mb-2">จัดส่งรวดเร็ว</h3>
|
||||
<p class="text-secondary-600 text-sm">ส่งฟรี กทม. ปริมณฑล</p>
|
||||
</div>
|
||||
|
||||
<div class="card-glass p-6 text-center">
|
||||
<div class="w-14 h-14 bg-primary-100 rounded-2xl flex items-center justify-center mx-auto mb-4">
|
||||
<svg class="w-7 h-7 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.364 5.636l-3.536 3.536m0 5.656l3.536 3.536M9.172 9.172L5.636 5.636m3.536 9.192l-3.536 3.536M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-5 0a4 4 0 11-8 0 4 4 0 018 0z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<h3 class="font-bold text-secondary-900 mb-2">ให้คำปรึกษาฟรี</h3>
|
||||
<p class="text-secondary-600 text-sm"> specialists พร้อมช่วย</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Contact Details -->
|
||||
<div class="grid md:grid-cols-2 gap-6">
|
||||
<div class="card-glass p-8 md:p-10">
|
||||
<h2 class="text-2xl font-bold text-secondary-900 text-center mb-8">ช่องทางติดต่อ</h2>
|
||||
|
||||
<div class="card-glass p-6 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 class="grid md:grid-cols-3 gap-8">
|
||||
|
||||
<!-- Phone -->
|
||||
<div class="flex flex-col items-center text-center p-6 bg-gray-50 rounded-2xl">
|
||||
<div class="w-16 h-16 bg-blue-100 rounded-2xl flex items-center justify-center mb-4">
|
||||
<svg class="w-8 h-8 text-blue-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>
|
||||
<h3 class="font-bold text-secondary-900 text-lg mb-2">โทรศัพท์</h3>
|
||||
<a href="tel:0905551415" class="text-2xl font-bold text-primary-600 hover:text-primary-700 mb-2">090-555-1415</a>
|
||||
<p class="text-secondary-500 text-sm">วันจันทร์-เสาร์ 08:30-17:30</p>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="font-bold text-secondary-900 mb-1">อีเมล</h3>
|
||||
<p class="text-secondary-600">dealplustech@gmail.com</p>
|
||||
|
||||
<!-- Line -->
|
||||
<div class="flex flex-col items-center text-center p-6 bg-green-50 rounded-2xl">
|
||||
<div class="w-16 h-16 bg-green-100 rounded-2xl flex items-center justify-center mb-4">
|
||||
<svg class="w-8 h-8 text-green-600" 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>
|
||||
</div>
|
||||
<h3 class="font-bold text-secondary-900 text-lg mb-2">ไลน์</h3>
|
||||
<a href="https://line.me/ti/p/~dealplustech" target="_blank" class="text-xl font-bold text-green-600 hover:text-green-700 mb-2">@dealplustech</a>
|
||||
<p class="text-secondary-500 text-sm">แชทได้ตลอด 24 ชม.</p>
|
||||
</div>
|
||||
|
||||
<!-- Email -->
|
||||
<div class="flex flex-col items-center text-center p-6 bg-gray-50 rounded-2xl">
|
||||
<div class="w-16 h-16 bg-primary-100 rounded-2xl flex items-center justify-center mb-4">
|
||||
<svg class="w-8 h-8 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>
|
||||
<h3 class="font-bold text-secondary-900 text-lg mb-2">อีเมล</h3>
|
||||
<a href="mailto:dealplustech@gmail.com" class="text-xl font-bold text-primary-600 hover:text-primary-700 mb-2">dealplustech@gmail.com</a>
|
||||
<p class="text-secondary-500 text-sm">ตอบกลับภายใน 24 ชม.</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="card-glass p-6 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-bold text-secondary-900 mb-1">ที่อยู่</h3>
|
||||
<p class="text-secondary-600 text-sm">9/69 ซอยนครลุง 17 แขวงบางไผ่ เขตบางแค กรุงเทพมหานคร 10160</p>
|
||||
<!-- Address -->
|
||||
<div class="mt-8 pt-8 border-t border-gray-200">
|
||||
<div class="flex flex-col md:flex-row items-center gap-4 text-center md:text-left">
|
||||
<div class="w-14 h-14 bg-primary-100 rounded-xl flex items-center justify-center flex-shrink-0">
|
||||
<svg class="w-7 h-7 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-bold text-secondary-900 mb-1">ที่อยู่</h3>
|
||||
<p class="text-secondary-600">9/69 ซอยนครลุง 17 แขวงบางไผ่ เขตบางแค กรุงเทพมหานคร 10160</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -78,6 +154,7 @@ import Footer from '@/components/common/Footer.astro';
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<Footer slot="footer" />
|
||||
|
||||
Reference in New Issue
Block a user