@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->intro_section) && $home_sections->intro_section == 1) @php $isAboutSectionEmpty = 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_video_url); $aboutBg = $home_text->about_image ?? 'about2.jpg'; $aboutVideoImage = $home_text->about_video_image ?? null; @endphp
@if (!$isAboutSectionEmpty && !empty($home_text->about_video_url)) @endif
@if ($isAboutSectionEmpty) About

This is the About section

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

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

@endif
@if (!$isAboutSectionEmpty) @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
@endif @if (in_array('Service', $packagePermissions) && isset($home_sections->featured_services_section) && $home_sections->featured_services_section == 1) @php $isServiceSectionEmpty = empty($home_text->service_title) && empty($home_text->service_subtitle) && (empty($services) || count($services) == 0); @endphp
@if ($isServiceSectionEmpty) Services

This is the Services section

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

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

@endif
@if (!$isServiceSectionEmpty) @endif
line-shape
line-shape
@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) @endif
@if (!$isPortfolioSectionEmpty)
@foreach ($portfolios as $portfolio) @endforeach
@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 $counterInformation)

{{ $counterInformation->count }}

{{ convertUtf8($counterInformation->title) }}

@endforeach
@endif
@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($home_text->work_process_section_text) && empty($home_text->work_process_section_video_url) && (empty($work_processes) || count($work_processes) == 0); $workbg = $home_text->work_process_section_img ?? 'work_process_bg.jpg'; $workVidBg = $home_text->work_process_section_video_img ?? 'work_process_video_bg.jpg'; @endphp
@if ($isWorkProcessEmpty) Work Process

This is the Work Process section

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

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

@endif
@if (!$isWorkProcessEmpty) @if (!empty($home_text->work_process_section_text))

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

@endif
@foreach ($work_processes as $key => $work_process)
{{ $key + 1 < 10 ? '0' . ($key + 1) : $key + 1 }}

{{ $work_process->title }}

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

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

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

This is the Video section

@else @if (!empty($videoSectionDetails->video_section_url)) @endif

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

@endif
Line
Line
@endif @if (isset($home_sections->testimonials_section) && $home_sections->testimonials_section == 1) @php $isTestimonialsEmpty = empty($home_text->testimonial_title) && empty($home_text->testimonial_subtitle) && (empty($testimonials) || count($testimonials) == 0); @endphp
@if ($isTestimonialsEmpty) Testimonials

This is the Testimonials section

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

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

@endif
@if (!$isTestimonialsEmpty)
@foreach ($testimonials as $testimonial)
Image

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

{{ $testimonial->name }}

{{ $testimonial->occupation ?? null }}
@endforeach
@endif
quote
@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
@if (!$isBlogSectionEmpty)
@foreach ($blogs as $blog)

{{ $blog->title }}

{{ $keywords['Learn_More'] ?? 'Learn More' }}
@endforeach
@endif
@endif @if (isset($home_sections->brand_section) && $home_sections->brand_section == 1) @php $isBrandSectionEmpty = empty($brands) || count($brands) == 0; @endphp
@if ($isBrandSectionEmpty)

This is the Brand section

{{-- Customize or style this placeholder as needed --}}
@else
@foreach ($brands as $brand) @endforeach
@endif
@endif @endsection