90 lines
5.4 KiB
PHP
90 lines
5.4 KiB
PHP
<?php
|
|
$pageTitle = 'تماس با ما و آدرس مزرعه';
|
|
require __DIR__ . '/../layout/header.php';
|
|
require __DIR__ . '/../layout/navbar.php';
|
|
?>
|
|
|
|
<div class="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
|
<div class="grid grid-cols-1 lg:grid-cols-12 gap-10">
|
|
<!-- Contact Info -->
|
|
<div class="lg:col-span-5 bg-stone-900 text-white rounded-3xl p-8 sm:p-10 shadow-xl space-y-6">
|
|
<span class="text-xs font-bold text-amber-400 uppercase tracking-widest block">راههای ارتباطی</span>
|
|
<h2 class="text-2xl font-black">پاسخگوی سوالات و سفارشهای شما هستیم</h2>
|
|
<p class="text-stone-400 text-xs sm:text-sm leading-relaxed">
|
|
جهت خرید حضوری، هماهنگی بارگیری، استعلام قیمت روز عمده یا مشاوره پرورش میتوانید با شمارههای زیر در ارتباط باشید.
|
|
</p>
|
|
|
|
<div class="space-y-4 pt-4 text-xs sm:text-sm text-stone-300">
|
|
<div class="flex items-start gap-3">
|
|
<i class="fas fa-map-location-dot text-amber-400 text-lg mt-0.5"></i>
|
|
<div>
|
|
<span class="font-bold text-white block mb-0.5">آدرس مجتمع پرورشی:</span>
|
|
<span><?= \Bildirchin\Config::ADDRESS ?></span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="flex items-center gap-3">
|
|
<i class="fas fa-phone-volume text-amber-400 text-lg"></i>
|
|
<div>
|
|
<span class="font-bold text-white block mb-0.5">تلفن همراه و مدیریت فروش:</span>
|
|
<a href="tel:<?= \Bildirchin\Config::PHONE ?>" class="text-amber-300 font-bold tracking-wider"><?= \Bildirchin\Helpers::toPersianDigits(\Bildirchin\Config::PHONE) ?></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="flex items-center gap-3">
|
|
<i class="fas fa-phone text-amber-400 text-lg"></i>
|
|
<div>
|
|
<span class="font-bold text-white block mb-0.5">تلفن دفتر مرکزی:</span>
|
|
<a href="tel:<?= \Bildirchin\Config::PHONE_LANDLINE ?>" class="text-amber-300 tracking-wider"><?= \Bildirchin\Helpers::toPersianDigits(\Bildirchin\Config::PHONE_LANDLINE) ?></a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="flex items-center gap-3">
|
|
<i class="fab fa-whatsapp text-emerald-400 text-xl"></i>
|
|
<div>
|
|
<span class="font-bold text-white block mb-0.5">واتساپ و ارسال فیش:</span>
|
|
<a href="https://wa.me/98<?= substr(\Bildirchin\Config::WHATSAPP, 1) ?>" class="text-emerald-400 font-bold tracking-wider"><?= \Bildirchin\Helpers::toPersianDigits(\Bildirchin\Config::WHATSAPP) ?></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Fast Contact Message Form -->
|
|
<div class="lg:col-span-7 bg-white rounded-3xl border border-stone-200 p-8 sm:p-10 shadow-sm">
|
|
<h3 class="text-xl font-bold text-stone-900 mb-2">ارسال پیام به مدیریت مزرعه</h3>
|
|
<p class="text-xs text-stone-500 mb-6">پیامها در طول ساعات کاری بررسی و پاسخ داده میشوند.</p>
|
|
|
|
<form action="/wholesale/inquiry" method="POST" class="space-y-4">
|
|
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
|
<div>
|
|
<label class="block text-xs font-bold text-stone-700 mb-1">نام شما *</label>
|
|
<input type="text" name="customer_name" required class="w-full bg-stone-50 border border-stone-300 rounded-xl p-3 text-sm focus:outline-none focus:ring-2 focus:ring-amber-500">
|
|
</div>
|
|
<div>
|
|
<label class="block text-xs font-bold text-stone-700 mb-1">شماره تماس *</label>
|
|
<input type="tel" name="phone" required class="w-full bg-stone-50 border border-stone-300 rounded-xl p-3 text-sm focus:outline-none focus:ring-2 focus:ring-amber-500">
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<label class="block text-xs font-bold text-stone-700 mb-1">موضوع پیام / محصول مورد نظر</label>
|
|
<input type="text" name="product_requested" required placeholder="مثال: سوال درباره نحوه ارسال تخم نطفهدار" class="w-full bg-stone-50 border border-stone-300 rounded-xl p-3 text-sm focus:outline-none focus:ring-2 focus:ring-amber-500">
|
|
</div>
|
|
|
|
<div>
|
|
<label class="block text-xs font-bold text-stone-700 mb-1">متن پیام</label>
|
|
<textarea name="notes" rows="4" required class="w-full bg-stone-50 border border-stone-300 rounded-xl p-3 text-sm focus:outline-none focus:ring-2 focus:ring-amber-500"></textarea>
|
|
</div>
|
|
|
|
<button type="submit" class="w-full py-3.5 rounded-xl bg-amber-500 hover:bg-amber-600 text-stone-950 font-extrabold text-sm transition shadow-md">
|
|
ارسال پیام
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<?php
|
|
require __DIR__ . '/../layout/footer.php';
|
|
?>
|