Files
ladill-events/resources/views/mail/partials/brand-header.blade.php
T
isaaccladandCursor b5debd79c4
Deploy Ladill Events / deploy (push) Successful in 1m39s
Add account company logo for customer event emails.
Upload logo in account settings and prefer it over Ladill product marks in event notification headers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-12 20:07:55 +00:00

12 lines
616 B
PHP

@if (! empty($logoUrl))
<img src="{{ $logoUrl }}" alt="{{ $companyName ?? '' }}" style="height: 40px; max-height: 42px; width: auto;">
@elseif (! empty($companyName))
<div style="font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #0f172a;">{{ $companyName }}</div>
@else
@php
$brandKey = $brand ?? 'ladill';
$brandConfig = config("mail_brands.brands.{$brandKey}", config('mail_brands.brands.ladill'));
@endphp
<img src="{{ asset('images/logo/'.$brandConfig['logo']) }}" alt="{{ $brandConfig['name'] }}" style="height: 38px; max-height: 38px; width: auto;">
@endif