@component('mail::layout') {{-- Header --}} @slot('header') @include('email.admin.includes.header') @endslot {{-- Body --}} {{-- Greeting --}} @if (! empty($greeting)) # {{ $greeting }} @else @if ($level === 'error') # @lang('Whoops!') @endif @endif {{-- Intro Lines --}} A customer is interested in contacting you.
Name: {{ $contact->first_name }} {{ $contact->last_name }}
@empty(!$contact->subject) Subject: {{ $contact->subject }}
@endempty Email: {{ $contact->email }}
Page: {{ (@unserialize($contact->page) !== false) ? (unserialize($contact->page)['page_name']) ? unserialize($contact->page)['page_name'] : '' : '' }}
@empty(!$contact->phone) Phone: {{ formatPhoneNumber($contact->phone) }}
@endempty Message: {!! nl2br($contact->message) !!}
@if (! empty($salutation))

{{ $salutation }}

@endif {{-- Subcopy --}} @isset($subcopy) @slot('subcopy') @component('mail::subcopy') {{ $subcopy }} @endcomponent @endslot @endisset {{-- Footer --}} @slot('footer') @include('email.admin.includes.footer') @endslot @endcomponent