
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script
      src="https://kit.fontawesome.com/64d58efce2.js"
      crossorigin="anonymous"
    ></script>
    <link rel="stylesheet" href="<?php echo e(asset('backend')); ?>/login/style.css" />
    <title>Login</title>
  </head>
  <body>
    <div class="container">
      <div class="forms-container">
        <div class="signin-signup">
          <?php
          $logo = DB::table('logos')->first();
          ?>

        <form method="POST" action="<?php echo e(route('admin.login')); ?>">
        <?php echo csrf_field(); ?>
          <?php if(isset($logo->logo_img) && $logo->logo_image != null): ?>
          <img src="<?php echo e(asset('logo_img/'.$logo->logo_image ?? '')); ?>" height="40" width="200"><br>
          <?php else: ?>
          <img src="<?php echo e(asset('logo_img/default/logo.png')); ?>" alt="avatar" height="40" width="200"><br>
          <?php endif; ?>

            <h2 class="title">Sign in</h2>

            <div class="input-field">
              <i class="fas fa-user"></i>
              <input type="text" placeholder="Email" name="email" />
              <?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="invalid-feedback" role="alert">
                    <strong><?php echo e($message); ?></strong>
                </span>
              <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

            </div>

            <div class="input-field">
              <i class="fas fa-lock"></i>
              <input type="password" placeholder="Password" name="password" />
              <?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="invalid-feedback" role="alert">
                  <strong><?php echo e($message); ?></strong>
                </span>
              <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>

            </div>

            <?php echo NoCaptcha::renderJs(); ?>

            <?php echo NoCaptcha::display(); ?>


                <?php if($errors->has('g-recaptcha-response')): ?>
                    <span class="help-block text-danger">
                        <strong><?php echo e($errors->first('g-recaptcha-response')); ?></strong>
                    </span>
            <?php endif; ?>

            <input type="submit" value="Login" class="btn solid" />
            
          </form>

          
        </div>
      </div>

      <div class="panels-container">
        <div class="panel left-panel">
          <div class="content">
            <h3>Home Page Back</h3>
            <p>
              Lorem ipsum, dolor sit amet consectetur adipisicing elit. Debitis,
              ex ratione. Aliquid!
            </p>
            <a href="<?php echo e(url('/')); ?>">
            <button class="btn transparent" id="sign-up-btn">
              Back To Home Page
            </button></a>
          </div>
          <img src="<?php echo e(asset('/backend/app-assets/images/pages/login-v2.svg')); ?>" class="image" alt="" />
        </div>
      </div>
    </div>

    <script src="<?php echo e(asset('backend')); ?>/login/app.js"></script>
  </body>
</html>
<?php /**PATH E:\Project\Personal-Project\Office-Project\update\test-paper-finals\resources\views/admin/auth/login.blade.php ENDPATH**/ ?>