{{-- Contact form, landing page layout. Posts to /enquiry (App\Http\Controllers\ContactController), which validates, saves the enquiry and emails the Site settings recipients. Name is sent as first_name and split into first/last name on the server (App\Contact::processContact). reCAPTCHA v3: the script in front/partials/recaptcha.blade.php adds the token to any form containing a .g-recaptcha element when it is submitted. --}} @php $formId = 'contact-form-' . ($item->id ?? 'main'); $sent = session()->has('success'); @endphp