@extends('user-front.layout') @section('tab-title') {{ $keywords['Home'] ?? 'Home' }} @endsection @php Config::set('app.timezone', $userBs->timezoneinfo->timezone); @endphp @section('meta-description', !empty($userSeo) ? $userSeo->home_meta_description : '') @section('meta-keywords', !empty($userSeo) ? $userSeo->home_meta_keywords : '') @section('content') @if (isset($home_sections->work_process_section) && $home_sections->work_process_section == 1)
@isset($home_text->work_process_section_title)

{{ $home_text->work_process_section_title }}

@endisset

{{ $home_text->work_process_section_text ?? '' }}

@if (!empty($home_text->work_process_btn_url)) {{ $home_text->work_process_btn_txt ?? '' }} @endif
@foreach ($work_processes as $key => $work_process)
{{ $work_process->title }}
@if (!empty($work_process->text))

{!! strlen(strip_tags($work_process->text)) > 80 ? mb_substr(strip_tags($work_process->text), 0, 80, 'UTF-8') . '...' : strip_tags($work_process->text) !!}

@endif
@endforeach
@endif @if (isset($home_sections->video_section) && $home_sections->video_section == 1) @php $videoBg = $videoSectionDetails->video_section_image ?? 'video_bg.jpg'; @endphp
video
@if (!empty($videoSectionDetails->video_section_url)) @endif

{{ $videoSectionDetails->video_section_title ?? '' }}

{{ $videoSectionDetails->video_section_text ?? '' }}

dot
@endif @if (isset($home_sections->counter_info_section) && $home_sections->counter_info_section == 1)
@foreach ($counterInformations as $key => $counterInformation)

{{ $counterInformation->count }}

{{ $counterInformation->title }}

@endforeach
@endif @if (in_array('Service', $packagePermissions) && isset($home_sections->featured_services_section) && $home_sections->featured_services_section == 1)

{{ $home_text->service_title ?? '' }}

{{ $home_text->service_subtitle ?? '' }}

@endif @if (in_array('Portfolio', $packagePermissions) && isset($home_sections->portfolio_section) && $home_sections->portfolio_section == 1)
@foreach ($portfolios as $portfolio)
portfolio

{{ strlen($portfolio->title) > 25 ? mb_substr($portfolio->title, 0, 25, 'UTF-8') . '...' : $portfolio->title }}

{{ $portfolio->bcategory->name }}
@endforeach
@endif @if (in_array('Team', $packagePermissions) && isset($home_sections->team_members_section) && $home_sections->team_members_section == 1)
@isset($home_text->team_section_title)

{{ $home_text->team_section_title ?? '' }}

@endisset

{{ $home_text->team_section_subtitle ?? '' }}

@foreach ($teams as $team)
team
{{ convertUtf8($team->rank) }}
{{ convertUtf8($team->name) }}
    @isset($team->facebook)
  • @endisset @isset($team->twitter)
  • @endisset @isset($team->instagram)
  • @endisset @isset($team->linkedin)
  • @endisset
@endforeach
@endif
@if (isset($home_sections->testimonials_section) && $home_sections->testimonials_section == 1) @php $tstmBg = $home_text->testimonial_image ?? 'testimonial_bg_3.jpg'; @endphp
@if (!empty($home_text->testimonial_title))

{{ $home_text->testimonial_title }}

@endif

{{ $home_text->testimonial_subtitle ?? null }}

@foreach ($testimonials as $testimonial)

{{ replaceBaseUrl($testimonial->content) }}

clients
{{ convertUtf8($testimonial->name) }}
{{ convertUtf8($testimonial->occupation) ?? null }}
@endforeach
@endif @if (isset($home_sections->faq_section) && $home_sections->faq_section == 1)
@isset($home_text->faq_section_title)

{{ $home_text->faq_section_title }}

@endisset

{{ !empty($home_text->faq_section_subtitle) ? $home_text->faq_section_subtitle : null }}

@foreach ($faqs as $key => $faq)

{{ $faq->answer }}

@endforeach
@endif
@if (isset($home_sections->contact_section) && $home_sections->contact_section == 1)
@isset($home_text->contact_section_title)

{{ $home_text->contact_section_title }}

@endisset

{{ $home_text->contact_section_subtitle ?? null }}

@csrf
quote
@endif @if (in_array('Request a Quote', $packagePermissions)) @if ($userBs->is_quote)
@isset($home_text->quote_section_title)

{{ $home_text->quote_section_title }}

@endisset

{{ !empty($home_text->quote_section_subtitle) ? $home_text->quote_section_subtitle : null }}

{{ $keywords['Request_A_Quote'] ?? 'Request A Quote' }}
@endif @endif @if (in_array('Blog', $packagePermissions) && isset($home_sections->blogs_section) && $home_sections->blogs_section == 1)
@if (!empty($home_text->blog_title))

{{ $home_text->blog_title }}

@endif

{{ $home_text->blog_subtitle ?? null }}

@foreach ($blogs as $blog) @if ($loop->last) @continue @endif
blog
  • {{ $blog->bcategory->name }}
  • {{ \Carbon\Carbon::parse($blog->created_at)->toFormattedDateString() }}

{{ $blog->title }}

{!! strlen(strip_tags($blog->content)) > 80 ? mb_substr(strip_tags($blog->content), 0, 80, 'UTF-8') . '...' : strip_tags($blog->content) !!}

{{ $keywords['Learn_More'] ?? 'Learn More' }}
@endforeach
@endif @endsection