@php
$coverClass = $vcard->cover_image_type == 0 ? 'object-fit-cover' : 'object-fit-contain';
@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
@if (getLanguage($vcard->default_language) != 'Arabic')
@endif
@if (getLanguage($vcard->default_language) == 'Arabic')
@endif
{{-- social-icon --}}
{{ ucwords($vcard->first_name . ' ' . $vcard->last_name) }} @if ($vcard->is_verified) @endif
{{ ucwords($vcard->occupation) }}
{{ ucwords($vcard->job_title) }}
{{ ucwords($vcard->company) }}
{{ ucwords($vcard->first_name . ' ' . $vcard->last_name) }} @if ($vcard->is_verified) @endif
{{ ucwords($vcard->occupation) }}
{{ ucwords($vcard->job_title) }}
{{ ucwords($vcard->company) }}
{!! $vcard->description !!}
@if (checkFeature('social_links') && getSocialLink($vcard))
{{-- custom link section --}}
@endif
@if (checkFeature('custom-links'))
{{-- End custom link section --}}
{{-- about-section --}}
@if ((isset($managesection) && $managesection['contact_list']) || empty($managesection))
@foreach ($customLink as $value)
@if ($value->show_as_button == 1)
open_new_tab == 1) target="_blank" @endif
style="
@if ($value->button_color) background-color: {{ $value->button_color }}; @endif
@if ($value->button_type === 'rounded') border-radius: 20px; @endif
@if ($value->button_type === 'square') border-radius: 0px; @endif"
class="m-2 d-flex justify-content-center align-items-center text-decoration-none link-text font-primary btn mt-2">
{{ $value->link_name }}
@else
open_new_tab == 1) target="_blank" @endif
class="custom-link m-2 d-flex justify-content-center align-items-center text-decoration-none link-text mt-2">
{{ $value->link_name }}
@endif
@endforeach
@endif
@if ($vcard->email)
@endif
@if ($vcard->alternative_email)
@endif
@if ($vcard->dob)
@endif
@if ($vcard->phone)
@endif
@if ($vcard->alternative_phone)
@endif
@if ($vcard->location)
@endif
 }})
{{ $vcard->dob }}
 }})
{!! $vcard->location !!}
{{ __('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
{{ __('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
{{ __('messages.plan.gallery') }}
@foreach ($vcard->gallery as $file)
@php
$infoPath = pathinfo(public_path($file->gallery_image));
$extension = $infoPath['extension'];
@endphp
@endforeach
@if ($file->type == App\Models\Gallery::TYPE_IMAGE)
@elseif($file->type == App\Models\Gallery::TYPE_FILE)
@elseif($file->type == App\Models\Gallery::TYPE_AUDIO)
@else
@endif
@endif
@if ($extension == 'xls') style="background-image: url({{ asset('assets/images/xls.png') }})"> @endif
@if ($extension == 'csv') style="background-image: url({{ asset('assets/images/csv-file.png') }})"> @endif
@if ($extension == 'xlsx') style="background-image: url({{ asset('assets/images/xlsx.png') }})"> @endif
@elseif($file->type == App\Models\Gallery::TYPE_VIDEO)
 }})
{{ __('messages.plan.products') }}
{{ __('messages.plan.testimonials') }}
@foreach ($vcard->testimonials as $testimonial)
@endforeach
“{!! $testimonial->description !!}”
default_language) == 'Arabic') dir="rtl" @endif>
{{ ucwords($testimonial->name) }}
{{ __('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