all system emails look fresh now, plus added paddle portal debugging

This commit is contained in:
Codex Agent
2025-12-23 14:31:42 +01:00
parent 207725d460
commit 1d2c2da915
11 changed files with 394 additions and 12 deletions

View File

@@ -0,0 +1,31 @@
@extends('emails.partials.layout')
@section('title', __('emails.contact_request.subject'))
@section('preheader', __('emails.contact_request.preheader'))
@section('hero_title', __('emails.contact_request.hero_title'))
@section('hero_subtitle', __('emails.contact_request.hero_subtitle'))
@section('content')
<div style="background-color:#f8fafc; border:1px solid #e2e8f0; border-radius:12px; padding:16px; margin-bottom:16px;">
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
<tr>
<td style="padding:6px 0; font-size:14px; color:#0f172a;">
{{ __('emails.contact_request.line_name', ['name' => $name]) }}
</td>
</tr>
<tr>
<td style="padding:6px 0; font-size:14px; color:#0f172a;">
{{ __('emails.contact_request.line_email', ['email' => $email]) }}
</td>
</tr>
</table>
</div>
<p style="margin:0 0 8px; font-size:13px; text-transform:uppercase; letter-spacing:0.08em; color:#64748b;">
{{ __('emails.contact_request.line_message') }}
</p>
<p style="margin:0; font-size:14px; color:#1f2937; white-space:pre-line;">{{ $messageBody }}</p>
@endsection
@section('footer')
{!! __('emails.contact_request.footer') !!}
@endsection

View File

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