15 lines
534 B
PHP
15 lines
534 B
PHP
@php
|
|
// Keep the intended destination when a guest arrives from login's
|
|
// "register here" link, so registration returns them to the action they
|
|
// started — reserving a spot, for instance.
|
|
if (request()->has('redirect')) {
|
|
session(['url.intended' => request()->query('redirect')]);
|
|
}
|
|
@endphp
|
|
<x-guest-layout>
|
|
<div class="flex items-center justify-center min-h-screen">
|
|
<!-- Registration Livewire Component (contains modals) -->
|
|
@livewire('registration')
|
|
</div>
|
|
</x-guest-layout>
|