Files
fotospiel-app/app/Mail/ContactConfirmation.php
Codex Agent 6290a3a448 Fix tenant event form package selector so it no longer renders empty-value options, handles loading/empty
states, and pulls data from the authenticated /api/v1/tenant/packages endpoint.
    (resources/js/admin/pages/EventFormPage.tsx, resources/js/admin/api.ts)
  - Harden tenant-admin auth flow: prevent PKCE state loss, scope out StrictMode double-processing, add SPA
    routes for /event-admin/login and /event-admin/logout, and tighten token/session clearing semantics (resources/js/admin/auth/{context,tokens}.tsx, resources/js/admin/pages/{AuthCallbackPage,LogoutPage}.tsx,
    resources/js/admin/router.tsx, routes/web.php)
2025-10-19 23:00:47 +02:00

42 lines
835 B
PHP

<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;
class ContactConfirmation extends Mailable
{
use Queueable;
use SerializesModels;
public function __construct(public string $name)
{
}
public function envelope(): Envelope
{
return new Envelope(
subject: __('emails.contact_confirmation.subject', ['name' => $this->name]),
);
}
public function content(): Content
{
return new Content(
view: 'emails.contact-confirmation',
with: [
'name' => $this->name,
],
);
}
public function attachments(): array
{
return [];
}
}