1414 </a >
1515 </p >
1616 </div >
17- <form class =" mt-4 space-y-3" action =" # " method =" POST" >
17+ <form class =" mt-4 space-y-3" action =" {{ route ( ' login.process ' ) } } " method =" POST" >
1818 @csrf
1919
20+ @error (' email' )
21+ <div class =" mb-4 p-4 rounded-lg bg-red-50 dark:bg-red-900/20 border border-red-400 dark:border-red-800 text-red-700 dark:text-red-300" >
22+ <div class =" flex items-center" >
23+ <svg class =" h-5 w-5 mr-2" fill =" currentColor" viewBox =" 0 0 20 20" >
24+ <path fill-rule =" evenodd" d =" M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z" clip-rule =" evenodd" ></path >
25+ </svg >
26+ <p >{{ $message } } </p >
27+ </div >
28+ </div >
29+ @enderror
2030 <div class =" rounded-md shadow-sm -space-y-px" >
2131 <div >
2232 <label for =" email" class =" sr-only" >Email address</label >
2333 <input id =" email" name =" email" type =" email" autocomplete =" email" required
24- class =" appearance-none rounded-none relative block w-full px-4 py-2.5 border border-gray-300
25- dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900
26- dark:text-white bg-white/80 dark:bg-gray-800/50 rounded-t-md focus:outline-none focus:ring-violet-500
34+ class =" appearance-none rounded-none relative block w-full px-4 py-2.5 border border-gray-300
35+ dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900
36+ dark:text-white bg-white/80 dark:bg-gray-800/50 rounded-t-md focus:outline-none focus:ring-violet-500
2737 dark:focus:ring-violet-400 focus:border-violet-500 dark:focus:border-violet-400 focus:z-10 sm:text-sm transition duration-200"
2838 placeholder =" Email address" value =" {{ old (' email' ) } }" >
29- @error (' email' )
30- <p class =" text-red-500 dark:text-red-400 text-xs mt-1" >{{ $message } } </p >
31- @enderror
3239 </div >
3340 <div >
3441 <label for =" password" class =" sr-only" >Password</label >
3542 <input id =" password" name =" password" type =" password" autocomplete =" current-password" required
36- class =" appearance-none rounded-none relative block w-full px-4 py-2.5 border border-gray-300
37- dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900
38- dark:text-white bg-white/80 dark:bg-gray-800/50 rounded-b-md focus:outline-none focus:ring-violet-500
43+ class =" appearance-none rounded-none relative block w-full px-4 py-2.5 border border-gray-300
44+ dark:border-gray-700 placeholder-gray-500 dark:placeholder-gray-400 text-gray-900
45+ dark:text-white bg-white/80 dark:bg-gray-800/50 rounded-b-md focus:outline-none focus:ring-violet-500
3946 dark:focus:ring-violet-400 focus:border-violet-500 dark:focus:border-violet-400 focus:z-10 sm:text-sm transition duration-200"
4047 placeholder =" Password" >
41- @error (' password' )
42- <p class =" text-red-500 dark:text-red-400 text-xs mt-1" >{{ $message } } </p >
43- @enderror
4448 </div >
4549 </div >
4650
4751 <div class =" flex items-center justify-between mt-3" >
4852 <div class =" flex items-center" >
4953 <input id =" remember_me" name =" remember" type =" checkbox"
50- class =" h-4 w-4 text-violet-600 dark:text-violet-500 focus:ring-violet-500 dark:focus:ring-violet-400
54+ class =" h-4 w-4 text-violet-600 dark:text-violet-500 focus:ring-violet-500 dark:focus:ring-violet-400
5155 border-gray-300 dark:border-gray-700 rounded dark:bg-gray-800/50 transition duration-200" >
5256 <label for =" remember_me" class =" ml-2 block text-sm text-gray-900 dark:text-gray-200" >
5357 Remember me
@@ -64,7 +68,7 @@ class="h-4 w-4 text-violet-600 dark:text-violet-500 focus:ring-violet-500 dark:f
6468 <div class =" mt-4" >
6569 <button type =" submit"
6670 class =" group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium
67- rounded-xl text-white bg-violet-600 hover:bg-violet-700 dark:bg-violet-700 dark:hover:bg-violet-800
71+ rounded-xl text-white bg-violet-600 hover:bg-violet-700 dark:bg-violet-700 dark:hover:bg-violet-800
6872 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-violet-500 dark:focus:ring-violet-400
6973 dark:focus:ring-offset-gray-800 transition duration-300" >
7074 <span class =" absolute left-0 inset-y-0 flex items-center pl-3" >
0 commit comments