@if ($vcard->language_enable == \App\Models\Vcard::LANGUAGE_ENABLE)
@endif
{{-- support banner --}}
@if ((isset($managesection) && $managesection['banner']) || empty($managesection))
@if (isset($banners->title))
{{ $banners->title }}
{{ $banners->description }}
@endif
@endif
{{ ucwords($vcard->first_name . ' ' . $vcard->last_name) }}
{{ ucwords($vcard->occupation) }}
{{ ucwords($vcard->job_title) }}
{{ ucwords($vcard->company) }}
{!! $vcard->description !!}
@if ((isset($managesection) && $managesection['contact_list']) || empty($managesection))
@endif
{{-- qrcode --}}
@if (isset($vcard['show_qr_code']) && $vcard['show_qr_code'] == 1)
{{ __('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') }}
@foreach ($vcard->services as $service)
{{ ucwords($service->name) }}
{!! $service->description !!}
@endforeach
@endif
@endif
{{-- gallery --}}
@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
@endforeach
@endif
@endif
{{-- product --}}
@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 --}}
@if ((isset($managesection) && $managesection['testimonials']) || empty($managesection))
@if (checkFeature('testimonials') && $vcard->testimonials->count())
{{ __('messages.plan.testimonials') }}
@foreach ($vcard->testimonials as $testimonial)
{{ ucwords($testimonial->name) }}
{!! $testimonial->description !!}
@endforeach
@endif
@endif
{{-- insta feed --}}
@if ((isset($managesection) && $managesection['insta_embed']) || empty($managesection))
@if (checkFeature('instagramEmbed') && $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)
@endforeach
@endif
@endif
{{-- Iframe --}}
@if ((isset($managesection) && $managesection['iframe']) || empty($managesection))
@if (checkFeature('iframes') && $vcard->iframes->count())
{{ __('messages.vcard.iframe') }}
@foreach ($vcard->iframes as $iframe)
@endforeach
@endif
@endif
{{-- buisness hours --}}
@if ((isset($managesection) && $managesection['business_hours']) || empty($managesection))
@if ($vcard->businessHours->count())
@php
$todayWeekName = strtolower(\Carbon\Carbon::now()->rawFormat('D'));
@endphp
{{ __('messages.business.business_hours') }}
@foreach ($businessDaysTime as $key => $dayTime)
{{ __('messages.business.' . \App\Models\BusinessHour::DAY_OF_WEEK[$key]) . ':' }}
{{ $dayTime ?? __('messages.common.closed') }}
@endforeach
@endif
@endif
{{-- make appointmnet --}}
@if ((isset($managesection) && $managesection['appointments']) || empty($managesection))
@if (checkFeature('appointments') && $vcard->appointmentHours->count())
{{ __('messages.make_appointments') }}
{{ Form::text('date', null, ['class' => 'form-control appointment-input date appoint-input', 'placeholder' => __('messages.form.pick_date'), 'id' => 'pickUpDate']) }}
@include('vcardTemplates.appointment')
@endif
@endif
{{-- contact us --}}
@php
$currentSubs = $vcard
->subscriptions()
->where('status', \App\Models\Subscription::ACTIVE)
->latest()
->first();
@endphp
{{-- create vcard --}}
@if (!empty($userSetting['enable_affiliation']))
{{ __('messages.create_vcard') }}
@endif
{{-- add to contact --}}
{{-- sticky button --}}
@if (empty($userSetting['hide_stickybar']))
@endif
@if (isset($userSetting['whatsapp_share']) && $userSetting['whatsapp_share'] == 1)
@endif
@if (empty($userSetting['hide_stickybar']))
@endif
{{-- map --}}
@if ((isset($managesection) && $managesection['map']) || empty($managesection))
@if ($vcard->location_url && isset($url[5]))
@endif
@endif
{{-- made by --}}
@if (checkFeature('advanced'))
@if (checkFeature('advanced')->hide_branding && $vcard->branding == 0)
@if ($vcard->made_by)
made_by_url)) href="{{ $vcard->made_by_url }}" @endif
class="text-center text-decoration-none text-dark" target="_blank">
{{ __('messages.made_by') }} {{ $vcard->made_by }}
@else
{{ __('messages.made_by') }}
{{ $setting['app_name'] }}
@endif
@endif
@else
@if ($vcard->made_by)
made_by_url)) href="{{ $vcard->made_by_url }}" @endif
class="text-center text-decoration-none text-dark" target="_blank">
{{ __('messages.made_by') }} {{ $vcard->made_by }}
@else
{{ __('messages.made_by') }}
{{ $setting['app_name'] }}
@endif
@endif
@if (!empty($vcard->privacy_policy) || !empty($vcard->term_condition))
@endif
{{-- news latter popup --}}
@if ((isset($managesection) && $managesection['news_latter_popup']) || empty($managesection))
@endif
{{-- share modal code --}}
{{ __('messages.vcard.share_my_vcard') }}
@php
$shareUrl = route('vcard.show', ['alias' => $vcard->url_alias]);
@endphp