@extends('layouts.app')

@section('content')
<!-- my-account-area start -->
  <div class="my-account-area">
    <div class="container" style="padding-top: 100px;">
      <div class="row">
        <div class="col-md-3"></div>
        <div class="col-md-6">
          <form action="{{ route('login') }}" method="post">
            @csrf
            <div class="form-fields">
              <h2>Login</h2>
              <p>
                <label>Email<span class="required">*</span></label>
                <input type="text" name="email" class="@error('email') is-invalid @enderror" placeholder="Email" value="{{ old('email') }}" required>
                @error('email')
                      <span class="invalid-feedback" role="alert">
                          <strong>{{ $message }}</strong>
                      </span>
                @enderror
              </p>
              <p>
                <label>Password <span class="required">*</span></label>
                <input type="password" name="password" class="@error('password') is-invalid @enderror" placeholder="Password" required>
                @error('password')
                    <span class="invalid-feedback" role="alert">
                        <strong>{{ $message }}</strong>
                    </span>
                @enderror
              </p>
            </div>
            

            <div class="form-action">
              <p class="lost_password1" >
              <a href="{{ route('password.request') }}">Forget Password?</a>
              </p>
                <p class="lost_password1" >
              <a href="{{ url('register') }}">Create Account </a>
              </p>
              <button type="submit" class="btn btn-dark">Login</button>   
				 <a href="{{ url('/login/facebook') }}" class="btn btn-dark">LOG IN WITH FACEBOOK</a>
                    <a href="{{ url('/login/google') }}" class="btn btn-dark">LOG IN WITH GOOGLE</a>
            </div>
          </form>
        </div>
        <div class="col-md-3"></div>
      </div>
    </div>
  </div>
  <!-- my-account-area end -->
@endsection