62 lines
2.2 KiB
PHP
62 lines
2.2 KiB
PHP
<?php
|
|
declare(strict_types=1);
|
|
@date_default_timezone_set('UTC');
|
|
|
|
require_once __DIR__ . '/includes/data.php';
|
|
|
|
$lang = 'en';
|
|
$site = site_config($lang);
|
|
$pageTitle = $site['brand'] . ' | Contact';
|
|
$pageDescription = 'Reach our sales engineers on WhatsApp for product inquiries.';
|
|
$assetVersion = (string) time();
|
|
$navItems = $site['nav'];
|
|
$langSwitchUrl = '/zh/contact.php';
|
|
|
|
$whatsAppLink = 'https://wa.me/' . $site['whatsapp_number'] . '?text=' . urlencode($site['whatsapp_message']);
|
|
?>
|
|
<?php require __DIR__ . '/includes/header.php'; ?>
|
|
|
|
<main>
|
|
<section class="page-hero">
|
|
<div class="container">
|
|
<div class="hero-panel">
|
|
<h1 class="display-6 fw-semibold">Contact our sales engineers</h1>
|
|
<p class="text-muted">Fast response via WhatsApp for quotations, catalogs, and OEM customization.</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section-block pt-0">
|
|
<div class="container">
|
|
<div class="row g-4">
|
|
<div class="col-lg-6">
|
|
<div class="detail-card h-100">
|
|
<h2 class="h5">WhatsApp direct line</h2>
|
|
<p class="text-muted">Our Malaysia-based WhatsApp line is ready for product inquiries and technical consultations.</p>
|
|
<a class="btn btn-primary" href="<?= htmlspecialchars($whatsAppLink) ?>" target="_blank" rel="noopener">
|
|
<i class="bi bi-whatsapp me-2"></i>Message on WhatsApp
|
|
</a>
|
|
<div class="mt-3 small text-muted">Number: <?= htmlspecialchars($site['whatsapp_number']) ?></div>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-6">
|
|
<div class="detail-card h-100">
|
|
<h2 class="h5">Inquiry checklist</h2>
|
|
<ul class="small">
|
|
<li>Project location and environment</li>
|
|
<li>Target wattage / lumen output</li>
|
|
<li>Certification requirements (CE/CB/SASO)</li>
|
|
<li>Desired delivery timeline</li>
|
|
</ul>
|
|
<div class="alert alert-light mt-3" role="alert">
|
|
For testing: please replace <strong>60XXXXXXXXX</strong> in <code>includes/data.php</code> with your real WhatsApp number.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
|
|
<?php require __DIR__ . '/includes/footer.php'; ?>
|