72 lines
3.5 KiB
PHP
72 lines
3.5 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="nl">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>@yield('title')</title>
|
|
</head>
|
|
<body style="margin: 0; padding: 0; background-color: #f4f4f5; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;">
|
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="background-color: #f4f4f5;">
|
|
<tr>
|
|
<td align="center" style="padding: 32px 16px;">
|
|
<table role="presentation" width="600" cellpadding="0" cellspacing="0" style="max-width: 600px; width: 100%; background-color: #ffffff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08);">
|
|
{{-- Accent line --}}
|
|
<tr>
|
|
<td style="height: 4px; background-color: {{ $branding['primary_color'] }};"></td>
|
|
</tr>
|
|
|
|
{{-- 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: 250px; display: block;">
|
|
@else
|
|
<p style="margin: 0; font-size: 20px; color: #1f2937; font-weight: 700;">{{ $branding['organisation_name'] }}</p>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
{{-- Body --}}
|
|
<tr>
|
|
<td style="padding: 0 40px 32px;">
|
|
{{-- Title --}}
|
|
<h1 style="margin: 0 0 20px; font-size: 22px; font-weight: 700; color: #1f2937; line-height: 1.3;">
|
|
@yield('title')
|
|
</h1>
|
|
|
|
{{-- Content --}}
|
|
<div style="font-size: 16px; color: #1f2937; line-height: 1.6;">
|
|
@yield('content')
|
|
</div>
|
|
|
|
{{-- Action button --}}
|
|
@hasSection('action')
|
|
<div style="margin-top: 28px; text-align: center;">
|
|
@yield('action')
|
|
</div>
|
|
@endif
|
|
</td>
|
|
</tr>
|
|
|
|
{{-- Footer --}}
|
|
<tr>
|
|
<td style="padding: 24px 40px; border-top: 1px solid #e5e7eb;">
|
|
@if($branding['footer_text'])
|
|
<p style="margin: 0 0 16px; font-size: 13px; color: #6b7280; text-align: center; line-height: 1.5;">
|
|
{{ $branding['footer_text'] }}
|
|
</p>
|
|
@endif
|
|
|
|
<p style="margin: 0; font-size: 11px; color: #9ca3af; text-align: center; line-height: 1.5;">
|
|
Powered by Crewli<br>
|
|
Je ontvangt deze email omdat je bent aangemeld bij {{ $branding['organisation_name'] }}.
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|