Viewing file: b9d71c2bd6f613ab5135f3edc13db334.php (14.2 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<div class="min-h-[80vh] py-16 flex items-center justify-center dark:bg-gray-900 bg-gray-50"> <div class="mx-3"> <div class="auth-card border border-gray-100 dark:border-gray-600 w-full max-w-[536px] md:min-w-[536px] sm:p-8 p-5 mb-4 rounded-xl bg-white dark:bg-gray-800"> <h2 class="heading-05 text-center text-gray-900 dark:text-white mb-6"><?php echo e(__('login_to_your_account')); ?></h2> <form x-data="{ openEye: false }"> <div class="flex flex-col gap-4 mb-6"> <div> <label for="email" class="tc-label"><?php echo e(__('email')); ?></label> <input wire:model.lazy="username" type="text" placeholder="Email address" class="tc-input <?php $__errorArgs = ['username']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <?php echo twMerge('focus:border-red-500 hover:border-red-500 border-red-500'); ?> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?>" autocomplete="off"> <?php $__errorArgs = ['username']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <p class="text-sm text-red-600 dark:text-red-500"><?php echo e($message); ?></p> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div> <div class="flex justify-between items-center"> <label for="email" class="tc-label"><?php echo e(__('password')); ?></label> <a href="<?php echo e(route('frontend.forgot.password')); ?>" class="heading-08 text-primary-500"><?php echo e(__('forgot_password')); ?></a> </div> <div class="relative"> <input wire:model.lazy="password" :type="openEye ? 'text' : 'password'" placeholder="Password" class="tc-input <?php $__errorArgs = ['password']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <?php echo twMerge('focus:border-red-500 hover:border-red-500 border-red-500'); ?> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?>"> <span @click="openEye = !openEye" class="absolute dark:text-gray-100 cursor-pointer top-1/2 -translate-y-1/2 ltr:right-3.5 rtl:left-3.5"> <?php if (isset($component)) { $__componentOriginal9608119b2f5f46bec8cafbaaa16ac24d = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal9608119b2f5f46bec8cafbaaa16ac24d = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.eye-slash-icon','data' => ['xShow' => '!openEye']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.eye-slash-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['xShow' => '!openEye']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal9608119b2f5f46bec8cafbaaa16ac24d)): ?> <?php $attributes = $__attributesOriginal9608119b2f5f46bec8cafbaaa16ac24d; ?> <?php unset($__attributesOriginal9608119b2f5f46bec8cafbaaa16ac24d); ?> <?php endif; ?> <?php if (isset($__componentOriginal9608119b2f5f46bec8cafbaaa16ac24d)): ?> <?php $component = $__componentOriginal9608119b2f5f46bec8cafbaaa16ac24d; ?> <?php unset($__componentOriginal9608119b2f5f46bec8cafbaaa16ac24d); ?> <?php endif; ?> <?php if (isset($component)) { $__componentOriginale1e920b5c2ac7ca9a255331aa7df9857 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginale1e920b5c2ac7ca9a255331aa7df9857 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.eye-open-icon','data' => ['xShow' => 'openEye']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.eye-open-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['xShow' => 'openEye']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginale1e920b5c2ac7ca9a255331aa7df9857)): ?> <?php $attributes = $__attributesOriginale1e920b5c2ac7ca9a255331aa7df9857; ?> <?php unset($__attributesOriginale1e920b5c2ac7ca9a255331aa7df9857); ?> <?php endif; ?> <?php if (isset($__componentOriginale1e920b5c2ac7ca9a255331aa7df9857)): ?> <?php $component = $__componentOriginale1e920b5c2ac7ca9a255331aa7df9857; ?> <?php unset($__componentOriginale1e920b5c2ac7ca9a255331aa7df9857); ?> <?php endif; ?> </span> </div> <?php $__errorArgs = ['password']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <p class="text-sm text-red-600 dark:text-red-500"><?php echo e($message); ?></p> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> </div>
<?php if(config('captcha.active')): ?> <div class="mb-5"> <div id="captcha" wire:ignore></div> <?php $__errorArgs = ['captcha']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <p class="mb-3 text-sm text-red-600 dark:text-red-500"> <?php echo e($message); ?>
</p> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <?php endif; ?>
<div> <button wire:loading.attr="disabled" wire:click.prevent="login()" type="button" class="btn-primary py-3 px-5 w-full flex"> <span><?php echo e(__('login')); ?></span> <span wire:loading wire:target="login" class="animate-spin rtl:rotate-180"> <?php if (isset($component)) { $__componentOriginal58511c84505519938f3e2e5e3f8f9df6 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal58511c84505519938f3e2e5e3f8f9df6 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.loading-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.loading-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginal58511c84505519938f3e2e5e3f8f9df6)): ?> <?php $attributes = $__attributesOriginal58511c84505519938f3e2e5e3f8f9df6; ?> <?php unset($__attributesOriginal58511c84505519938f3e2e5e3f8f9df6); ?> <?php endif; ?> <?php if (isset($__componentOriginal58511c84505519938f3e2e5e3f8f9df6)): ?> <?php $component = $__componentOriginal58511c84505519938f3e2e5e3f8f9df6; ?> <?php unset($__componentOriginal58511c84505519938f3e2e5e3f8f9df6); ?> <?php endif; ?> </span> <span wire:loading.remove wire:target="login" class="rtl:rotate-180"> <?php if (isset($component)) { $__componentOriginal2273fd2cff81bab6c852e3c13c778d93 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal2273fd2cff81bab6c852e3c13c778d93 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.svg.arrow-long-icon','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('svg.arrow-long-icon'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginal2273fd2cff81bab6c852e3c13c778d93)): ?> <?php $attributes = $__attributesOriginal2273fd2cff81bab6c852e3c13c778d93; ?> <?php unset($__attributesOriginal2273fd2cff81bab6c852e3c13c778d93); ?> <?php endif; ?> <?php if (isset($__componentOriginal2273fd2cff81bab6c852e3c13c778d93)): ?> <?php $component = $__componentOriginal2273fd2cff81bab6c852e3c13c778d93; ?> <?php unset($__componentOriginal2273fd2cff81bab6c852e3c13c778d93); ?> <?php endif; ?> </span> </button> </div> </form>
<?php if (isset($component)) { $__componentOriginal22fa46e6382611d11fadb994516a08fb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal22fa46e6382611d11fadb994516a08fb = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.frontend.social-login','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('frontend.social-login'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::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($__attributesOriginal22fa46e6382611d11fadb994516a08fb)): ?> <?php $attributes = $__attributesOriginal22fa46e6382611d11fadb994516a08fb; ?> <?php unset($__attributesOriginal22fa46e6382611d11fadb994516a08fb); ?> <?php endif; ?> <?php if (isset($__componentOriginal22fa46e6382611d11fadb994516a08fb)): ?> <?php $component = $__componentOriginal22fa46e6382611d11fadb994516a08fb; ?> <?php unset($__componentOriginal22fa46e6382611d11fadb994516a08fb); ?> <?php endif; ?> </div> <div class="flex gap-3 flex-wrap justify-between items-center"> <p class="flex gap-1.5 items-center"> <span class="body-md-400 text-gray-600 dark:text-gray-100"><?php echo e(__('you_dont_have_account')); ?></span> <a href="<?php echo e(route('frontend.signup')); ?>" class="heading-07 hover:text-primary-700 transition-all duration-300 text-primary-500"> <?php echo e(__('create_account')); ?>
</a> </p> </div> </div> </div>
<?php $__env->startPush('js'); ?> <?php if(config('captcha.active')): ?> <script src="https://www.google.com/recaptcha/api.js?onload=handle&render=explicit" async defer></script>
<script> var handle = function(e) { widget = grecaptcha.render('captcha', { 'sitekey': '<?php echo e(config('captcha.sitekey')); ?>', 'theme': 'light', // you could switch between dark and light mode. 'callback': verify });
} var verify = function(response) { window.livewire.find('<?php echo e($_instance->id); ?>').set('captcha', response) } </script> <?php endif; ?> <?php $__env->stopPush(); ?> <?php /**PATH /home/picotech/domains/classify.picotech.app/public_html/resources/views/livewire/auth/login.blade.php ENDPATH**/ ?>
|