@extends('vcard.layout') @if ($vcard->direction == 2) @section('rtl', 'dir=rtl') @endif @if ($vcard->direction == 2) @section('rtl-css') @endsection @endif @section('base-color') @endsection @section('og-image', asset('assets/front/img/user/vcard/' . $vcard->cover_image)) @section('og-title') {{$vcard->name}} ({{$vcard->occupation}}) @endsection @section('og-description') {{$vcard->introduction}} @endsection @section('body', 'dark-body') @section('content')
Thumb
{{$vcard->name}}
@if (!empty($vcard->occupation)) {{$vcard->occupation}} @if (!empty($vcard->company)) ({{$vcard->company}}) @endif @endif

{{$vcard->introduction}}

@if (!empty($vcard->phone) && (is_array($prefs) && in_array('Call', $prefs)))

{{$keywords["Call"] ?? "Call"}}
@endif @if (!empty($vcard->phone) && (is_array($prefs) && in_array('Whatsapp', $prefs)))

{{$keywords["Whatsapp"] ?? "Whatsapp"}}
@endif @if (!empty($vcard->email) && (is_array($prefs) && in_array('Mail', $prefs)))

{{$keywords["Mail"] ?? "Mail"}}
@endif
@if (!empty($vcard->phone) && (is_array($prefs) && in_array('Add to Contact', $prefs))) {{$keywords["Add_to_Contact"] ?? "Add to Contact"}} @endif @if (is_array($prefs) && in_array('Share vCard', $prefs)) @endif
@if (is_array($prefs) && in_array('Information', $prefs))
@if (!empty($vcard->phone))
{{$keywords["Phone"] ?? "Phone"}}
{{$vcard->phone}}
@endif @if (!empty($vcard->email))
{{$keywords["Email"] ?? "Email"}}
{{$vcard->email}}
@endif @if (!empty($vcard->address))
{{$keywords["Address"] ?? "Address"}}
{{$vcard->address}}
@endif @if (!empty($vcard->website_url))
{{$keywords["Website_URL"] ?? "Website_URL"}}
{{$vcard->website_url}}
@endif @foreach ($infos as $info)
@if ($info['link'] == 1) @else
@endif
{{$info['label']}}
{{$info['value']}}
@endforeach
@endif @if (is_array($prefs) && in_array('About Us', $prefs))

{{$keywords["About_us"] ?? "About us"}}

{!! $vcard->about !!}
@endif @if (is_array($prefs) && in_array('Services', $prefs))

{{$keywords["Our_Service"] ?? "Our Service"}}

@php $services = !empty($vcard->user_vcard_services) ? $vcard->user_vcard_services : []; @endphp @foreach ($services as $service)
service img

{{$service->title}}

@if ($service->external_link_status == 1 && !empty($service->external_link)) {{$keywords["Details"] ?? "Details"}} @elseif ($service->external_link_status == 0 && !empty($service->short_details)) {{$keywords["Details"] ?? "Details"}} @endif
@if ($service->external_link_status == 0 && !empty($service->short_details)) @endif @endforeach
@endif @if (is_array($prefs) && in_array('Projects', $prefs))

{{$keywords["Projects"] ?? "Projects"}}

@php $projects = !empty($vcard->user_vcard_projects) ? $vcard->user_vcard_projects : []; @endphp @if (!empty($projects))
@foreach ($projects as $project)
@if ($project->external_link_status == 1 && !empty($project->external_link)) {{$keywords["Details"] ?? "Details"}} @elseif ($project->external_link_status == 0 && !empty($project->short_details)) {{$keywords["Details"] ?? "Details"}} @endif
@endforeach
@endif
@endif @if (is_array($prefs) && in_array('Video', $prefs))

{{$keywords["Video"] ?? "Video"}}

@if (!empty($vcard->video))
@endif
@endif @if (is_array($prefs) && in_array('Testimonials', $prefs))

{{$keywords["Testimonial"] ?? "Testimonial"}}

@php $testimonials = !empty($vcard->user_vcard_testimonials) ? $vcard->user_vcard_testimonials : []; @endphp @if (!empty($testimonials))
@foreach ($testimonials as $testimonial)
thumb
{{$testimonial->name}}
    @for ($i = 0; $i < $testimonial->rating; $i++)
  • @endfor @for ($i = 0; $i < (5 - $testimonial->rating); $i++)
  • @endfor

{{$testimonial->comment}}

@endforeach
@endif
@endif @if (is_array($prefs) && in_array('Enquiry Form', $prefs))

{{$keywords["Enquiry_Form"] ?? "Enquiry_Form"}}

@csrf
@if ($errors->has('fullname'))

{{$errors->first('fullname')}}

@endif
@if ($errors->has('email'))

{{$errors->first('email')}}

@endif
@if ($errors->has('subject'))

{{$errors->first('subject')}}

@endif
@if ($errors->has('message'))

{{$errors->first('message')}}

@endif
@if ($userBs->is_recaptcha == 1)
{!! NoCaptcha::renderJs() !!} {!! NoCaptcha::display() !!} @if ($errors->has('g-recaptcha-response')) @php $errmsg = $errors->first('g-recaptcha-response'); @endphp

{{ __("$errmsg") }}

@endif
@endif
@endif
@endsection