<?php $__env->startSection('content'); ?>
<?php
   $contactContent = getContent('contact_us.content',true);
   $user = auth()->user();
?>

<div class="container">
    <section class="pt-120 pb-120">
        <div class="container">
          <div class="row">
            <div class="col-lg-6">
              <span class="subtitle fw-bold text--base font-size--18px"><?php echo e(__($contactContent->data_values->subheading)); ?></span>
              <h2 class="section-title"><?php echo e(__($contactContent->data_values->heading)); ?></h2>
              <ul class="contact-info-list mt-5">
                <li class="single-info d-flex flex-wrap align-items-center">
                  <div class="single-info__icon bg--base text-white d-flex justify-content-center align-items-center rounded-3">
                    <i class="las la-map-marked-alt"></i>
                  </div>
                  <div class="single-info__content">
                    <h4 class="title"><?php echo app('translator')->get('Our Address'); ?></h4>
                    <p class="mt-3"><?php echo e(__($contactContent->data_values->address)); ?></p>
                  </div>
                </li><!-- single-info end -->
                <li class="single-info d-flex flex-wrap align-items-center">
                  <div class="single-info__icon bg--base text-white d-flex justify-content-center align-items-center rounded-3">
                    <i class="las la-envelope"></i>
                  </div>
                  <div class="single-info__content">
                    <h4 class="title"><?php echo app('translator')->get('Email Address'); ?></h4>
                    <p class="mt-3"><a href="mailto:<?php echo e($contactContent->data_values->email); ?>" class="text--secondary"><?php echo e($contactContent->data_values->email); ?></a></p>
                  </div>
                </li><!-- single-info end -->
                <li class="single-info d-flex flex-wrap align-items-center">
                  <div class="single-info__icon bg--base text-white d-flex justify-content-center align-items-center rounded-3">
                    <i class="las la-phone-volume"></i>
                  </div>
                  <div class="single-info__content">
                    <h4 class="title"><?php echo app('translator')->get('Phone Number'); ?></h4>
                    <p class="mt-3"><a href="tel:<?php echo e($contactContent->data_values->phone); ?>" class="text--secondary"><?php echo e($contactContent->data_values->phone); ?></a></p>
                  </div>
                </li><!-- single-info end -->
              </ul>
            </div>
            <div class="col-lg-6 mt-lg-0 mt-5">
              <form method="post" action="" class="p-sm-5 p-3 section--bg rounded-3 position-relative verify-gcaptcha">
                <?php echo csrf_field(); ?>
                <div class="row">
                  <div class="form-group col-lg-12">
                    <label><?php echo app('translator')->get('Name'); ?></label>
                    <input type="text" name="name" class="form-control" value="<?php if($user): ?><?php echo e($user->fullname); ?> <?php else: ?><?php echo e(old('name')); ?><?php endif; ?>" <?php if($user): ?> readonly <?php endif; ?> required>
                  </div>
                  <div class="form-group col-lg-12">
                    <label><?php echo app('translator')->get('Email'); ?></label>
                    <input type="text" name="email" class="form-control" value="<?php if($user): ?><?php echo e($user->email); ?><?php else: ?><?php echo e(old('email')); ?><?php endif; ?>" <?php if($user): ?> readonly <?php endif; ?> required>
                  </div>
                  <div class="form-group col-lg-12">
                    <label><?php echo app('translator')->get('Subject'); ?></label>
                    <input type="text" name="subject" class="form-control" value="<?php echo e(old('subject')); ?>" required>
                  </div>
                  <div class="form-group col-lg-12">
                    <label><?php echo app('translator')->get('Message'); ?></label>
                    <textarea name="message" wrap="off" class="form-control" required><?php echo e(old('message')); ?></textarea>
                  </div>
                  <div class="form-group col-lg-12">
                    <?php if (isset($component)) { $__componentOriginalc0af13564821b3ac3d38dfa77d6cac9157db8243 = $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($__componentOriginalc0af13564821b3ac3d38dfa77d6cac9157db8243)): ?>
<?php $component = $__componentOriginalc0af13564821b3ac3d38dfa77d6cac9157db8243; ?>
<?php unset($__componentOriginalc0af13564821b3ac3d38dfa77d6cac9157db8243); ?>
<?php endif; ?>
                  </div>
                  <div class="col-lg-12">
                    <button type="submit" class="btn btn--base w-100"><?php echo app('translator')->get('Submit Now'); ?></button>
                  </div>
                </div>
              </form>
            </div>
          </div>
        </div>
      </section>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make($activeTemplate.'layouts.frontend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tradveia/public_html/core/resources/views/templates/basic/contact.blade.php ENDPATH**/ ?>