{{ $bride['name'] }}
Mempelai Wanita
Putri dari
{{ $bride['parents'] }}
@php $bride = $invitation->bride ?? [ 'name' => 'Clara Anindita, S.E', 'nickname' => 'Clara', 'parents' => 'Bapak Hendra Kusuma & Ibu Ratna Dewi', 'photo' => $invitation->bride_photo_url ?? ($invitation->bride_photo ?? 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&w=600&q=80'), 'instagram' => $invitation->bride_instagram ?? '@claraanindita', ]; $groom = $invitation->groom ?? [ 'name' => 'Dimas Aditya, S.T', 'nickname' => 'Dimas', 'parents' => 'Bapak Agus Salim & Ibu Wulan Sari', 'photo' => $invitation->groom_photo_url ?? ($invitation->groom_photo ?? 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=600&q=80'), 'instagram' => $invitation->groom_instagram ?? '@dimasaditya', ]; $coverPhoto = $invitation->cover_photo ?? ($invitation->hero_photo_url ?? 'https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=800&q=80'); $events = $invitation->events ?? [ [ 'title' => 'Akad Nikah', 'date' => '2026-12-20', 'start_time' => '08:00', 'end_time' => '10:00', 'timezone' => 'WIB', 'venue' => 'Masjid Al-Ikhlas', 'address' => 'Jl. Melati No. 12, Tangerang', 'maps_url' => 'https://maps.google.com', ], [ 'title' => 'Resepsi Pernikahan', 'date' => '2026-12-20', 'start_time' => '11:00', 'end_time' => '14:00', 'timezone' => 'WIB', 'venue' => 'Grand Ballroom Aurelia', 'address' => 'Jl. Anggrek No. 5, Tangerang', 'maps_url' => 'https://maps.google.com', ], ]; $primaryEvent = $events[0] ?? null; $eventDate = $primaryEvent['date'] ?? '2026-12-20'; $eventTime = $primaryEvent['start_time'] ?? '08:00'; $carbonDate = \Carbon\Carbon::parse($eventDate); $formattedDate = $carbonDate->locale('id')->isoFormat('dddd, D MMMM Y'); $galleries = $invitation->gallery ?? ($invitation->gallery_photos ?? [ 'https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=600&q=80', 'https://images.unsplash.com/photo-1583939003579-730e3918a45a?auto=format&fit=crop&w=600&q=80', 'https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=600&q=80', 'https://images.unsplash.com/photo-1522673607200-164d1b6ce486?auto=format&fit=crop&w=600&q=80', 'https://images.unsplash.com/photo-1519225421980-715cb0215aed?auto=format&fit=crop&w=600&q=80', 'https://images.unsplash.com/photo-1465495976277-4387d4b0b4c6?auto=format&fit=crop&w=600&q=80', ]); $rawBankAccounts = !empty($invitation->bank_accounts) ? $invitation->bank_accounts : (!empty($invitation->gifts) ? $invitation->gifts : null); if (empty($rawBankAccounts) && !empty($invitation->bank_name)) { $rawBankAccounts = [ [ 'bank_name' => $invitation->bank_name, 'bank' => $invitation->bank_name, 'account_number' => $invitation->bank_account ?? '', 'number' => $invitation->bank_account ?? '', 'account_holder' => $invitation->bank_holder ?? 'Mempelai', 'name' => $invitation->bank_holder ?? 'Mempelai', ] ]; } $gifts = !empty($rawBankAccounts) ? $rawBankAccounts : [ [ 'bank_name' => 'Bank BCA', 'bank' => 'Bank BCA', 'account_number' => '1234 5678 90', 'number' => '1234 5678 90', 'account_holder' => 'Clara Anindita', 'name' => 'Clara Anindita', ], [ 'bank_name' => 'Bank Mandiri', 'bank' => 'Bank Mandiri', 'account_number' => '9876 5432 10', 'number' => '9876 5432 10', 'account_holder' => 'Dimas Aditya', 'name' => 'Dimas Aditya', ], ]; $hasGifts = !empty($gifts) || !empty($invitation->qris_image_url) || !empty($invitation->qris_image); $stories = $invitation->stories ?? [ [ 'year' => '2019', 'title' => 'Pertama Bertemu', 'story' => 'Kami bertemu di sebuah acara kampus. Awalnya hanya saling sapa, tanpa tahu cerita ini baru dimulai.', ], [ 'year' => '2021', 'title' => 'Mulai Dekat', 'story' => 'Obrolan demi obrolan membuat kami saling mengerti, dan perlahan tumbuh rasa nyaman di antara kami berdua.', ], [ 'year' => '2023', 'title' => 'Saling Mendukung', 'story' => 'Berbagi suka, duka, serta cita-cita bersama. Belajar menjadi pribadi yang lebih baik berdampingan.', ], [ 'year' => '2025', 'title' => 'Lamaran', 'story' => 'Dengan restu kedua keluarga, Dimas melamar Clara dalam suasana hangat yang penuh keharuan.', ], [ 'year' => '2026', 'title' => 'Hari Bahagia', 'story' => 'Dengan niat tulus, kami melangkah ke jenjang pernikahan suci dan memohon berkah doa restu Anda.', ], ]; $defaultQuoteText = 'Dan di antara tanda-tanda kekuasaan-Nya ialah Dia menciptakan untukmu pasangan-pasangan dari jenismu sendiri, supaya kamu merasa tenteram kepadanya, dan dijadikan-Nya di antaramu rasa kasih dan sayang.'; $defaultQuoteSource = 'QS. Ar-Rum : 21'; $quoteText = !empty($invitation->quote) ? $invitation->quote : $defaultQuoteText; $quoteSource = !empty($invitation->quote_author) ? $invitation->quote_author : $defaultQuoteSource; $wishes = $invitation->wishes ?? [ (object)[ 'name' => 'Keluarga Besar', 'attendance' => 'hadir', 'message' => 'Selamat menempuh hidup baru Clara & Dimas. Semoga senantiasa sakinah, mawaddah, warahmah selamanya.', 'created_at' => now()->subHours(2), ], (object)[ 'name' => 'Rendra & Maya', 'attendance' => 'hadir', 'message' => 'Happy wedding Clara & Dimas! Semoga pernikahan ini selalu dipenuhi cinta, tawa, dan kebahagiaan.', 'created_at' => now()->subDay(), ] ]; $isDemoMode = request()->routeIs('template.demo') || request()->is('demo/*') || !empty($invitation->is_demo); $liveUrl = $isDemoMode ? route('template.demo.live', $template->slug ?? 'exclusive02') : (!empty($invitation->slug) ? route('invitation.live', $invitation->slug) : '#'); if ($guestName ?? null) { $liveUrl .= (str_contains($liveUrl, '?') ? '&' : '?') . 'to=' . urlencode($guestName); } @endphp
The Wedding Of
{{ $formattedDate }}
The Wedding Of
{{ $formattedDate }}
Save The Date
Assalamu'alaikum Warahmatullahi Wabarakatuh
“{{ $quoteText }}”
{{ $quoteSource }}
Bismillahirrahmanirrahim
Mempelai Wanita
Putri dari
{{ $bride['parents'] }}
Mempelai Pria
Putra dari
{{ $groom['parents'] }}
Rangkaian Acara
{{ $ev['start_time'] ?? '' }} – {{ $ev['end_time'] ?? 'Selesai' }} {{ $ev['timezone'] ?? 'WIB' }}
{{ $ev['venue'] ?? '' }}
{{ $ev['address'] ?? '' }}
Our Story
{{ $st['story'] ?? ($st['description'] ?? '') }}
Moments
Wedding Gift
Doa restu Anda adalah hadiah terindah bagi kami. Bila berkenan memberi tanda kasih, silakan klik tombol di bawah:
Konfirmasi
{{ $w->message }}