diff --git a/app/Http/Controllers/Auth/RegisteredUserController.php b/app/Http/Controllers/Auth/RegisteredUserController.php index 0739e2e..c88fa69 100644 --- a/app/Http/Controllers/Auth/RegisteredUserController.php +++ b/app/Http/Controllers/Auth/RegisteredUserController.php @@ -10,18 +10,9 @@ use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Hash; use Illuminate\Validation\Rules; -use Illuminate\View\View; class RegisteredUserController extends Controller { - /** - * Display the registration view. - */ - public function create(): View - { - return view('auth.register'); - } - /** * Handle an incoming registration request. * diff --git a/resources/views/auth/confirm-password.blade.php b/resources/views/auth/confirm-password.blade.php index 3cbbe08..f462403 100644 --- a/resources/views/auth/confirm-password.blade.php +++ b/resources/views/auth/confirm-password.blade.php @@ -1,27 +1,29 @@ -
- {{ __('This is a secure area of the application. Please confirm your password before continuing.') }} +
+
+ {{ __('This is a secure area of the application. Please confirm your password before continuing.') }} +
+ +
+ @csrf + + +
+ + + + + +
+ +
+ + {{ __('Confirm') }} + +
+
- -
- @csrf - - -
- - - - - -
- -
- - {{ __('Confirm') }} - -
-
diff --git a/resources/views/auth/forgot-password.blade.php b/resources/views/auth/forgot-password.blade.php index 3c70788..0ece4d3 100644 --- a/resources/views/auth/forgot-password.blade.php +++ b/resources/views/auth/forgot-password.blade.php @@ -1,25 +1,27 @@ -
- {{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }} +
+
+ {{ __('Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.') }} +
+ + + + +
+ @csrf + + +
+ + + +
+ +
+ + {{ __('Send Password Reset Link') }} + +
+
- - - - -
- @csrf - - -
- - - -
- -
- - {{ __('Email Password Reset Link') }} - -
-
diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 80e1b39..e348a79 100644 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -1,47 +1,138 @@ - - - -
- @csrf - - -
- - - -
- - -
- - - - - -
- - -
- -
- -
- @if (Route::has('password.request')) - - {{ __('Forgot your password?') }} + + + + + + + + diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php deleted file mode 100644 index d4b3d58..0000000 --- a/resources/views/auth/register.blade.php +++ /dev/null @@ -1,52 +0,0 @@ - -
- @csrf - - -
- - - -
- - -
- - - -
- - -
- - - - - -
- - -
- - - - - -
- -
- - {{ __('Already registered?') }} - - - - {{ __('Register') }} - -
-
-
diff --git a/resources/views/auth/reset-password.blade.php b/resources/views/auth/reset-password.blade.php index a6494cc..5ae3b8d 100644 --- a/resources/views/auth/reset-password.blade.php +++ b/resources/views/auth/reset-password.blade.php @@ -1,39 +1,41 @@ -
- @csrf +
+ + @csrf - - + + - -
- - - -
+ +
+ + + +
- -
- - - -
+ +
+ + + +
- -
- + +
+ - + - -
+ +
-
- - {{ __('Reset Password') }} - -
- +
+ + {{ __('Reset Password') }} + +
+ +
diff --git a/resources/views/auth/verify-email.blade.php b/resources/views/auth/verify-email.blade.php index 4e4222f..f0b011b 100644 --- a/resources/views/auth/verify-email.blade.php +++ b/resources/views/auth/verify-email.blade.php @@ -1,31 +1,33 @@ -
- {{ __('Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn\'t receive the email, we will gladly send you another.') }} -
- - @if (session('status') == 'verification-link-sent') -
- {{ __('A new verification link has been sent to the email address you provided during registration.') }} +
+
+ {{ __('Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn\'t receive the email, we will gladly send you another.') }}
- @endif -
-
- @csrf - -
- - {{ __('Resend Verification Email') }} - + @if (session('status') == 'verification-link-sent') +
+ {{ __('A new verification link has been sent to the email address you provided during registration.') }}
- + @endif -
- @csrf +
+ + @csrf - - +
+ + {{ __('Resend Verification Email') }} + +
+ + +
+ @csrf + + +
+
diff --git a/resources/views/components/application-logo.blade.php b/resources/views/components/application-logo.blade.php index 03cdb26..bb57f69 100644 --- a/resources/views/components/application-logo.blade.php +++ b/resources/views/components/application-logo.blade.php @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/resources/views/layouts/guest.blade.php b/resources/views/layouts/guest.blade.php index 1381fb5..c203273 100644 --- a/resources/views/layouts/guest.blade.php +++ b/resources/views/layouts/guest.blade.php @@ -3,17 +3,15 @@ @include('partials.head') - -
+ +
-
- {{ $slot }} -
+ {{ $slot }}
diff --git a/resources/views/layouts/navigation.blade.php b/resources/views/layouts/navigation.blade.php index 2a37eae..ddf17f1 100644 --- a/resources/views/layouts/navigation.blade.php +++ b/resources/views/layouts/navigation.blade.php @@ -188,8 +188,8 @@ @guest
- {{ __('nav.login') }} + class="relative bg-rose-700 hover:bg-rose-600 text-white font-bold px-4 h-10 rounded text-center p-[10px]"> + {{ __('nav.login') }}
@endguest diff --git a/routes/auth.php b/routes/auth.php index 3926ecf..be573ed 100644 --- a/routes/auth.php +++ b/routes/auth.php @@ -12,11 +12,9 @@ use App\Http\Controllers\Auth\VerifyEmailController; use Illuminate\Support\Facades\Route; Route::middleware('guest')->group(function () { - Route::get('register', [RegisteredUserController::class, 'create']) + Route::post('register', [RegisteredUserController::class, 'store']) ->name('register'); - Route::post('register', [RegisteredUserController::class, 'store']); - Route::get('login', [AuthenticatedSessionController::class, 'create']) ->name('login');