login.blade.php 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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-burnt hover:text-yelmax" />
  6. </a>
  7. </x-slot>
  8. <!-- Session Status -->
  9. <x-auth-session-status class="mb-4" :status="session('status')" />
  10. <!-- Validation Errors -->
  11. <x-auth-validation-errors class="mb-4" :errors="$errors" />
  12. <form method="POST" action="{{ route('login') }}">
  13. @csrf
  14. <!-- Email Address -->
  15. <div>
  16. <x-label for="email" :value="__('Email')" />
  17. <x-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus />
  18. </div>
  19. <!-- Password -->
  20. <div class="mt-4">
  21. <x-label for="password" :value="__('Password')" />
  22. <x-input id="password" class="block mt-1 w-full"
  23. type="password"
  24. name="password"
  25. required autocomplete="current-password" />
  26. </div>
  27. <!-- Remember Me -->
  28. <div class="block mt-4">
  29. <label for="remember_me" class="inline-flex items-center">
  30. <input id="remember_me" type="checkbox" class="rounded border-field text-crayola bg-fogra checked:bg-fogra focus:bg-fogra checked:focus:bg-fogra focus:ring-offset-coal focus:ring-burnt hover:bg-fogra" name="remember">
  31. <span class="ml-2 text-sm text-crayola">{{ __('Remember me') }}</span>
  32. </label>
  33. </div>
  34. <div class="flex items-center justify-end mt-4">
  35. @if (Route::has('password.request'))
  36. <a class="underline text-sm text-yelmax hover:text-crayola" href="{{ route('password.request') }}">
  37. {{ __('Forgot your password?') }}
  38. </a>
  39. @endif
  40. <x-button class="ml-3">
  41. {{ __('Log in') }}
  42. </x-button>
  43. </div>
  44. </form>
  45. </x-auth-card>
  46. </x-guest-layout>