Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 6m49s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m19s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 7m29s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 7m39s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 9m38s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 9m25s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 7m57s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 8m4s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 46s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m9s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
40 lines
2.6 KiB
PHP
40 lines
2.6 KiB
PHP
<!doctype html>
|
|
<html lang="de">
|
|
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width"><title>Wochenüberblick</title></head>
|
|
<body style="margin:0;background:#f4f5f7;font-family:-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#1a1d21">
|
|
<div style="max-width:640px;margin:0 auto;padding:24px">
|
|
@php($branding = app(\App\Support\Branding::class))
|
|
@php($logo = $branding->logoUrl() && ! str_ends_with(strtolower($branding->logoUrl()), '.svg') ? $branding->logoUrl() : null)
|
|
<p style="margin:0 0 16px;font-size:15px;font-weight:700;color:{{ $color }}">
|
|
@if ($logo)<img src="{{ $logo }}" alt="{{ $portalName }}" style="max-height:40px;max-width:200px;border:0">@else{{ $portalName }}@endif
|
|
</p>
|
|
<div style="background:#fff;border:1px solid #e3e5e8;border-radius:8px;padding:24px">
|
|
<h1 style="margin:0 0 4px;font-size:20px">Hallo {{ $user->first_name ?: $user->name }},</h1>
|
|
<p style="margin:0 0 8px;font-size:14px;color:#5f6670">das war neu im Portal ({{ $period }}).</p>
|
|
|
|
@foreach ($sections as $section)
|
|
<h2 style="margin:24px 0 8px;padding-bottom:6px;border-bottom:2px solid {{ $color }};font-size:16px">{{ $section['label'] }}</h2>
|
|
<table role="presentation" style="width:100%;border-collapse:collapse;font-size:14px">
|
|
@foreach ($section['items'] as $item)
|
|
<tr>
|
|
<td style="padding:10px 0;border-bottom:1px solid #eef0f2">
|
|
<a href="{{ $item['url'] }}" style="color:{{ $color }};font-weight:600;text-decoration:none">{{ $item['title'] }}</a>
|
|
@if (! empty($item['meta']))<div style="margin-top:2px;font-size:12px;color:#5f6670">{{ $item['meta'] }}</div>@endif
|
|
@if (! empty($item['text']))<div style="margin-top:4px;color:#3d434a">{{ \Illuminate\Support\Str::limit($item['text'], 180) }}</div>@endif
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</table>
|
|
@endforeach
|
|
|
|
<p style="margin:24px 0 0">
|
|
<a href="{{ $portalUrl }}" style="display:inline-block;background:{{ $color }};color:#fff;padding:10px 18px;border-radius:6px;text-decoration:none;font-weight:600;font-size:14px">Zum Portal</a>
|
|
</p>
|
|
</div>
|
|
<p style="margin:16px 0 0;font-size:12px;color:#5f6670;line-height:1.5">
|
|
Sie erhalten diese E-Mail, weil Sie den Wochenüberblick in Ihrem Profil eingeschaltet haben.
|
|
<a href="{{ $unsubscribeUrl }}" style="color:#5f6670">Abbestellen</a> · <a href="{{ $profileUrl }}" style="color:#5f6670">Profil</a>
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html>
|