]> git.localhorst.tv Git - alttp.git/blob - resources/views/auth/login.blade.php
tracker items as svg
[alttp.git] / resources / views / auth / login.blade.php
1 <x-guest-layout>
2     <x-auth-card>
3         <x-slot name="logo">
4             <a href="/">
5                 <x-application-logo class="w-20 h-20 fill-current text-gray-500" />
6             </a>
7         </x-slot>
8
9         <!-- Session Status -->
10         <x-auth-session-status class="mb-4" :status="session('status')" />
11
12         <!-- Validation Errors -->
13         <x-auth-validation-errors class="mb-4" :errors="$errors" />
14
15         <form method="POST" action="{{ route('login') }}">
16             @csrf
17
18             <!-- Email Address -->
19             <div>
20                 <x-label for="email" :value="__('Email')" />
21
22                 <x-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus />
23             </div>
24
25             <!-- Password -->
26             <div class="mt-4">
27                 <x-label for="password" :value="__('Password')" />
28
29                 <x-input id="password" class="block mt-1 w-full"
30                                 type="password"
31                                 name="password"
32                                 required autocomplete="current-password" />
33             </div>
34
35             <!-- Remember Me -->
36             <div class="block mt-4">
37                 <label for="remember_me" class="inline-flex items-center">
38                     <input id="remember_me" type="checkbox" class="rounded border-gray-300 text-indigo-600 shadow-sm focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50" name="remember">
39                     <span class="ml-2 text-sm text-gray-600">{{ __('Remember me') }}</span>
40                 </label>
41             </div>
42
43             <div class="flex items-center justify-end mt-4">
44                 @if (Route::has('password.request'))
45                     <a class="underline text-sm text-gray-600 hover:text-gray-900" href="{{ route('password.request') }}">
46                         {{ __('Forgot your password?') }}
47                     </a>
48                 @endif
49
50                 <x-button class="ml-3">
51                     {{ __('Log in') }}
52                 </x-button>
53             </div>
54         </form>
55     </x-auth-card>
56 </x-guest-layout>