164 lines
9.4 KiB
PHP
164 lines
9.4 KiB
PHP
|
|
<?php
|
||
|
|
/**
|
||
|
|
* Template Name: Contact Page
|
||
|
|
*/
|
||
|
|
get_header();
|
||
|
|
?>
|
||
|
|
|
||
|
|
<div class="page-header-light"></div>
|
||
|
|
|
||
|
|
<!-- ═══════════════════════════════════════════════════════════
|
||
|
|
PAGE HERO
|
||
|
|
════════════════════════════════════════════════════════════════ -->
|
||
|
|
<section class="page-hero">
|
||
|
|
<div class="container">
|
||
|
|
<?php
|
||
|
|
$id = get_the_ID();
|
||
|
|
$pg_title = ots_meta( $id, 'hero_title', 'Get in Touch' );
|
||
|
|
$pg_sub = ots_meta( $id, 'hero_description', "Ready to transform your screens? We'd love to hear about your project. Drop us a message and we'll get back to you promptly." );
|
||
|
|
?>
|
||
|
|
<span class="section-label" style="color:var(--color-accent);display:block;margin-bottom:.75rem;">Say Hello</span>
|
||
|
|
<h1><?php echo esc_html( $pg_title ); ?></h1>
|
||
|
|
<p class="lead"><?php echo wp_kses_post( $pg_sub ); ?></p>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<!-- ═══════════════════════════════════════════════════════════
|
||
|
|
CONTACT FORM + INFO
|
||
|
|
════════════════════════════════════════════════════════════════ -->
|
||
|
|
<section class="section">
|
||
|
|
<div class="container">
|
||
|
|
<div class="contact-layout">
|
||
|
|
|
||
|
|
<!-- Contact Info -->
|
||
|
|
<div class="contact-info">
|
||
|
|
<?php
|
||
|
|
$con_h = ots_meta( $id, 'contact_heading', "Let's Start the Conversation" );
|
||
|
|
$con_sub = ots_meta( $id, 'contact_subheading', "Whether you're looking for a quote, want to see a demo, or just have questions — we're here to help." );
|
||
|
|
$con_email = ots_meta( $id, 'contact_email', 'info@ots-signs.com' );
|
||
|
|
?>
|
||
|
|
<span class="section-label">Contact Us</span>
|
||
|
|
<h2><?php echo esc_html( $con_h ); ?></h2>
|
||
|
|
<p class="lead"><?php echo wp_kses_post( $con_sub ); ?></p>
|
||
|
|
|
||
|
|
<div class="contact-method">
|
||
|
|
<div class="contact-method-icon">💌</div>
|
||
|
|
<div>
|
||
|
|
<div class="contact-method-label">Email</div>
|
||
|
|
<div class="contact-method-value"><a href="mailto:<?php echo esc_attr( $con_email ); ?>" style="color:var(--color-primary);"><?php echo esc_html( $con_email ); ?></a></div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="contact-method">
|
||
|
|
<div class="contact-method-icon">🌐</div>
|
||
|
|
<div>
|
||
|
|
<div class="contact-method-label">Demo Platform</div>
|
||
|
|
<div class="contact-method-value"><a href="https://demo.ots-signs.com" target="_blank" rel="noopener" style="color:var(--color-primary);">demo.ots-signs.com</a></div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="contact-method">
|
||
|
|
<div class="contact-method-icon">🏠</div>
|
||
|
|
<div>
|
||
|
|
<div class="contact-method-label">Company</div>
|
||
|
|
<div class="contact-method-value">An <a href="https://oribi-tech.com" target="_blank" rel="noopener" style="color:var(--color-primary);">Oribi Technology Services</a> product</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<hr class="divider">
|
||
|
|
|
||
|
|
<h3 style="font-size:1rem;margin-bottom:1rem;color:var(--color-dark);">What to Expect</h3>
|
||
|
|
<ul style="list-style:none;display:flex;flex-direction:column;gap:.75rem;">
|
||
|
|
<li style="display:flex;align-items:flex-start;gap:.75rem;font-size:.9rem;color:var(--color-text-muted);">
|
||
|
|
<span style="color:var(--color-accent);font-weight:700;flex-shrink:0;">01</span>
|
||
|
|
<span>We'll review your message and respond within one business day.</span>
|
||
|
|
</li>
|
||
|
|
<li style="display:flex;align-items:flex-start;gap:.75rem;font-size:.9rem;color:var(--color-text-muted);">
|
||
|
|
<span style="color:var(--color-accent);font-weight:700;flex-shrink:0;">02</span>
|
||
|
|
<span>We'll schedule a quick discovery call to understand your needs.</span>
|
||
|
|
</li>
|
||
|
|
<li style="display:flex;align-items:flex-start;gap:.75rem;font-size:.9rem;color:var(--color-text-muted);">
|
||
|
|
<span style="color:var(--color-accent);font-weight:700;flex-shrink:0;">03</span>
|
||
|
|
<span>We'll prepare a tailored proposal and walk you through the platform.</span>
|
||
|
|
</li>
|
||
|
|
</ul>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<!-- Contact Form -->
|
||
|
|
<div class="contact-form-wrap">
|
||
|
|
<h3 style="margin-bottom:1.5rem;font-size:1.2rem;">Send Us a Message</h3>
|
||
|
|
|
||
|
|
<form id="contact-form" novalidate>
|
||
|
|
<?php wp_nonce_field( 'ots_contact_nonce', '_nonce', true, true ); ?>
|
||
|
|
|
||
|
|
<div class="form-row">
|
||
|
|
<div class="form-group">
|
||
|
|
<label for="contact-name">Full Name <span class="req">*</span></label>
|
||
|
|
<input type="text" id="contact-name" name="name" placeholder="Jane Smith" required>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label for="contact-email">Email Address <span class="req">*</span></label>
|
||
|
|
<input type="email" id="contact-email" name="email" placeholder="jane@company.com" required>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="form-row">
|
||
|
|
<div class="form-group">
|
||
|
|
<label for="contact-phone">Phone Number</label>
|
||
|
|
<input type="tel" id="contact-phone" name="phone" placeholder="+1 (555) 000-0000">
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label for="contact-company">Company / Organisation</label>
|
||
|
|
<input type="text" id="contact-company" name="company" placeholder="Acme Corp">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="form-group">
|
||
|
|
<label for="contact-interest">I'm interested in…</label>
|
||
|
|
<select id="contact-interest" name="interest">
|
||
|
|
<option value="">Select an option</option>
|
||
|
|
<option value="Essentials Plan ($7/screen/month)">Essentials Plan ($7/screen/month)</option>
|
||
|
|
<option value="Pro / Enterprise Plan">Pro / Enterprise Plan</option>
|
||
|
|
<option value="Digital Menu Boards">Digital Menu Boards</option>
|
||
|
|
<option value="Live Data Integration">Live Data Integration</option>
|
||
|
|
<option value="General Enquiry">General Enquiry</option>
|
||
|
|
<option value="Demo Access">Demo Access</option>
|
||
|
|
</select>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="form-group">
|
||
|
|
<label for="contact-message">Message <span class="req">*</span></label>
|
||
|
|
<textarea id="contact-message" name="message" placeholder="Tell us a bit about your project, number of screens, location, and any specific requirements…" required></textarea>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<button type="submit" class="btn btn-primary btn-lg" style="width:100%;justify-content:center;" id="contact-submit">
|
||
|
|
<span class="btn-text">Send Message</span>
|
||
|
|
<span class="btn-loading" style="display:none;">Sending…</span>
|
||
|
|
</button>
|
||
|
|
|
||
|
|
<div class="form-notice" id="form-notice" role="alert"></div>
|
||
|
|
</form>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<!-- ═══════════════════════════════════════════════════════════
|
||
|
|
DEMO CTA
|
||
|
|
════════════════════════════════════════════════════════════════ -->
|
||
|
|
<section class="section section-alt" style="text-align:center;padding-block:4rem;">
|
||
|
|
<div class="container">
|
||
|
|
<?php
|
||
|
|
$demo_h = ots_meta( $id, 'demo_heading', 'Explore Our Demo Platform' );
|
||
|
|
$demo_txt = ots_meta( $id, 'demo_description', 'See the OTS Signs CMS in action. Request access to our live demo instance and experience the platform for yourself before making any commitment.' );
|
||
|
|
?>
|
||
|
|
<span class="section-label">Try Before You Buy</span>
|
||
|
|
<h2 style="margin-bottom:1rem;"><?php echo esc_html( $demo_h ); ?></h2>
|
||
|
|
<p class="lead" style="margin-bottom:2rem;"><?php echo wp_kses_post( $demo_txt ); ?></p>
|
||
|
|
<a href="https://demo.ots-signs.com" target="_blank" rel="noopener" class="btn btn-primary btn-lg">Request Demo Access →</a>
|
||
|
|
</div>
|
||
|
|
</section>
|
||
|
|
|
||
|
|
<?php get_footer(); ?>
|