@props(['company' => null, 'subject' => '', 'eyebrow' => null, 'title' => null, 'notice' => null, 'preheader' => null]) @php /* Email layout in the proposal / PDF style: near-white sheet, logo top left, "// label" eyebrow in the brand colour, medium sans heading, soft grey cards, charcoal pill buttons, and the company's name, address and phone in the footer. Table-based with inline styles for email clients. */ $t = \App\Support\EmailTheme::for($company); $logo = $company && ($company->emailFooter()['show_logo'] ?? true) ? $company->logoUrl() : null; $lines = $company ? $company->addressLines() : []; $site = $company?->website ? preg_replace('#^https?://#', '', rtrim($company->website, '/')) : null; @endphp {{ $subject }} @if ($preheader)
{{ $preheader }}
@endif
@if ($notice)
{{ $notice }}
@endif {{-- Header: logo left, eyebrow right --}} @if ($title) @endif {{-- Footer: company name, full address, phone and website --}}