<x-head/>
<x-header/>
<br>
<section class="registration">
     <div class="container">
         <h2 class="text-center">Вход</h2>
         <form action="{{ route('auth') }}" method="post">
             @csrf
             <div class="mb-3">
                 <label for="email" class="form-label">Электронная почта</label>
                 <input type="email" class="form-control" name="email">
                 @error('email')
                 <div class="text-danger">{{ $message }}</div>
                 @enderror
             </div>
             <div class="mb-3">
                 <label for="password" class="form-label">Пароль</label>
                 <input type="password" class="form-control" name="password">
                 @error('password')
                 <div class="text-danger">{{ $message }}</div>
                 @enderror
             </div>
             <button type="submit" class="btn btn-outline-dark" style="border-radius: 40px;">Войти</button>
         </form>
         <p class="mt-3 text-center">Нет аккаунта? <a href="{{ route('register') }}">Зарегистрироваться</a></p>
     </div>
</section>

<x-footer />