11
11
{
12
12
public LoginForm $form ;
13
13
14
- /**
15
- * Handle an incoming authentication request.
16
- */
17
14
public function login (): void
18
15
{
19
16
$this -> validate ();
@@ -25,7 +22,6 @@ public function login(): void
25
22
$this -> redirectIntended (default : route (' dashboard' , absolute : false ), navigate : true );
26
23
}
27
24
}; ? >
28
- {{-- <x-app-layout :title="__('pages/auth.login.page_title')"> --}}
29
25
<div >
30
26
<x-container class =" flex min-h-full items-center justify-center py-16 sm:pt-24" >
31
27
<div class =" w-full max-w-md space-y-8" >
@@ -37,7 +33,6 @@ public function login(): void
37
33
<form class =" space-y-6" wire:submit.prevent =" login" >
38
34
@csrf
39
35
<div class =" space-y-4" >
40
- <!-- Email Input -->
41
36
<div class =" space-y-1" >
42
37
<label for =" email" class =" block text-sm font-medium text-gray-700 dark:text-gray-300" >
43
38
{{ __ (' validation.attributes.email' ) } }
@@ -56,7 +51,6 @@ class="block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:
56
51
@enderror
57
52
</div >
58
53
59
- <!-- Password Input -->
60
54
<div class =" space-y-1" >
61
55
<label for =" password" class =" block text-sm font-medium text-gray-700 dark:text-gray-300" >
62
56
{{ __ (' validation.attributes.password' ) } }
@@ -77,7 +71,6 @@ class="block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:
77
71
</div >
78
72
79
73
<div class =" flex items-center justify-between" >
80
- <!-- Remember Me Checkbox -->
81
74
<div class =" flex items-center" >
82
75
<input
83
76
type =" checkbox"
@@ -90,7 +83,6 @@ class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded"
90
83
</label >
91
84
</div >
92
85
93
- <!-- Forgot Password Link -->
94
86
<div class =" text-sm" >
95
87
<a href =" {{ route (' password.request' ) } }" class =" font-medium text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white" >
96
88
{{ __ (' pages/auth.login.forgot_password' ) } }
@@ -113,78 +105,6 @@ class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded"
113
105
114
106
<x-join-sponsors :title =" __('global.sponsor_thanks')" />
115
107
</div >
116
-
117
- {{-- </x-app-layout> --}}
118
-
119
-
120
- {{-- <x-app-layout :title="__('pages/auth.login.page_title')">
121
- <x-container class="flex min-h-full items-center justify-center py-16 sm:pt-24">
122
- <div class="w-full max-w-md space-y-8">
123
- <div>
124
- <h2 class="text-center font-heading text-3xl font-extrabold text-gray-900 dark:text-white">
125
- {{ __('pages/auth.login.title') }}
126
- </h2>
127
- </div>
128
- <form class="space-y-6" action="{{ route('login') }}" method="POST">
129
- @csrf
130
- <div class="space-y-4">
131
- <x-filament::input.wrapper>
132
- <x-filament::input
133
- type="text"
134
- id="email-address"
135
- name="email"
136
- autocomplete="email"
137
- required="true"
138
- aria-label="{{ __('validation.attributes.email') }}"
139
- :placeholder="__('validation.attributes.email')"
140
- />
141
- </x-filament::input.wrapper>
142
- <x-filament::input.wrapper>
143
- <x-filament::input
144
- type="password"
145
- id="password"
146
- name="password"
147
- required="true"
148
- aria-label="{{ __('validation.attributes.password') }}"
149
- :placeholder="__('validation.attributes.password')"
150
- />
151
- </x-filament::input.wrapper>
152
- </div>
153
-
154
- <div class="flex items-center justify-between">
155
- <div class="flex items-center">
156
- <label class="inline-flex items-center gap-2 cursor-pointer text-sm text-gray-500 dark:text-gray-400">
157
- <x-filament::input.checkbox id="remember_me" name="remember_me" />
158
- {{ __('pages/auth.login.remember_me') }}
159
- </label>
160
- </div>
161
-
162
- <div class="text-sm">
163
- <x-link
164
- :href="route('password.request')"
165
- class="font-medium text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-white"
166
- >
167
- {{ __('pages/auth.login.forgot_password') }}
168
- </x-link>
169
- </div>
170
- </div>
171
-
172
- <div>
173
- <x-buttons.primary type="submit" class="group relative w-full">
174
- <span class="absolute pointer-events-none inset-y-0 left-0 flex items-center pl-3">
175
- <x-untitledui-lock class="size-5 text-green-500 group-hover:text-green-600" aria-hidden="true" />
176
- </span>
177
- {{ __('pages/auth.login.submit') }}
178
- </x-buttons.primary>
179
- </div>
180
- </form>
181
-
182
- @include('partials._socials-link')
183
- </div>
184
- </x-container>
185
-
186
- <x-join-sponsors :title="__('global.sponsor_thanks')" />
187
- </x-app-layout> --}}
188
108
189
109
190
110
0 commit comments