<?php
    $navbar = 'nav-main-theme';
?>
 <!--  Extends App Layout -->
<?php $__env->startSection('title', mainTrans('navbar.contact us')); ?> <!-- Tilte -->
<?php $__env->startSection('css'); ?>
    <link rel="stylesheet" href="<?php echo e(asset('assets/css/pages/home/contact.css')); ?>?v=<?php echo time(); ?>">
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?> <!-- Start Content -->


    <header>
        <div class="container ">
            <h1 class="section-name font-30"><?php echo e(mainTrans('contact.Contact Us')); ?>

                <img src="<?php echo e(asset('assets/images/about/blue_highlight.svg')); ?>" alt="">
            </h1>
        </div>
    </header>

    <main id="contact">
        <div class="container mb-5 mt-4">
            <div class="row">
                <div class="col-lg-8">
                    <form class="form validate" action="<?php echo e(route('contact-store')); ?>" method="POST">
                        <div class="box p-3 radius-sm shadow-0">
                            <div class="result"></div>

                            <div class="form-group">
                                <label class="required"><?php echo e(mainTrans('contact.name')); ?></label>
                                <input type="text" name="name" id="" class="input-main radius-sm" required />
                            </div>
                            <!-- Name -->
                            <?php echo csrf_field(); ?>
                            <input type="hidden" name="v" value="<?php echo e(Crypt::encryptString($verify_code)); ?>">
                            <div class="form-group">
                                <label class="required"><?php echo e(mainTrans('contact.email')); ?></label>
                                <input type="email" name="email" id="" class="input-main radius-sm" required />
                            </div>
                            <!-- Email -->

                            <div class="form-group">
                                <label class="required"><?php echo e(mainTrans('contact.message_subject')); ?></label>
                                <input type="text" name="subject" id="" class="input-main radius-sm" required />
                            </div>
                            <!-- subject -->


                            <div class="form-group">
                                <label class="required"><?php echo e(mainTrans('contact.message')); ?></label>
                                <textarea name="message" class="input-main radius-sm" id="" cols="30" rows="7" required></textarea>
                            </div>
                            <!-- Message -->

                            <div class="row">


                                <div class="col-lg-2 col-md-3 col-6">
                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                        'input' => [
                                            'name' => 'verify_code',
                                            'value' => $verify_code,
                                            'options' => [
                                                'class' => 'font-24 text-center bg-dark',
                                                'readonly',
                                            ],
                                        ],
                                    ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?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\FormGroup::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($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?>
                                </div>

                                <div class="col-lg-10 col-md-9 col-6">
                                    <?php if (isset($component)) { $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a = $component; } ?>
<?php $component = App\View\Components\FormGroup::resolve(['properties' => [
                                        'input' => [
                                            'name' => 'verify_code_type',
                                            'options' => [
                                                'placeholder' => mainTrans('order.verification_code_match'),
                                                'class' => 'font-18',
                                                'required'
                                            ],
                                        ],
                                    ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('form-group'); ?>
<?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\FormGroup::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($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a)): ?>
<?php $component = $__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a; ?>
<?php unset($__componentOriginal1c669f5858ba8e548f3c58b275327fb2f8e6401a); ?>
<?php endif; ?>
                                </div>

                            </div>



                        </div>
                        <button type="submit" class="btn btn-main px-4"><?php echo e(mainTrans('contact.send_message')); ?></button>
                    </form>
                </div>
                <!-- Form -->

                <div class="col-lg-4">
                    <section id="contact-items">
                        <div class="row">

                            <?php if(!empty($contact->email)): ?>
                                <div class="col-12">
                                    <?php $__currentLoopData = explode('|', $contact->email); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $emailItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="box radius shadow-0 px-3 py-4 mb-3 dir-ltr">
                                            <a href="mailto:<?php echo e($emailItem); ?>" class="">
                                                <div class="row">
                                                    <div class="col-12 mb-3 text-center">
                                                        <svg width="32px" xmlns="http://www.w3.org/2000/svg"
                                                            viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
                                                            <path
                                                                d="M64 112c-8.8 0-16 7.2-16 16v22.1L220.5 291.7c20.7 17 50.4 17 71.1 0L464 150.1V128c0-8.8-7.2-16-16-16H64zM48 212.2V384c0 8.8 7.2 16 16 16H448c8.8 0 16-7.2 16-16V212.2L322 328.8c-38.4 31.5-93.7 31.5-132 0L48 212.2zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z" />
                                                        </svg>
                                                    </div>

                                                    <div class="col-12 text-center dir-ltr ">
                                                        <?php echo e($emailItem); ?>

                                                    </div>
                                                </div>
                                            </a>
                                        </div>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                </div>
                            <?php endif; ?>

                            <!-- email -->
                            <?php if(!empty($contact->phone)): ?>
                                <div class="col-12">

                                    <?php $__currentLoopData = explode('|', $contact->phone); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $phoneItem): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <div class="box radius shadow-0 px-3 py-4 mb-3 dir-ltr">
                                            <a href="tel:+<?php echo e($phoneItem); ?>" class="">
                                                <div class="row">
                                                    <div class="col-12 mb-3 text-center">
                                                        <svg width="26px" xmlns="http://www.w3.org/2000/svg"
                                                            viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
                                                            <path
                                                                d="M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z" />
                                                        </svg>
                                                    </div>

                                                    <div class="col-12 text-center dir-ltr">
                                                        <?php echo e($phoneItem); ?>+
                                                    </div>
                                                </div>
                                            </a>
                                        </div>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                </div>
                            <?php endif; ?>
                            <!-- phone -->


                        </div>
                    </section>
                </div>
                <!-- Grid 2 -->
            </div>
        </div>
    </main>

<?php $__env->stopSection(); ?> <!-- End Content -->

<?php echo $__env->make('main.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\wjhatna\resources\views/main/contact.blade.php ENDPATH**/ ?>