@php
    $kabupatenNama = $desa->kecamatan->kabupaten->nama;
    $kecamatanNama = $desa->kecamatan->nama;
    $landingUrl = url("/{$desa->kecamatan->kabupaten->slug}/{$desa->kecamatan->slug}/{$desa->slug}");
@endphp

<x-public-layout
    :title="($desa->landingPage->meta_title ?? $desa->nama).' - Pilkades InvitMe'"
    :description="$desa->landingPage->meta_description ?? 'Media informasi resmi Pilkades Desa '.$desa->nama"
    :og-image="$desa->landingPage->og_image ? Storage::url($desa->landingPage->og_image) : null"
>
    <div x-data="{ voterResult: null, voterLoading: false, voterError: null }">
        @include('pilkades::public.landing.partials.hero')
        @include('pilkades::public.landing.partials.sambutan')
        @include('pilkades::public.landing.partials.jadwal')
        @include('pilkades::public.landing.partials.lokasi')
        @include('pilkades::public.landing.partials.calon')
        @include('pilkades::public.landing.partials.tps')
        @include('pilkades::public.landing.partials.voter-search')
        @include('pilkades::public.landing.partials.faq')
        @include('pilkades::public.landing.partials.kontak')
        @include('pilkades::public.landing.partials.share')
        @include('pilkades::public.landing.partials.footer')
    </div>
</x-public-layout>
