@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 {{-- JS files --}} {{-- 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) {{-- Check business details --}} @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 }}

{{-- Business card details --}} @if ($business_card_details->description != null)
{!! $business_card_details->description !!}
@endif
@if (count($feature_details) > 0)
@foreach ($feature_details as $feature) {{-- Email --}} @if ($feature->type == 'email') @endif {{-- Tel --}} @if ($feature->type == 'tel') @endif {{-- WhatsApp --}} @if ($feature->type == 'wa') @endif {{-- URL --}} @if ( $feature->type == 'url' || $feature->type == 'facebook' || $feature->type == 'instagram' || $feature->type == 'x-twitter' || $feature->type == 'linkedin' || $feature->type == 'pinterest' || $feature->type == 'reddit' || $feature->type == 'tiktok' || $feature->type == 'threads' || $feature->type == 'snapchat' || $feature->type == 'wechat' || $feature->type == 'telegram' || $feature->type == 'tumblr' || $feature->type == 'qq' || $feature->type == 'discord' || $feature->type == 'quora') @endif {{-- Youtube --}} @if ($feature->type != 'iframe' && $feature->type != 'youtube' && $feature->type != 'map' && $feature->type != 'text')
{{-- Icon --}}

{{ $feature->label }}

{{ $feature->content }}

@endif @if ( $feature->type == 'url' || $feature->type == 'facebook' || $feature->type == 'instagram' || $feature->type == 'x-twitter' || $feature->type == 'linkedin' || $feature->type == 'pinterest' || $feature->type == 'reddit' || $feature->type == 'tiktok' || $feature->type == 'threads' || $feature->type == 'snapchat' || $feature->type == 'wechat' || $feature->type == 'telegram' || $feature->type == 'tumblr' || $feature->type == 'qq' || $feature->type == 'discord' || $feature->type == 'quora' || $feature->type == 'wa' || $feature->type == 'tel' || $feature->type == 'email')
@endif @endforeach
@endif
{{-- Custom Text --}} @if ($customTexts != null && !$customTexts->isEmpty()) @foreach ($customTexts as $customText)

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

{{ $customText->content }}

@endforeach @endif @if (count($service_details) > 0 && !$service_details->isEmpty())

{{ __('Services') }}

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

{{ $service_detail->service_name }}

{{ strlen($service_detail->service_description) > 130 ? substr($service_detail->service_description, 0, 130) . '...' : $service_detail->service_description }}

@if ($enquiry_button && $whatsAppNumberExists && $service_detail->enable_enquiry == 'Enabled') @endif
@endforeach
@endif @if (count($product_details) > 0 && !$product_details->isEmpty())

{{ __('Products') }}

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

{{ $product_detail->product_name }}

{{ strlen($product_detail->product_description) > 140 ? substr($product_detail->product_description, 0, 140) . '...' : $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 && $whatsAppNumberExists && $product_detail->product_status == 'instock') @endif
@endforeach
@endif @if (count($galleries_details) > 0 && !$galleries_details->isEmpty())

{{ __('Gallery') }}

@foreach ($galleries_details as $galleries_detail)
{{ $galleries_detail->caption }} @if ($galleries_detail->caption)
{{ $galleries_detail->caption }}
@endif
@endforeach
@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 (count($feature_details) > 0 && !$feature_details->isEmpty()) @php $i = 0; @endphp @foreach ($feature_details as $value => $feature) @if ($feature->type == 'youtube' && $i == 0)

{{ __('Videos') }}

@foreach ($feature_details as $feature) @if ($feature->type == 'youtube')

{{ $feature->label }}

@endif @endforeach
@php $i++; @endphp @endif @endforeach @endif {{-- Iframes --}} @if ($iframes != null && !$iframes->isEmpty()) @foreach ($iframes as $iframe)

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

@endforeach @endif @if (count($payment_details) > 0) @endif {{-- Show appointment slots in the calendar --}} @if ($appointmentEnabled == true && isset($plan_details['appointment']) == 1) @include('templates.includes.basic-appointment', ['section_bg' => 'white', 'bg_color' => 'white', 'btn_color' => 'gray-500', 'text_color' => 'white']) @endif @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 @if (count($feature_details) > 0 && !$feature_details->isEmpty()) @php $i = 0; @endphp @foreach ($feature_details as $value => $feature) @if ($feature->type == 'map' && $i == 0)

{{ __('Location') }}

{{ $feature->label }}

@php $i++; @endphp @endif @endforeach @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-gray-700', 'head_style' => 'w-full md:w-auto mt-2 mb-2 md:mb-0 text-2xl font-bold', 'input_style' => 'w-full p-4 text-xs bg-gray-100 outline-none rounded', 'btn_style' => 'mb-2 w-full py-4 bg-gray-500 hover:bg-gray-600 text-sm rounded font-bold text-gray-50 transition duration-200', ]) @endif @endif {{-- End Service Booking --}} {{-- Contact form --}} @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

{{ __('Share') }}

{{-- Branding --}} @if ($plan_details['hide_branding'] == 1)
{{ __('Copyright') }} © {{ now()->year }} {{ __('by') }} {{ $card_details->title }} {{ __('. All Rights Reserved.') }}
@else
{{ __('Copyright') }} © {{ now()->year }}. {{ __('Made with') }} {{ config('app.name') }} {{ __('. All Rights Reserved.') }}
@endif
{{-- 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_center') @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' => 'gray' ]) @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' => 'gray' ]) @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 {{-- JS files --}} {{-- 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 {{-- Custom JS --}} @yield('custom-js')