System-Mails im pressekonto-CI: zentrales E-Mail-Layout fuer alle Transaktionsmails

- Neues Layout components/emails/layout (Wortmarke, 'Publisher - Hub'-
  Tagline, Brand-Familien-Fusszeile) + Button-Komponente; alle System-
  Mails (Magic-Link, Go-Live-Reset, Kontakt, PM published/rejected,
  Kuendigung, Widerruf) darauf umgestellt
- Framework-Auth-Mails (Passwort-Reset, E-Mail-Verifizierung) via
  toMailUsing auf eigene Views im gleichen CI statt Laravel-Default
- Anmeldelink-Betreff vereinheitlicht; EmailBrandingTest sichert das
  Branding ueber alle Mails ab

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Kevin Adametz 2026-07-03 16:26:30 +00:00
parent 1e15042152
commit c523224da8
16 changed files with 351 additions and 168 deletions

View file

@ -1,23 +1,11 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>Ihre Pressemitteilung wurde veröffentlicht</title>
<style>
body { font-family: Arial, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 0 auto; padding: 20px; }
.btn { display: inline-block; background: #16a34a; color: #fff; padding: 12px 28px; border-radius: 6px; text-decoration: none; font-weight: bold; margin: 16px 0; }
.title { font-size: 18px; font-weight: bold; margin: 12px 0; color: #111; }
.note { font-size: 13px; color: #666; border-top: 1px solid #eee; padding-top: 12px; margin-top: 24px; }
</style>
</head>
<body>
<x-emails.layout title="Ihre Pressemitteilung wurde veröffentlicht" preheader="Ihre Pressemitteilung wurde geprüft und veröffentlicht.">
<p>Hallo {{ $user->name }},</p>
<p>Ihre Pressemitteilung wurde geprüft und erfolgreich veröffentlicht.</p>
<p class="title">{{ $pressRelease->title }}</p>
<p><a class="btn" href="{{ $showUrl }}">Pressemitteilung ansehen</a></p>
<x-emails.button :url="$showUrl">Pressemitteilung ansehen</x-emails.button>
@if($pressRelease->published_at)
<p>Veröffentlicht am: {{ $pressRelease->published_at->format('d.m.Y H:i') }} Uhr</p>
@ -26,5 +14,4 @@
<div class="note">
<p>Bei Fragen erreichen Sie uns unter {{ config('mail.from.address') }}.</p>
</div>
</body>
</html>
</x-emails.layout>