@if (checkFeature('password'))
@include('vcards.password')
@endif
{{-- Pwa support --}}
@if (isset($enable_pwa) && $enable_pwa == 1 && !isiOSDevice())
{{ __('messages.pwa.add_to_home_screen') }}
{{ __('messages.pwa.pwa_description') }}
@endif
{{-- support banner --}}
@if ((isset($managesection) && $managesection['banner']) || empty($managesection))
@if (isset($banners->title))
{{ $banners->title }}
{{ $banners->description }}
@endif
@endif
{{-- banner img --}}
@php
$coverClass =
$vcard->cover_image_type == 0
? 'object-fit-cover w-100 h-100'
: 'object-fit-contain w-100 h-100';
@endphp
@if ($vcard->cover_type == 0)

@elseif($vcard->cover_type == 1)
@if (strpos($vcard->cover_url, '.mp4') !== false ||
strpos($vcard->cover_url, '.mov') !== false ||
strpos($vcard->cover_url, '.avi') !== false)
@endif
@elseif ($vcard->cover_type == 2)
@endif
@if ($vcard->language_enable == \App\Models\Vcard::LANGUAGE_ENABLE)
@endif
default_language) == 'Arabic') dir="rtl" @endif>
{{ ucwords($vcard->first_name . ' ' . $vcard->last_name) }}
@if ($vcard->is_verified)
@endif
{{ ucwords($vcard->company) }}
{{ ucwords($vcard->occupation) }}
{{ ucwords($vcard->job_title) }}
{!! $vcard->description !!}
{{-- social-media --}}
@if (checkFeature('social_links') && getSocialLinkIcon($vcard))
@foreach (getSocialLinkIcon($vcard) as $key => $social)
@endforeach
@endif
{{-- custom link section --}}
@if (checkFeature('custom-links'))
@endif
{{-- contact section --}}
@if ((isset($managesection) && $managesection['contact_list']) || empty($managesection))
@if(!empty($vcard->email) || !empty($vcard->alternative_email || !empty($vcard->phone) || !empty($vcard->alternative_phone) || !empty($vcard->dob) || !empty($vcard->location)))
@if (getLanguage($vcard->default_language) != 'Arabic')
@if ($vcard->email)
@endif
@if ($vcard->alternative_email)
@endif
@if ($vcard->phone)
@endif
@if ($vcard->alternative_phone)
@endif
@if ($vcard->dob)
@endif
@if ($vcard->location)
{!! ucwords($vcard->location) !!}
@endif
@endif
@if (getLanguage($vcard->default_language) == 'Arabic')
@if ($vcard->email)
@endif
@if ($vcard->alternative_email)
@endif
@if ($vcard->phone)
@endif
@if ($vcard->alternative_phone)
@endif
@if ($vcard->dob)
@endif
@if ($vcard->location)
{!! ucwords($vcard->location) !!}
@endif
@endif
@endif
@endif
{{-- gallery --}}
@if ((isset($managesection) && $managesection['galleries']) || empty($managesection))
@if (checkFeature('gallery') && $vcard->gallery->count())
Gallery
@foreach ($vcard->gallery as $file)
@php
$infoPath = pathinfo(public_path($file->gallery_image));
$extension = $infoPath['extension'];
@endphp
@endforeach
@endif
@endif
{{-- our service --}}
@if ((isset($managesection) && $managesection['services']) || empty($managesection))
@if (checkFeature('services') && $vcard->services->count())
default_language) == 'Arabic') dir="rtl" @endif>
{{ __('messages.vcard.our_service') }}
@if ($vcard->services_slider_view)
@foreach ($vcard->services as $service)
{{ ucwords($service->name) }}
{!! \Illuminate\Support\Str::limit($service->description, 170, '...') !!}
@endforeach
@else
@foreach ($vcard->services as $service)
{{ ucwords($service->name) }}
{!! \Illuminate\Support\Str::limit($service->description, 170, '...') !!}
@endforeach
@endif
@endif
@endif
{{-- Make an Appointment --}}
@if ((isset($managesection) && $managesection['appointments']) || empty($managesection))
@if (checkFeature('appointments') && $vcard->appointmentHours->count())
{{ __('messages.make_appointments') }}
{{ Form::text('date', null, [
'class' =>
'date form-control appointment-input ' .
(getLanguage($vcard->default_language) == 'Arabic' ? 'text-end' : 'text-start'),
'placeholder' => __('messages.form.pick_date'),
'id' => 'pickUpDate',
]) }}
@include('vcardTemplates.appointment')
@endif
@endif
{{-- Products Section --}}
@if ((isset($managesection) && $managesection['products']) || empty($managesection))
@if (checkFeature('products') && $vcard->products->count())
{{ __('messages.plan.products') }}
@foreach ($vcard->products as $product)
@endforeach
@endif
@endif
{{-- Testimonial Section --}}
@if ((isset($managesection) && $managesection['testimonials']) || empty($managesection))
@if (checkFeature('testimonials') && $vcard->testimonials->count())
{{ __('messages.plan.testimonials') }}
@foreach ($vcard->testimonials as $testimonial)
{!! $testimonial->description !!}
{{ ucwords($testimonial->name) }}
@endforeach
@endif
@endif
{{-- insta feed --}}
@if ((isset($managesection) && $managesection['insta_embed']) || empty($managesection))
@if (checkFeature('insta_embed') && $vcard->instagramEmbed->count())
{{ __('messages.feature.insta_embed') }}
@foreach ($vcard->InstagramEmbed as $InstagramEmbed)
@if ($InstagramEmbed->type == 0)
{!! $InstagramEmbed->embedtag !!}
@endif
@endforeach
@foreach ($vcard->InstagramEmbed as $InstagramEmbed)
@if ($InstagramEmbed->type == 1)
{!! $InstagramEmbed->embedtag !!}
@endif
@endforeach
@endif
@endif
{{-- Blog Section --}}
@if ((isset($managesection) && $managesection['blogs']) || empty($managesection))
@if (checkFeature('blog') && $vcard->blogs->count())
{{ __('messages.feature.blog') }}
@foreach ($vcard->blogs as $blog)