@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
@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
{{-- profile --}}
@if (getLanguage($vcard->default_language) != 'Arabic')
{{ ucwords($vcard->first_name . ' ' . $vcard->last_name) }}
@if ($vcard->is_verified)
@endif
{{ ucwords($vcard->company) }}
{{ ucwords($vcard->occupation) }}
{{ ucwords($vcard->job_title) }}
{{-- profile details --}}
@endif
@if (getLanguage($vcard->default_language) == 'Arabic')
{{ ucwords($vcard->first_name . ' ' . $vcard->last_name) }}
@if ($vcard->is_verified)
@endif
{{ ucwords($vcard->company) }}
{{ ucwords($vcard->occupation) }}
{{ ucwords($vcard->job_title) }}
{{-- profile details --}}
@endif
{!! $vcard->description !!}
@if (checkFeature('social_links') && getSocialLink($vcard))
@foreach (getSocialLink($vcard) as $value)
{!! $value !!}
@endforeach
@endif
{{-- custom link section --}}
@if (checkFeature('custom-links'))
@endif
{{-- End custom link section --}}
{{-- event --}}
@if ((isset($managesection) && $managesection['contact_list']) || empty($managesection))
@endif
{{-- qrcode --}}
@if (isset($vcard['show_qr_code']) && $vcard['show_qr_code'] == 1)
default_language) == 'Arabic') dir="rtl" @endif>
{{ __('messages.vcard.qr_code') }}
@if (isset($customQrCode['applySetting']) && $customQrCode['applySetting'] == 1)
{!! QrCode::color(
$qrcodeColor['qrcodeColor']->red(),
$qrcodeColor['qrcodeColor']->green(),
$qrcodeColor['qrcodeColor']->blue(),
)->backgroundColor(
$qrcodeColor['background_color']->red(),
$qrcodeColor['background_color']->green(),
$qrcodeColor['background_color']->blue(),
)->style($customQrCode['style'])->eye($customQrCode['eye_style'])->size(130)->format('svg')->generate(Request::url()) !!}
@else
{!! QrCode::size(130)->format('svg')->generate(Request::url()) !!}
@endif
@endif
{{-- service --}}
@if ((isset($managesection) && $managesection['services']) || empty($managesection))
@if (checkFeature('services') && $vcard->services->count())
{{ __('messages.vcard.our_service') }}
@if ($vcard->services_slider_view)
@foreach ($vcard->services as $service)
@endforeach
@else
@foreach ($vcard->services as $service)
{{ ucwords($service->name) }}
{!! \Illuminate\Support\Str::limit($service->description, 170, '...') !!}
@endforeach
@endif
@endif
@endif
{{-- gallary --}}
@if ((isset($managesection) && $managesection['galleries']) || empty($managesection))
@if (checkFeature('gallery') && $vcard->gallery->count())
{{ __('messages.plan.gallery') }}
@foreach ($vcard->gallery as $file)
@php
$infoPath = pathinfo(public_path($file->gallery_image));
$extension = $infoPath['extension'];
@endphp
@if ($file->type == App\Models\Gallery::TYPE_IMAGE)
@elseif($file->type == App\Models\Gallery::TYPE_FILE)
@elseif($file->type == App\Models\Gallery::TYPE_VIDEO)
@elseif($file->type == App\Models\Gallery::TYPE_AUDIO)
@else
@endif
@endforeach
@endif
@endif
{{-- product --}}
@if ((isset($managesection) && $managesection['products']) || empty($managesection))
@if (checkFeature('products') && $vcard->products->count())
{{ __('messages.plan.products') }}
@foreach ($vcardProducts as $product)
@endforeach
@endif
@endif
{{-- testimonial --}}
@if ((isset($managesection) && $managesection['testimonials']) || empty($managesection))
@if (checkFeature('testimonials') && $vcard->testimonials->count())
default_language) == 'Arabic') dir="rtl" @endif>
{{ __('messages.plan.testimonials') }}
@foreach ($vcard->testimonials as $testimonial)
{!! $testimonial->description !!}
default_language) == 'Arabic') dir="rtl" @endif>
{{ 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 --}}
@if ((isset($managesection) && $managesection['blogs']) || empty($managesection))
@if (checkFeature('blog') && $vcard->blogs->count())
{{ __('messages.feature.blog') }}
@foreach ($vcard->blogs as $blog)