feat(mail): improve email template header and button styling
Show logo or organisation name (not both), increase logo max-width to 250px, and add » to portal action buttons. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,13 +15,14 @@
|
||||
<td style="height: 4px; background-color: {{ $branding['primary_color'] }};"></td>
|
||||
</tr>
|
||||
|
||||
{{-- Header: logo + org name --}}
|
||||
{{-- Header: logo or org name --}}
|
||||
<tr>
|
||||
<td align="center" style="padding: 32px 40px 24px;">
|
||||
@if($branding['logo_url'])
|
||||
<img src="{{ $branding['logo_url'] }}" alt="{{ $branding['organisation_name'] }}" style="max-height: 60px; max-width: 200px; display: block; margin-bottom: 12px;">
|
||||
<img src="{{ $branding['logo_url'] }}" alt="{{ $branding['organisation_name'] }}" style="max-height: 60px; max-width: 250px; display: block;">
|
||||
@else
|
||||
<p style="margin: 0; font-size: 20px; color: #1f2937; font-weight: 700;">{{ $branding['organisation_name'] }}</p>
|
||||
@endif
|
||||
<p style="margin: 0; font-size: 15px; color: #6b7280; font-weight: 500;">{{ $branding['organisation_name'] }}</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@@ -13,5 +13,5 @@
|
||||
@endsection
|
||||
|
||||
@section('action')
|
||||
<a href="{{ $portalUrl }}" style="display: inline-block; padding: 12px 24px; background-color: {{ $branding['primary_color'] }}; color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 15px; font-weight: 600;">Naar het portaal</a>
|
||||
<a href="{{ $portalUrl }}" style="display: inline-block; padding: 12px 24px; background-color: {{ $branding['primary_color'] }}; color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 15px; font-weight: 600;">Naar het portaal »</a>
|
||||
@endsection
|
||||
|
||||
@@ -20,5 +20,5 @@
|
||||
@endsection
|
||||
|
||||
@section('action')
|
||||
<a href="{{ $portalUrl }}" style="display: inline-block; padding: 12px 24px; background-color: {{ $branding['primary_color'] }}; color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 15px; font-weight: 600;">Naar het portaal</a>
|
||||
<a href="{{ $portalUrl }}" style="display: inline-block; padding: 12px 24px; background-color: {{ $branding['primary_color'] }}; color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 15px; font-weight: 600;">Naar het portaal »</a>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user