@extends('layouts.layout')

@section('title')Авторизацiя @endsection

@section('content')

<section>
    <div class='container'>

        <h4>Авторизацiя</h4>
        
        <form method="post" action="{{ route('login') }}">

            @csrf

            <div class="form-group">
                <label for='email'>Email address</label>
                <input class="form-control" type="email" id="email" name="email" value="{{ old('email') }}">
            </div>
            
            <div class="form-group">
                <label for='password'>Password</label>
                <input class="form-control" type="password" id="password" name="password">
            </div>
            
            <div class="form-group">
                <button type="submit" class="btn btn-primary">Войти</button>
            </div>
            
            <a class="" href="{{ route('login.google') }}">Войти через Google</a><br>
            <a class="" href="{{ route('login.facebook') }}">Войти через Facebook</a><br>
            
            @signInWithApple("black", true, "sign-in", 10)
            
        </form>
        
        <a class="" href="{{ route('register.create') }}">Регiстрацiя</a>

    </div>
</section>


@endsection  

