Deploy Ladill Events / deploy (push) Successful in 1m39s
Upload logo in account settings and prefer it over Ladill product marks in event notification headers. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
616 B
PHP
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
|