@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('styles') @endsection @section('content')
user thumb
@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)

{{ $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()->orderBy('serial_number', 'ASC')->get() : []; @endphp @foreach ($services as $service) @if ($service->external_link_status == 1 && !empty($service->external_link)) @elseif ($service->external_link_status == 0 && !empty($service->short_details)) @endif
Image

{{ $service->title }}

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

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

@php $projects = !empty($vcard->user_vcard_projects) ? $vcard->user_vcard_projects()->orderBy('serial_number', 'ASC')->get() : []; @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))
@if (!empty($vcard->video))
@endif
@endif @if (is_array($prefs) && in_array('Testimonials', $prefs))
@php $testimonials = !empty($vcard->user_vcard_testimonials) ? $vcard->user_vcard_testimonials()->orderBy('serial_number', 'ASC')->get() : []; @endphp @if (!empty($testimonials))
@foreach ($testimonials as $testimonial)

{{ $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