@component('mail::layout') {{-- Header --}} @slot('header') @component('mail::header', ['url' => '']) @if($data['company']['logo']) @else {{$data['company']['name']}} @endif @endcomponent @endslot {{-- Body --}} {{-- Subcopy --}} @slot('subcopy') @component('mail::subcopy') {!! $data['body'] !!} @if(!$data['attach']['data']) @component('mail::button', ['url' => $data['url']]) View Estimate @endcomponent @endif @endcomponent @endslot {{-- Footer --}} @slot('footer') @component('mail::footer') Powered by Crater @endcomponent @endslot @endcomponent