@extends('layouts.homelayout') @section('content')
@include('frontend.partials.fileRender',['file' => $page->about_image_1,'size' => 'large'])
@include('frontend.partials.fileRender',['file' => $page->about_image_2,'size' => 'large'])
@include('frontend.partials.fileRender',['file' => $page->about_image_3,'size' => 'large'])
@if($page->about_title) @php $str = $page->about_title; $last_word_start = strrpos ( $str , " ") + 1; $last_word_end = strlen($str) - 1; $last_word = substr($str, $last_word_start, $last_word_end); @endphp

{{preg_replace('/\W\w+\s*(\W*)$/', '$1', $page->about_title);}} {{$last_word}}

@endif
{{$page->about_subtitle ? $page->about_subtitle : ""}}

{{$page->about_description ? $page->about_description : ""}}

@if($page->banner_button) @endif
...
...
@include('frontend.partials.fileRender',['file' => $page->fitness_image,'size' => 'large'])

{{$page->fitness_title ? $page->fitness_title : ""}}

{!! $page->fitness_description ? addTag($page->fitness_description) : "" !!}

{{--

The pain you feel Today will be the Strength You feel Tomorrow

--}}
@if($page->fitness_button) @endif
...
@if(isset($transformations) && $transformations)
..

{{Str::limit($page->transformation_title,70)}}

@endif @if(isset($transformations) && $transformations)
..

Before

After

@endif

{{$page->app_title ? Str::limit($page->app_title,45) : ""}}

{{$page->app_description ? Str::limit($page->app_description,200) : ""}}

@if(isset($page->app_ios_link) && $page->app_ios_link || isset($page->app_andiriod_link) && $page->app_andiriod_link)
    @if(isset($page->app_ios_link) && $page->app_ios_link)
  • ...
  • @endif @if(isset($page->app_andiriod_link) && $page->app_andiriod_link)
  • ...
  • @endif
@endif
@if($page->app_image)
@include('frontend.partials.fileRender',['file' => $page->app_image,'size' => 'large'])
@endif
...

{{$page->contact_title ? Str::limit($page->contact_title,6) : ""}}

{{$page->contact_subtitle ? Str::limit($page->contact_subtitle,100) : ""}}

{{$page->contact_description ? Str::limit($page->contact_description,150) : ""}}

{{$page->contact_number ? $page->contact_number : ""}}
@include('frontend.partials.fileRender',['file' => $page->contact_image,'size' => 'large'])
@if($page->banner_2_image)

{{strtok($page->banner_2_title," ")}}

{{strstr(Str::limit($page->banner_2_title,25)," ")}}

@if($page->banner_2_button) @endif
@endif @endsection