@if(isset($business_card_details->seo_configurations) && json_decode($business_card_details->seo_configurations)->favicon != null) @else @endif {!! SEOMeta::generate() !!} {!! OpenGraph::generate() !!} {!! Twitter::generate() !!} {!! JsonLd::generate() !!} {{-- Check business details --}} @if ($business_card_details != null) @php $custom_css = $business_card_details->custom_css; $custom_js = $business_card_details->custom_js; // Ensure ') === false) { $custom_css = ""; } // Ensure ') === false) { $custom_js = ""; } @endphp {!! $custom_css !!} {!! $custom_js !!} @endif {{-- Check PWA --}} @if ($plan_details != null) @if ($plan_details['pwa'] == 1 && $business_card_details->is_enable_pwa == 1) @laravelPWA @endif @endif @php use Illuminate\Support\Facades\Session; @endphp
{{-- Check password protected --}} @if ($business_card_details->password == null || Session::get('password_protected') == true) @if ($business_card_details != null)
{{-- Language Switcher --}} @include('templates.includes.language-switcher') @if ($business_card_details->cover_type == 'photo')
@endif
{{ $business_card_details->title }}

{{ $business_card_details->title }}

{{ $card_details->sub_title }}

@if ($business_card_details->description != null)
{!! $business_card_details->description !!}
@endif
@foreach ($feature_details as $feature) @endforeach {{-- Custom Text --}} @if ($customTexts != null && !$customTexts->isEmpty()) @foreach ($customTexts as $customText)

{{ __($customText->label) }}

{{ $customText->content }}

@endforeach @endif {{-- Services --}} @if ($service_details != null && !$service_details->isEmpty())

{{ __('Services') }}

@foreach ($service_details as $service_detail)
{{ $service_detail->service_name }}
{{ $service_detail->service_name }}

{{ $service_detail->service_description }}

@if ($enquiry_button != null) @if (($whatsAppNumberExists == true && $whatsAppNumberExists == true) && $service_detail->enable_enquiry == 'Enabled') @endif @endif
@endforeach
@endif {{-- Products --}} @if ($product_details != null && !$product_details->isEmpty())

{{ __('Products') }}

@foreach ($product_details as $product_detail)
{{ $product_detail->product_name }}
{{ $product_detail->badge }}

{{ $product_detail->product_name }}

{{ $product_detail->product_description }}

{{ formatCurrencyVcard($product_detail->sales_price, $product_detail->currency) }} @if ($product_detail->sales_price != $product_detail->regular_price) {{ formatCurrencyVcard($product_detail->regular_price, $product_detail->currency) }} @endif

@if ($enquiry_button != null) @if ($whatsAppNumberExists == true && $product_detail->product_status == 'instock') @endif @endif
@endforeach
@endif {{-- Galleries --}} @if ($galleries_details != null && !$galleries_details->isEmpty())

{{ __('Image Gallery') }}

@endif {{-- Testimonials --}} @if ($testimonials != null && !$testimonials->isEmpty())

{{ __('Testimonials') }}

@foreach ($testimonials as $testimonial)

"{{ $testimonial->review }}"

{{ $testimonial->reviewer_name }}

{{ $testimonial->reviewer_name }}

{{ $testimonial->review_subtext }}

@endforeach
@endif @if ($feature_details != null && !$feature_details->isEmpty())
@foreach ($feature_details as $feature) @if ($feature->type == 'youtube')

{{ __('Videos') }}

{{ $feature->label }}
@endif @endforeach
@endif {{-- Iframes --}} @if ($iframes != null && !$iframes->isEmpty())
@foreach ($iframes as $iframe)

{{ __($iframe->label) }}

@endforeach
@endif {{-- Payment Links --}} @if (count($payment_details) > 0)

{{ __('Payment Details') }}

@foreach ($payment_details as $payment) @endforeach @endif {{-- Show appointment slots in the calendar --}} @if ($appointmentEnabled == true && isset($plan_details['appointment']) == 1) @include('templates.includes.modern-appointment', ['bg_color' => 'white', 'btn_color' => 'pink-500', 'text_color' => 'gray-100']) @endif {{-- Business Hours --}} @if ($plan_details['business_hours'] == 1) @if ($business_hours != null && $business_hours->is_display != 0)

