@php $appName = settings('name') ?: 'Travelio'; $authBrandName = ___('auth.brand_name'); // The brand panel is shared by login, registration and the staff sign-in, // but they are not selling the same thing: registration creates a customer // account, so the agency pitch and the agency-owner testimonial belong on // the other two. A page overrides what it needs and inherits the rest. // Sections are already collected by the time this layout renders. $authFeaturesRaw = trim($__env->yieldContent('brand_features')) ?: ___('auth.brand_features'); $authQuoteText = trim($__env->yieldContent('brand_quote_text')) ?: ___('auth.quote_text'); $authQuoteName = trim($__env->yieldContent('brand_quote_name')) ?: ___('auth.quote_name'); $authQuoteRole = trim($__env->yieldContent('brand_quote_role')) ?: ___('auth.quote_role'); $authFeatures = collect(preg_split('/\r\n|\r|\n/', (string) $authFeaturesRaw)) ->map(fn ($feature) => trim($feature)) ->filter() ->values(); @endphp @yield('title') - {{ $appName }} @stack('styles')
{{-- Every auth screen redirects back with a flash on failure. Without this block those messages were thrown away, so a failed password reset looked exactly like nothing happening at all. --}} @foreach (['success' => 'ok', 'danger' => 'bad', 'error' => 'bad', 'warning' => 'warn'] as $key => $tone) @if (session()->has($key)) @endif @endforeach @if ($errors->any() && $errors->count() > 1) @endif @yield('form')
@include('backend.partials.alert-message') @stack('scripts')