
<?php $__env->startPush('title'); ?>
    <?php echo e($pageTitle); ?>

<?php $__env->stopPush(); ?>
<?php $__env->startSection('content'); ?>

    <section class=" p-3 h-100 d-flex align-items-center">
        <div class="bda-w-card">
            <div class="bda-mb-30">
                <a href="<?php echo e(route('frontend-settings')); ?>">
                    <img class="bda-logo-main" src="<?php echo e(getImageUrl(getOption('white_logo'))); ?>" alt="logo">
                </a>
            </div>
            <h5 class="bda-fs-40 title-light bda-mb-10"><?php echo e(__("Sign In")); ?></h5>
            <p class="bda-mb-30"><?php echo e(__("Welcome back! Please signing to continue.")); ?></p>
            </p>
            <form method="POST" action="<?php echo e(route('login')); ?>" id="loginForm">
                <?php echo csrf_field(); ?>
                <div class="bda-from-box">
                    <label for="emailInput" class="bda-text-label"><?php echo e(__("Email")); ?></label>
                    <input type="email" class="bda-from-control <?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>" name="email"
                           id="emailInput" placeholder="<?php echo e(__("Enter your email")); ?>">
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <span class="fst-normal invalid-feedback mb-3 ms-1 mt-0 mt-2 pt-0" role="alert">
                        <strong><?php echo e($message); ?></strong>
                    </span>
                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>
                <div class="bda-from-box">
                    <label for="passwordInput" class="bda-text-label"><?php echo e(__("Password")); ?></label>
                    <input type="password"
                           class="bda-from-control password-field <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
                           id="passwordInput" name="password" placeholder="<?php echo e(__("Enter your password")); ?>">
                    <i class="ri-eye-line fw"></i>
                    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <span class="fst-normal invalid-feedback mb-3 ms-1 mt-0 mt-2 pt-0" role="alert">
                        <strong><?php echo e($message); ?></strong>
                    </span>
                    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
                </div>
                <div class="bda-mb-30 bda-mt-10">
                    <a href="<?php echo e(route('password.request')); ?>"><?php echo e(__("Forgot password?")); ?></a>
                </div>
                <input type="hidden" name="recaptcha_token" id="recaptchaToken" class="bda-mt-10">
                <div class="bda-mb-30 bda-mt-10">
                    <button type="submit" class="bda-btu-theme"><?php echo e(__("Login")); ?></button>
                </div>
                <p><?php echo e(__("Don't have an account?")); ?> <a class="title-light"
                                                       href="<?php echo e(route('register')); ?>"><?php echo e(__("Create an account")); ?></a>
                <div class="row bda-mt-30">
                    <div class="col-md-6 <?php echo e(getOption('google_login_status') != ACTIVE ? 'd-none' : ''); ?>">
                        <a href="<?php echo e(route('login.google')); ?>" class="bda-social-login-social-btu">
                            <img src="<?php echo e(getImageUrl('assets/images/google.png')); ?>" alt="">
                            <span><?php echo e(__("Google")); ?></span>
                        </a>
                    </div>
                    <div class="col-md-6 <?php echo e(getOption('facebook_login_status') != ACTIVE ? 'd-none' : ''); ?>">
                        <a href="<?php echo e(route('login.facebook')); ?>" class="bda-social-login-social-btu">
                            <img src="<?php echo e(getImageUrl('assets/images/facebook.png')); ?>" alt="">
                            <span><?php echo e(__("Facebook")); ?></span>
                        </a>
                    </div>
                </div>
            </form>
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(env('APP_DEMO', false)): ?>
                <div class="row p-3">
                    <table
                        class="accordion table-login-page-credential-color fs-16 table table-bordered table-dark table-responsive">
                        <tbody>
                        <tr>
                            <td class="bda-pt-12">admin@gmail.com</td>
                            <td class="bda-pt-12">12345678</td>
                            <td>
                                <button type="button"
                                        class="bd-social-submit  login-credential-copy-action p-1 upper-bg title-light rounded-4 bda-border-stroke w-100"
                                        data-user="admin"><?php echo e(__("Copy")); ?></button>
                            </td>
                        </tr>
                        <tr>
                            <td class="bda-pt-12">user@gmail.com</td>
                            <td class="bda-pt-12">12345678</td>
                            <td>
                                <button type="button"
                                        class="bd-social-submit login-credential-copy-action p-1 upper-bg title-light rounded-4 bda-border-stroke w-100"
                                        data-user="user"><?php echo e(__("Copy")); ?></button>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('script'); ?>
    <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(getOption('recaptcha_status') == ACTIVE): ?>
        <script src="https://www.google.com/recaptcha/api.js?render=<?php echo e(getOption('recaptcha_site_key')); ?>"></script>
        <script>
            grecaptcha.ready(function () {
                grecaptcha.execute('<?php echo e(getOption('recaptcha_site_key')); ?>', {action: 'login'}).then(function (token) {
                    document.getElementById('recaptchaToken').value = token;
                });
            });
        </script>
    <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
    <script>
        $(document).ready(function () {
            $(document).on("click", ".login-credential-copy-action", function () {
                var user = $(this).data('user');
                $("#emailInput").val(user + '@gmail.com');
                $("#passwordInput").val(12345678);
            });
        });
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('auth.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/www/voizur.bdcoder.com/resources/views/auth/login.blade.php ENDPATH**/ ?>