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:
29
resources/views/emails/verify-email.blade.php
Normal file
29
resources/views/emails/verify-email.blade.php
Normal file
@@ -0,0 +1,29 @@
|
||||
@extends('emails.partials.layout')
|
||||
|
||||
@section('title', __('emails.verification.subject'))
|
||||
@section('preheader', __('emails.verification.preheader'))
|
||||
@section('hero_title', __('emails.verification.hero_title', ['name' => $user->fullName ?? $user->name ?? $user->email]))
|
||||
@section('hero_subtitle', __('emails.verification.hero_subtitle'))
|
||||
|
||||
@section('content')
|
||||
<p style="margin:0 0 12px; font-size:15px; color:#1f2937;">
|
||||
{{ __('emails.verification.body') }}
|
||||
</p>
|
||||
<p style="margin:0 0 16px; font-size:14px; color:#1f2937;">
|
||||
{{ __('emails.verification.expires', ['minutes' => $expiresIn]) }}
|
||||
</p>
|
||||
<p style="margin:0; font-size:13px; color:#6b7280;">
|
||||
{{ __('emails.verification.link_fallback') }}<br>
|
||||
<span style="word-break:break-all;">{{ $verificationUrl }}</span>
|
||||
</p>
|
||||
@endsection
|
||||
|
||||
@section('cta')
|
||||
<a href="{{ $verificationUrl }}" 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.verification.cta') }}
|
||||
</a>
|
||||
@endsection
|
||||
|
||||
@section('footer')
|
||||
{!! __('emails.verification.footer') !!}
|
||||
@endsection
|
||||
Reference in New Issue
Block a user