@extends('layouts.guest2')

@section('title', 'User Login')



@section('content')


 






<div class="col-md-8 offset-md-8 text-left side_signing_full">
    
<form class="form-signin1 full_side text-white " action="{{ route('login') }}" method="POST">
    @csrf
    
  <img style="width:45%;height:30%" src="{{ asset('storage/app/public/photos/'.$settings->logo)}}" >
  @if(Session::has('status'))
      <div class="alert alert-danger alert-dismissible fade show" role="alert">
          {{ session('status') }}
          <button type="button" class="close" data-dismiss="alert" aria-label="Close">
          <span aria-hidden="true">&times;</span>
          </button>
      </div>
      @endif
      @if ($errors->any())
      <div class="alert alert-danger">
        <button type="button" class="text-white close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span>
            </button>
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
        
    </div>
@endif
<span><h3 style="color:crimson;text-align:center"></h3></span>
<span><h3 style="color:green;text-align:center"></h3></span>
  <h2 class="tex-black mb-4">Sign in</h2>
  <label  style="color:black">Your Email/Username</label>
  <input type="text" style="color:black;font-weight:bold" name="email" class="form-control" placeholder="email or username" value="{{ old('email') }}" required>
  <span style="color:crimson"></span>
  <br>
  <label style="color:black">Password</label>
  <input type="password" style="color:black;font-weight:bold" name="password" value=""  class="form-control" placeholder="Password" required>
  <span style="color:crimson"></span>
  <br>
  <input type="checkbox" style="width:auto" name="remember" id="check" >  <label for="check" style="color:black">Remember Me</label>
  <br>
  <input type="submit" name="login_btn" style="background:#0080db;color:white" class="btn btn-lg btn-success btn-round" value="Login"><br>
  <br>
  <p class="mt-3"><a href="register" class="text-white">Register here!</a> <br>
    <a  style="color:#0080db" href="{{ route('password.request') }}" class="">Forgot password?</a></p>
</form>
<br>
</div>  </div>




 

  

@endsection