@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 (count($sliders) > 0) @foreach ($sliders as $slider)

{{ $slider->title }}

{{ $slider->subtitle }}

@if (!empty($slider->btn_url)) @endif
@endforeach @else

Corporate Law Firms

25 Years Of Experience In Law Solutiuons

@endif
@if (in_array('Service', $packagePermissions) && isset($home_sections->featured_services_section) && $home_sections->featured_services_section == 1) @php $isFeatureServicesEmpty = empty($services) || count($services) == 0; @endphp
@if ($isFeatureServicesEmpty)

This is the Featured Services section

@else
@foreach ($services as $service)

{{ $service->name }}

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

@if ($service->detail_page == 1) @endif
@endforeach
@endif
@endif @if (isset($home_sections->intro_section) && $home_sections->intro_section == 1) @php $isIntroSectionEmpty = empty($home_text->about_title) && empty($home_text->about_subtitle) && empty($home_text->about_content) && empty($home_text->about_button_url) && empty($home_text->about_button_text) && empty($home_text->about_image); @endphp
@if ($isIntroSectionEmpty) Intro

This is the Intro/About section

@else @if (!empty($home_text->about_title)) {{ $home_text->about_title }} @endif

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

@endif
@if (!$isIntroSectionEmpty) @if (!empty($home_text->about_content))

{!! nl2br($home_text->about_content) !!}

@endif @if (!empty($home_text->about_button_url)) {{ $home_text->about_button_text }} @endif @endif
about
@endif @if (isset($home_sections->work_process_section) && $home_sections->work_process_section == 1) @php $isWorkProcessEmpty = empty($home_text->work_process_section_title) && empty($home_text->work_process_section_subtitle) && (empty($work_processes) || count($work_processes) == 0); @endphp
@if ($isWorkProcessEmpty) Work Process

This is the Work Process section

@else @isset($home_text->work_process_section_title) {{ $home_text->work_process_section_title }} @endisset

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

@endif
@if (!$isWorkProcessEmpty)
@foreach ($work_processes as $key => $work_process)

{{ $work_process->title }}

@if (!empty($work_process->text))

{!! nl2br($work_process->text) !!}

@endif
@endforeach
service
@endif
@endif @if (in_array('Team', $packagePermissions) && isset($home_sections->team_members_section) && $home_sections->team_members_section == 1) @php $isTeamSectionEmpty = empty($home_text->team_section_title) && empty($home_text->team_section_subtitle) && (empty($teams) || count($teams) == 0); @endphp
@if ($isTeamSectionEmpty) Team

This is the Team section

@else @isset($home_text->team_section_title) {{ $home_text->team_section_title }} @endisset

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

@endif
@if (!$isTeamSectionEmpty)
@foreach ($teams as $team)
Team

{{ convertUtf8($team->name) }}

{{ convertUtf8($team->rank) }}
@endforeach
@endif
@endif @if (in_array('Request a Quote', $packagePermissions)) @if ($userBs->is_quote) @php $isQuoteSectionEmpty = empty($home_text->quote_section_title) && empty($home_text->quote_section_subtitle); @endphp
@if ($isQuoteSectionEmpty) Quote

This is the Quote section

@else @isset($home_text->quote_section_title) {{ $home_text->quote_section_title }} @endisset

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

@endif {{ $keywords['Request_A_Quote'] ?? 'Request A Quote' }}
@endif @endif @if (isset($home_sections->counter_info_section) && $home_sections->counter_info_section == 1) @php $isCounterInfoEmpty = empty($counterInformations) || count($counterInformations) == 0; @endphp
@if ($isCounterInfoEmpty)

This is the Counter Info section

@else
@foreach ($counterInformations as $key => $counterInformation)

{{ $counterInformation->count }}

{{ $counterInformation->title }}
@endforeach
@endif
@endif @if (isset($home_sections->testimonials_section) && $home_sections->testimonials_section == 1) @php $isTestimonialEmpty = empty($home_text->testimonial_title) && empty($home_text->testimonial_subtitle) && (empty($testimonials) || count($testimonials) == 0); @endphp
@if ($isTestimonialEmpty) Testimonials

This is the Testimonial section

@else @if (!empty($home_text->testimonial_title)) {{ $home_text->testimonial_title }} @endif

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

@endif
@if (!$isTestimonialEmpty)
testimonial
@foreach ($testimonials as $testimonial)

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

Author thumb

{{ convertUtf8($testimonial->name) }}

{{ convertUtf8($testimonial->occupation) ?? null }}
@endforeach
@endif
@endif @if (isset($home_sections->contact_section) && $home_sections->contact_section == 1)
@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
@endif @if (in_array('Portfolio', $packagePermissions) && isset($home_sections->portfolio_section) && $home_sections->portfolio_section == 1) @php $isPortfolioSectionEmpty = empty($home_text->portfolio_title) && empty($home_text->portfolio_subtitle) && (empty($portfolios) || count($portfolios) == 0); @endphp
@if ($isPortfolioSectionEmpty) Portfolio

This is the Portfolio section

@else @if (!empty($home_text->portfolio_title)) {{ $home_text->portfolio_title }} @endif

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

@endif
@if (!$isPortfolioSectionEmpty)
@foreach ($portfolios as $portfolio) @endforeach
@endif
@endif @if (isset($home_sections->newsletter_section) && $home_sections->newsletter_section == 1)
@endif @if (in_array('Blog', $packagePermissions) && isset($home_sections->blogs_section) && $home_sections->blogs_section == 1) @php $isBlogSectionEmpty = empty($home_text->blog_title) && empty($home_text->blog_subtitle) && (empty($blogs) || count($blogs) == 0); @endphp
@if ($isBlogSectionEmpty) Blog

This is the Blog section

@else @if (!empty($home_text->blog_title)) {{ $home_text->blog_title }} @endif

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

@endif
@if (!$isBlogSectionEmpty) @endif
@endif @if (isset($home_sections->brand_section) && $home_sections->brand_section == 1) @php $isBrandSectionEmpty = empty($brands) || count($brands) == 0; @endphp @endif @endsection