@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 $aboutImg = $home_text->about_image ?? 'about.png'; @endphp
Image
@if (!empty($home_text->about_title)) {{ $home_text->about_title }} @endif

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

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

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

@endif @if (!empty($home_text->about_button_url)) {{$home_text->about_button_text}} @endif
@endif @if (in_array('Service', $packagePermissions) && isset($home_sections->featured_services_section) && $home_sections->featured_services_section == 1)
@if (!empty($home_text->service_title)) {{ $home_text->service_title }} @endif

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

@foreach ($services as $service) @endforeach
Image
@endif @if (isset($home_sections->video_section) && $home_sections->video_section == 1) @php $videoBg = $videoSectionDetails->video_section_image ?? 'video_bg_one.jpg'; @endphp
@if (!empty($videoSectionDetails->video_section_title)) {{ $videoSectionDetails->video_section_title }} @endif

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

@if (!empty($videoSectionDetails->video_section_text))

{!! nl2br($videoSectionDetails->video_section_text) !!}

@endif @if (!empty($videoSectionDetails->video_section_button_url)) {{ $videoSectionDetails->video_section_button_text }} @endif
@if (!empty($home_text->video_section_url)) @endif
Line
@endif @if (in_array('Portfolio', $packagePermissions) && isset($home_sections->portfolio_section) && $home_sections->portfolio_section == 1)
@if (!empty($home_text->portfolio_title)) {{ $home_text->portfolio_title }} @endif

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

@foreach ($portfolios as $portfolio) @endforeach
@endif @if (isset($home_sections->why_choose_us_section) && $home_sections->why_choose_us_section == 1) @php $whyChooseImg = $home_text->why_choose_us_section_image ?? 'why_choose_us.png'; @endphp
Image
@if (!empty($home_text->why_choose_us_section_title)) {{ $home_text->why_choose_us_section_title }} @endif

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

@if (!empty($home_text->why_choose_us_section_text))

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

@endif @if (!empty($home_text->why_choose_us_section_button_url)) {{ $home_text->why_choose_us_section_button_text }} @endif
shape shape
@endif @if (isset($home_sections->counter_info_section) && $home_sections->counter_info_section == 1)
@foreach ($counterInformations as $counterInformation)

{{ $counterInformation->count }}

{{ $counterInformation->title }}

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

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

@foreach ($teams as $team)
TeamMember

{{ $team->name }}

{{ $team->rank }}
@endforeach
@endif @if (isset($home_sections->skills_section) && $home_sections->skills_section == 1)
@if (!empty($home_text->skills_title)) {{ $home_text->skills_title }} @endif

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

@if (!empty($home_text->skills_content))

{!! nl2br($home_text->skills_content ?? '') !!}

@endif
@foreach ($skills as $skill)

{{ $skill->title }}

@endforeach
@endif @if (isset($home_sections->testimonials_section) && $home_sections->testimonials_section == 1)
@if (!empty($home_text->testimonial_title)) {{ $home_text->testimonial_title }} @endif

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

@foreach ($testimonials as $testimonial)

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

img

{{ $testimonial->name }}

{{ $testimonial->occupation ?? null }}
@endforeach
@php $tstmImg = $home_text->testimonial_image ?? 'testimonial.png'; @endphp
testimonial
@endif @if (isset($home_sections->brand_section) && $home_sections->brand_section == 1 && count($brands) > 0)
@foreach ($brands as $brand) @endforeach
@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)

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