Converted all notification emails to the branded layout by routing them through a shared Blade template and swapping
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.
This commit is contained in:
@@ -1,7 +1,29 @@
|
||||
@component('mail::message')
|
||||
# {{ __('emails.contact_confirmation.greeting', ['name' => $name]) }}
|
||||
@extends('emails.partials.layout')
|
||||
|
||||
{{ __('emails.contact_confirmation.body') }}
|
||||
@php
|
||||
$contactEmail = config('mail.contact_address', config('mail.from.address'));
|
||||
@endphp
|
||||
|
||||
{{ __('emails.contact_confirmation.footer') }}
|
||||
@endcomponent
|
||||
@section('title', __('emails.contact_confirmation.subject', ['name' => $name]))
|
||||
@section('preheader', __('emails.contact_confirmation.subtitle'))
|
||||
@section('hero_title', __('emails.contact_confirmation.greeting', ['name' => $name]))
|
||||
@section('hero_subtitle', __('emails.contact_confirmation.subtitle'))
|
||||
|
||||
@section('content')
|
||||
<p style="margin:0 0 12px; font-size:15px; color:#1f2937;">
|
||||
{{ __('emails.contact_confirmation.body') }}
|
||||
</p>
|
||||
<p style="margin:0; font-size:14px; color:#6b7280;">
|
||||
{{ __('emails.contact_confirmation.response_time') }}
|
||||
</p>
|
||||
@endsection
|
||||
|
||||
@section('cta')
|
||||
<a href="mailto:{{ $contactEmail }}" style="display:inline-block; background-color:#111827; color:#ffffff; text-decoration:none; padding:12px 20px; border-radius:999px; font-weight:600; font-size:14px;">
|
||||
{{ __('emails.contact_confirmation.cta') }}
|
||||
</a>
|
||||
@endsection
|
||||
|
||||
@section('footer')
|
||||
{!! __('emails.contact_confirmation.footer') !!}
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user