@props(['url'])
<tr>
<td class="header">
<a href="{{ $url }}" style="display: inline-block;">
@php
    $logo = Setting::get('logo');
    $siteName = Setting::get('site_name', config('app.name'));
    $logoUrl = $logo ? url(Storage::url($logo)) : null;
@endphp
@if ($logoUrl)
<img src="{{ $logoUrl }}" alt="{{ $siteName }}" style="max-height: 50px;">
@else
{{ $siteName }}
@endif
</a>
</td>
</tr>
