the MailMessage builders to use view(). This keeps the existing copy/labels but aligns the look with resources/views/ emails/partials/layout.blade.php. I also switched the customer add‑on receipt notification to reuse the existing branded view and added missing translations for the upload pipeline alert.
41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
@extends('emails.partials.layout')
|
|
|
|
@section('title', $title)
|
|
@section('preheader', $preheader ?? '')
|
|
@section('hero_title', $heroTitle)
|
|
|
|
@isset($heroSubtitle)
|
|
@section('hero_subtitle', $heroSubtitle)
|
|
@endisset
|
|
|
|
@section('content')
|
|
@isset($intro)
|
|
<p style="margin:0 0 12px; font-size:15px; color:#1f2937;">
|
|
{{ $intro }}
|
|
</p>
|
|
@endisset
|
|
@if (! empty($lines))
|
|
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
|
|
@foreach ($lines as $line)
|
|
<tr>
|
|
<td style="padding:6px 0; font-size:14px; color:#0f172a;">{{ $line }}</td>
|
|
</tr>
|
|
@endforeach
|
|
</table>
|
|
@endif
|
|
@endsection
|
|
|
|
@section('cta')
|
|
@if (! empty($cta))
|
|
@foreach ($cta as $action)
|
|
<a href="{{ $action['url'] }}" style="display:inline-block; background-color:#111827; color:#ffffff; text-decoration:none; padding:12px 20px; border-radius:999px; font-weight:600; font-size:14px; margin-right:12px; margin-bottom:12px;">
|
|
{{ $action['label'] }}
|
|
</a>
|
|
@endforeach
|
|
@endif
|
|
@endsection
|
|
|
|
@section('footer')
|
|
{!! $footer ?? __('emails.brand.footer') !!}
|
|
@endsection
|