<?php $__env->startSection('title', $ui['login'] . ' | ' . $ui['brand']); ?>

<?php $__env->startSection('content'); ?>
    <section class="page-hero">
        <div class="container page-hero__grid">
            <div>
                <span class="section-kicker"><?php echo e($ui['login']); ?></span>
                <h1><?php echo e($ui['login']); ?></h1>
                <p><?php echo e($currentLocale === 'en' ? 'Login to ask questions, reply in Darul Ifta, or manage the website.' : 'د دارالافتاء پوښتنو، ځوابونو او ادارې لپاره خپل حساب ته ننوځئ.'); ?></p>
            </div>
            <img src="<?php echo e(asset('images/logo.png')); ?>" alt="">
        </div>
    </section>

    <section class="section-pad">
        <form class="form-panel auth-panel" method="post" action="<?php echo e(route('login.store')); ?>">
            <?php echo csrf_field(); ?>
            <label>
                <span>Email</span>
                <input type="email" name="email" value="<?php echo e(old('email')); ?>" required autofocus>
                <?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]); ?> <small><?php echo e($message); ?></small> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </label>
            <label>
                <span>Password</span>
                <input type="password" name="password" required>
                <?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]); ?> <small><?php echo e($message); ?></small> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </label>
            <label class="check-row">
                <input type="checkbox" name="remember" value="1">
                <span>Remember me</span>
            </label>
            <button class="btn btn-primary" type="submit"><i data-lucide="log-in" aria-hidden="true"></i> <?php echo e($ui['login']); ?></button>
            <a class="auth-link" href="<?php echo e(route('register')); ?>"><?php echo e($ui['register']); ?></a>
        </form>
    </section>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('site.layout', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/jrk-website/resources/views/auth/login.blade.php ENDPATH**/ ?>