{{ __('Business Hours') }}

@if ($business_hours->is_always_open != 'Opening')

{{ __('Monday') }}: {{ __($business_hours->monday) }}

{{ __('Tuesday') }}: {{ __($business_hours->tuesday) }}

{{ __('Wednesday') }}: {{ __($business_hours->wednesday) }}

{{ __('Thursday') }}: {{ __($business_hours->thursday) }}

{{ __('Friday') }}: {{ __($business_hours->friday) }}

{{ __('Saturday') }}: {{ __($business_hours->saturday) }}

{{ __('Sunday') }}: {{ __($business_hours->sunday) }}

@else

{{ __('Always Open') }}

@endif
@endif @endif {{-- Service Service Booking --}} @if (isset($plan_details['service_booking']) && $plan_details['service_booking'] == 1) @if (isset($service_booking_details) && $service_booking_details->service_booking == 1) @include('templates.includes.service-booking', [ 'text_color' => 'text-white', 'head_style' => 'p-4 text-2xl text-white font-bold capitalize border-b', 'input_style' => 'w-full p-4 text-xs bg-gray-50 outline-none rounded', 'btn_style' => 'mb-2 w-full py-4 bg-gradient-to-br from-pink-300 to-pink-800 text-sm rounded-full font-bold text-gray-50 transition duration-200', ]) @endif @endif {{-- End Service Booking --}} {{-- Check contact form is "enabled" --}} @if ($plan_details['contact_form'] == 1) @if ($business_card_details->enquiry_email != null)

{{ __('Contact us') }}

@if (Session::has('message')) @endif
@csrf
{{-- ReCaptcha --}} @include('templates.includes.recaptcha')
@endif @endif @if ($feature_details != null && !$feature_details->isEmpty())
@foreach ($feature_details as $feature) @if ($feature->type == 'map')

{{ __('Location') }}

{{ $feature->label }}
@endif @endforeach
@endif

{{ __('Share on') }}

@if ($plan_details['hide_branding'] == 1)
{{ __('Copyright') }} © {{ $card_details->title }} {{ __('. All Rights Reserved.') }}
@else
{{ __('Made with') }} {{ config('app.name') }} {{ __('. All Rights Reserved.') }}
@endif
{{-- Scan QR --}}
{{ __('Scan QR') }}
{{-- Send vCard --}}
{{ __('Send') }}
{{-- Download vCard --}}
{{ __('Save Contact') }}
{{-- Share --}}
{{ __('Share') }}
{{-- Send vCard --}}
{{-- Scan QR --}}
@else

{{ __('403') }}

{{ __('Oops! Basic details are missing.') }}
@endif @endif
@if ($plan_details != null) {{-- Check PWA --}} @if ($plan_details['pwa'] == 1 && $business_card_details->is_enable_pwa == 1) @include('vendor.laravelpwa.pwa_modal') @endif @endif {{-- Include Newsletter Modal --}} @if ($business_card_details != null) {{-- Check Newsletter --}} @if (!empty($business_card_details->is_newsletter_pop_active) && $business_card_details->is_newsletter_pop_active == 1) @include('templates.includes.newsletter_modal', [ 'primary_color' => 'pink' ]) @endif @endif {{-- Include Information Popup Modal --}} @if ($business_card_details != null) {{-- Check Information Popup --}} @if (!empty($business_card_details->is_info_pop_active) && $business_card_details->is_info_pop_active == 1) @include('templates.includes.information_popup_modal', [ 'primary_color' => 'pink' ]) @endif @endif {{-- Check password protected --}} @if ($business_card_details->password != null && Session::get('password_protected') == false)

{{ __('Password Protected') }}

@csrf

{{ __('Enter your vcard Password') }}

{{-- Message --}} @if (Session::has('message')) @endif
@endif {{-- Flatpickr JS --}} @php if (isset($service_booking_details) && $service_booking_details->service_booking == 1) { $service_booking_available_days = json_decode($service_booking_details->service_booking_available_days); } @endphp