@php if (request()->has('redirect')) { session(['url.intended' => request()->query('redirect')]); } @endphp @if(isMaintenanceMode() || session('maintenance_mode_active'))

{{ __('Site under maintenance') }}

{{ __('The site is currently undergoing maintenance, and login is temporarily unavailable. Thank you for your patience.') }}

@endif @if ($errors->any())
@if(session('maintenance_mode_active')) {{-- Show maintenance error without "Whoops!" heading --}}
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
@else {{-- Show standard validation errors with "Whoops!" heading --}} @endif
@endif @if (session('status'))
{{ session('status') }}
@endif {{-- Shown only for a guest who clicked "Reserve a spot" on an event. The same login page serves other guest redirects (reactions, for one), so the reason parameter — not merely the presence of a redirect — is what gates this. --}} @if (request()->query('reason') === 'reserve' && request()->filled('redirect'))

{{ __('To reserve a spot a :platform account is required. Please log in to continue.', ['platform' => platform_name()]) }}

@php // The link is a placeholder rather than a separate string: // "register here" puts the link in a different position in // Dutch and German, and two half-sentences cannot express // that. $registerLink = '' . e(__('here')) . ''; @endphp

{!! __('No account yet? You can register :link.', ['link' => $registerLink]) !!}

@endif
@csrf
@if (Route::has('password.request')) {{ __('Forgot your password?') }} @endif {{ __('Log in') }}
@push('scripts') @endpush