- Add email branding columns to organisations table (logo, color, reply-to, sender name, footer)
- Create MailBrandingService for resolving per-org branding with defaults
- Create CrewliMailable abstract base class with branded from/reply-to
- Create shared Blade layout (mail.layouts.crewli) with inline CSS
- Refactor Registration*Mail and InvitationMail to extend CrewliMailable
- Add config/crewli.php for platform-wide defaults (portal_url, app_url, logo)
- Add dev-only /mail-preview/{type} route for browser email previewing
- Update Organisation model, resource, and form requests with branding fields
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
25 lines
1.0 KiB
PHP
25 lines
1.0 KiB
PHP
@extends('mail.layouts.crewli')
|
|
|
|
@section('title')
|
|
Bedankt voor je aanmelding!
|
|
@endsection
|
|
|
|
@section('content')
|
|
<p style="margin: 0 0 16px;">Beste {{ $person->first_name }},</p>
|
|
|
|
<p style="margin: 0 0 16px;">Bedankt voor je aanmelding als vrijwilliger voor <strong>{{ $event->name }}</strong>!</p>
|
|
|
|
<p style="margin: 0 0 16px;">Je registratie wordt beoordeeld door de organisatie. Je ontvangt een e-mail zodra je aanmelding is verwerkt.</p>
|
|
|
|
<p style="margin: 0 0 16px;">Je kunt inloggen op het vrijwilligersportaal om je status te volgen.</p>
|
|
|
|
<p style="margin: 0;">
|
|
<strong>Evenement:</strong> {{ $event->name }}<br>
|
|
<strong>Datum:</strong> {{ $event->start_date->format('d-m-Y') }} t/m {{ $event->end_date->format('d-m-Y') }}
|
|
</p>
|
|
@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>
|
|
@endsection
|