@extends('layouts.eventcraft') @section('title', $event->title) @push('head') @if(!empty($isPreview))@endif @endpush @section('body') @php $typeLabels = ['wedding'=>'The Wedding Celebration','engagement'=>'The Traditional Celebration','birthday'=>'The Birthday Celebration','baby_shower'=>'A Baby Shower','graduation'=>'A Graduation Celebration','anniversary'=>'The Anniversary Celebration','memorial'=>'In Loving Memory','other'=>'A Special Celebration']; $inviteDate = \Carbon\Carbon::parse($event->event_date->format('Y-m-d H:i:s'), $event->timezone); $photoUrl = $event->photo_path ? Storage::disk('public')->url($event->photo_path) : null; @endphp
@if(!empty($isPreview))
PRIVATE PREVIEW · Guests cannot see this yet
@endif
INVITATION TO CELEBRATE
✧   ✿   ✧

{{ $event->host_one }}@if($event->host_two)&{{ $event->host_two }}@endif

{{ $typeLabels[$event->event_type] ?? 'A Special Celebration' }}
@if($photoUrl)
Event photograph
@endif
{{ $event->message ?: 'With joy in our hearts, we invite you to join us for a wonderful celebration.' }}
────────   ✦   ────────
{{ strtoupper($inviteDate->format('l')) }}{{ $inviteDate->format('d') }}{{ strtoupper($inviteDate->format('F Y')) }}
{{ $inviteDate->format('g:i A') }} · {{ str_replace('_',' ', $event->timezone) }}

{{ $event->venue }}

{{ $event->city }} · {{ $event->country }}
@if($event->dress_code)

DRESS CODE · {{ $event->dress_code }}

@endif
THE CELEBRATION BEGINS IN
—
@if(empty($isPreview))
✧

Will you join us?

We'd love to celebrate with you. Kindly reply below.

@if(session('rsvp_ok'))
{{ session('rsvp_ok') }}
@endif @if($errors->any())
{{ $errors->first() }}
@endif
@csrf
@else
This is your free private preview. Publish to accept guest replies.
@endif
WE CAN'T WAIT TO SEE YOU ♥
@endsection