{{-- Send Tickets to Email - Atomic Design System v2.0 Sent when a customer forwards their tickets to another email address Note: $colors automatically injected via View Composer --}} @component('emails.layouts.base', [ 'title' => 'Your Tickets for ' . $eventName, 'previewText' => $senderName . ' has sent you tickets for ' . $eventName, 'colors' => $colors ]) @component('emails.atoms.h1', ['colors' => $colors]) Your Tickets Have Arrived! @endcomponent @component('emails.atoms.text', ['colors' => $colors]) Hi {{ $recipientName }}, @endcomponent @component('emails.atoms.text', ['colors' => $colors]) {{ $senderName }} has sent you tickets for {{ $eventName }}. @endcomponent @include('emails.atoms.spacer', ['height' => '20px']) {{-- PDF Download / Attachment Notice --}} @if($hasPdfAttachment) @component('emails.organisms.alert-box', [ 'variant' => 'success', 'title' => 'Tickets Attached', 'colors' => $colors ]) Your tickets are attached to this email as a PDF. Please print or display on your mobile device at the venue. @endcomponent @elseif($downloadUrl) @component('emails.organisms.alert-box', [ 'variant' => 'info', 'title' => 'Download Your Tickets', 'colors' => $colors ]) Click the button below to download your printable PDF tickets. @endcomponent @include('emails.atoms.spacer', ['height' => '16px'])
@component('emails.molecules.button', [ 'href' => $downloadUrl, 'variant' => 'primary', 'colors' => $colors ]) Download Tickets (PDF) @endcomponent
@endif @include('emails.atoms.spacer', ['height' => '24px']) {{-- Event Details --}} @component('emails.organisms.card', ['colors' => $colors]) @component('emails.atoms.h2', ['colors' => $colors]) Event Details @endcomponent @component('emails.molecules.info-row', [ 'label' => 'Event', 'value' => $eventName, 'colors' => $colors ]) @endcomponent @if($event?->start_date) @component('emails.molecules.info-row', [ 'label' => 'Date', 'value' => \Carbon\Carbon::parse($event->start_date)->format('l, F j, Y'), 'colors' => $colors ]) @endcomponent @endif @if($event?->venue?->name) @component('emails.molecules.info-row', [ 'label' => 'Venue', 'value' => $event->venue->name, 'colors' => $colors ]) @endcomponent @endif @endcomponent @include('emails.atoms.spacer', ['height' => '24px']) {{-- Important Notice --}} @component('emails.organisms.alert-box', [ 'variant' => 'warning', 'title' => 'Important Information', 'colors' => $colors ]) @endcomponent @include('emails.atoms.spacer', ['height' => '24px']) @component('emails.atoms.text', ['colors' => $colors]) If you have any questions, please contact us at {{ $supportEmail }} @endcomponent @component('emails.atoms.text', ['colors' => $colors]) Enjoy the event! @endcomponent @endcomponent