
<?php $__env->startSection('content'); ?>
<?php
$contact = getContent('contact_us.content',true);
?>
<!-- ==================== Contact Form Start Here ==================== -->
<section class="contact-bottom section-bg py-80">
    <div class="container">
        <div class="row gy-3 justify-content-center">
            <div class="col-lg-5">
                <div class="col-lg-12">
                    <div class="contact-info">
                        <div class="contact-info__addres-wrap">
                            <div class="single_wrapper">
                                <h4><?php echo app('translator')->get('Call Us'); ?></h4>
                                <div class="single-info">
                                    <div class="cont-icon">
                                        <i class="far fa-envelope"></i>
                                    </div>
                                    <div class="cont-text">
                                        <h6>
                                            <a href="tel:<?php echo e($contact->data_values->contact_number); ?>"><?php echo e($contact->data_values->contact_number); ?></a>
                                        </h6>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-12">
                    <div class="contact-info">
                        <div class="contact-info__addres-wrap">
                            <div class="single_wrapper">
                                <h4><?php echo app('translator')->get('Office'); ?></h4>
                                <div class="single-info">
                                    <div class="cont-icon">
                                        <i class="fas fa-map-marker-alt"></i>
                                    </div>
                                    <div class="cont-text">
                                        <h6>
                                            <a href="javascript:void(0)"><?php echo e(__($contact->data_values->contact_details)); ?></a>
                                        </h6>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-12">
                    <div class="contact-info">
                        <div class="contact-info__addres-wrap">
                            <div class="single_wrapper">
                                <h4><?php echo app('translator')->get('Email'); ?></h4>
                                <div class="single-info">
                                    <div class="cont-icon">
                                        <i class="far fa-envelope"></i>
                                    </div>
                                    <div class="cont-text">
                                        <h6>
                                            <a href="mailto:<?php echo e($contact->data_values->email_address); ?>"><?php echo e($contact->data_values->email_address); ?></a>
                                        </h6>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-lg-7">
                <div class="contactus-form">
                    <h3 class="contact__title"><?php echo e(__(@$contact->data_values->title)); ?></h3>
                    <form method="post" action="" class="verify-gcaptcha">
                        <?php echo csrf_field(); ?>
                        <div class="row gy-md-4 gy-3">
                            <div class="col-sm-12">
                                <label class="form-label"><?php echo app('translator')->get('Name'); ?></label>
                                <input name="name" type="text" class="form--control"
                                    value="<?php if(auth()->user()): ?><?php echo e(auth()->user()->fullname); ?> <?php else: ?><?php echo e(old('name')); ?><?php endif; ?>"
                                    <?php if(auth()->user()): ?> readonly <?php endif; ?> required>
                            </div>
                            <div class="col-sm-12">
                                <label class="form-label"><?php echo app('translator')->get('Email'); ?></label>
                                <input name="email" type="email" class="form--control"
                                    value="<?php if(auth()->user()): ?><?php echo e(auth()->user()->email); ?><?php else: ?><?php echo e(old('email')); ?><?php endif; ?>"
                                    <?php if(auth()->user()): ?> readonly <?php endif; ?> required>
                            </div>
                            <div class="col-sm-12">
                                <label class="form-label"><?php echo app('translator')->get('Subject'); ?></label>
                                <input name="subject" type="text" class="form--control" value="<?php echo e(old('subject')); ?>"
                                    required>
                            </div>
                            <div class="col-sm-12">
                                <label class="form-label"><?php echo app('translator')->get('Message'); ?></label>
                                <textarea class="form--control" name="message"><?php echo e(old('message')); ?></textarea>
                            </div>
                            <div class="col-sm-12">
                                <?php if (isset($component)) { $__componentOriginalff0a9fdc5428085522b49c68070c11d6 = $component; } ?>
<?php $component = App\View\Components\Captcha::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('captcha'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Captcha::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?> <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalff0a9fdc5428085522b49c68070c11d6)): ?>
<?php $component = $__componentOriginalff0a9fdc5428085522b49c68070c11d6; ?>
<?php unset($__componentOriginalff0a9fdc5428085522b49c68070c11d6); ?>
<?php endif; ?>
                            </div>
                            <div class="col-sm-12">
                                <button type="submit" class="btn btn--base">
                                    <?php echo app('translator')->get('Send Message'); ?> <i class="fas fa-paper-plane"></i>
                                    <span style="top: 249px; left: 75.9844px;"></span>
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- ==================== Contact Form End Here ==================== -->

<!-- ==================== Map Start Here ==================== -->
<div>
    <div class="container-fluid">
        <div class="contact-map">
            <iframe  src="https://maps.google.com/maps?q=<?php echo e($contact->data_values->latitude); ?>,<?php echo e($contact->data_values->longitude); ?>&hl=es;z=14&amp;output=embed"
                width="600" height="450" allowfullscreen="" loading="lazy">
            </iframe>
        </div>
    </div>
</div>
<!-- ==================== Map Start Here ==================== -->
<?php $__env->stopSection(); ?>

<?php echo $__env->make($activeTemplate.'layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/webtechscom/public_html/smm.webtechs.com.ng/application/resources/views/presets/default/contact.blade.php ENDPATH**/ ?>