@props(['url']) @php // Superadmin → Settings → Notifications → Email template. Overrides only: // with nothing set these fall back to the platform logo and a left-aligned // header, so branding the product once brands its mail too. $logo = \App\Support\Superadmin\EmailTemplate::logoUrl(); $width = \App\Support\Superadmin\EmailTemplate::logoWidth(); $align = \App\Support\Superadmin\EmailTemplate::headerAlign(); @endphp @if ($logo) {{-- Width in an ATTRIBUTE as well as the style: Outlook ignores CSS widths on images, and an unsized logo there renders at its natural pixel size. --}} {{ trim($slot) }} @else {!! $slot !!} @endif