@extends('front.gym.layout') @section('meta-keywords', "$be->home_meta_keywords") @section('meta-description', "$be->home_meta_description") @section('content') @if ($bs->home_version == 'static') @includeif('front.gym.partials.static') @elseif ($bs->home_version == 'slider') @includeif('front.gym.partials.slider') @elseif ($bs->home_version == 'video') @includeif('front.gym.partials.video') @elseif ($bs->home_version == 'particles') @includeif('front.gym.partials.particles') @elseif ($bs->home_version == 'water') @includeif('front.gym.partials.water') @elseif ($bs->home_version == 'parallax') @includeif('front.gym.partials.parallax') @endif @if ($bs->feature_section == 1)
@foreach ($features as $key => $feature)

{{$feature->title}}

@endforeach
@endif @if ($bs->service_section == 1)
{{convertUtf8($bs->service_section_title)}}

{{convertUtf8($bs->service_section_subtitle)}}

@if (serviceCategory()) @foreach ($scategories as $key => $scat)
@if (!empty($scat->image))
@endif
@if (strlen($scat->short_text) > 112) {{mb_substr($scat->short_text, 0, 112, 'utf-8')}}{{mb_substr($scat->short_text, 112, null, 'utf-8')}} {{__('see more')}}... @else {{convertUtf8($scat->short_text)}} @endif
@endforeach @elseif (!serviceCategory()) @foreach ($services as $key => $service)
@if (!empty($service->main_image))
service @if($service->details_page_status == 1)
@endif
@endif
@if (strlen($service->summary) > 100) {{mb_substr($service->summary, 0, 100, 'utf-8')}}{{mb_substr($service->summary, 100, null, 'utf-8')}} {{__('see more')}}... @else {{convertUtf8($service->summary)}} @endif
@endforeach @endif
@endif @if ($bs->intro_section == 1)
{{convertUtf8($bs->intro_section_title)}}

{{convertUtf8($bs->intro_section_text)}}

@if (!empty($bs->intro_section_button_url) && !empty($bs->intro_section_button_text)) @endif
@endif @if ($bs->approach_section == 1)
{{convertUtf8($bs->approach_title)}}

{{convertUtf8($bs->approach_subtitle)}}

@if (!empty($bs->approach_button_url) && !empty($bs->approach_button_text)) @endif
@foreach ($points as $key => $point)

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

@if (strlen($point->short_text) > 150) {{mb_substr($point->short_text, 0, 150, 'utf-8')}}{{mb_substr($point->short_text, 150, null, 'utf-8')}} {{__('see more')}}... @else {{convertUtf8($point->short_text)}} @endif

@endforeach
@endif @if ($bs->statistics_section == 1)
@foreach ($statistics as $key => $statistic)

{{convertUtf8($statistic->quantity)}}+

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

@endforeach
@endif @if ($bs->partner_section == 1)
@foreach ($partners as $key => $partner)
@endforeach
@endif @if ($bs->portfolio_section == 1)
{{convertUtf8($bs->portfolio_section_title)}}

{{convertUtf8($bs->portfolio_section_text)}}

@endif @if ($bs->testimonial_section == 1)
{{convertUtf8($bs->testimonial_title)}}

{{convertUtf8($bs->testimonial_subtitle)}}

@foreach ($testimonials as $key => $testimonial)

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

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

{{convertUtf8($testimonial->rank)}}
@endforeach
@endif @if ($bs->team_section == 1)
{{convertUtf8($bs->team_section_title)}}

{{convertUtf8($bs->team_section_subtitle)}}

@foreach ($members as $key => $member)

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

{{convertUtf8($member->rank)}}

@endforeach
@endif @if ($be->pricing_section == 1)
{{convertUtf8($be->pricing_title)}}

{{convertUtf8($be->pricing_subtitle)}}

@foreach ($packages as $key => $package)

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

{{$bex->base_currency_symbol_position == 'left' ? $bex->base_currency_symbol : ''}}{{$package->price}}{{$bex->base_currency_symbol_position == 'right' ? $bex->base_currency_symbol : ''}}

{!! replaceBaseUrl(convertUtf8($package->description)) !!}
@if ($package->order_status == 1) {{__('Place Order')}} @endif
@endforeach
@endif @if ($bs->call_to_action_section == 1)

{{convertUtf8($bs->cta_section_text)}}

@endif @if ($bs->news_section == 1)
{{$bs->blog_section_title}}

{{$bs->blog_section_subtitle}}

@foreach ($blogs as $key => $blog)
@php $blogDate = \Carbon\Carbon::parse($blog->created_at)->locale("$currentLang->code"); $blogDate = $blogDate->translatedFormat('jS F, Y'); @endphp

{{strlen($blog->title) > 40 ? mb_substr($blog->title, 0, 40, 'utf-8') . '...' : $blog->title}}

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

{{__('Read More')}}
@endforeach
@endif @endsection