Changes
This commit is contained in:
@ -7,37 +7,41 @@
|
||||
<h2>{{ $whyChooseUs->title }}?</h2>
|
||||
</div>
|
||||
@foreach ($whyChooseUs->children as $item)
|
||||
@if($item->status != -1)
|
||||
<div class="fh-icon-box style-2 icon-left has-line">
|
||||
@if ($item->status != -1)
|
||||
@if ($loop->last)
|
||||
<div class="fh-icon-box style-2 icon-left">
|
||||
@else
|
||||
<div class="fh-icon-box style-2 icon-left has-line">
|
||||
@endif
|
||||
<span class="fh-icon"><a href="javascript:void(0)"><i
|
||||
class="{{$item->icon}}"></i></a></span>
|
||||
class="{{ $item->icon }}"></i></a></span>
|
||||
<h4 class="box-title"><a href="javascript:void(0)"> <span>{{ $item->title }}</span></a>
|
||||
</h4>
|
||||
<div class="desc">
|
||||
{!! strip_tags($item->text) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- @if ($loop->last)
|
||||
<div class="fh-icon-box style-2 icon-left">
|
||||
<span class="fh-icon"><a href="javascript:void(0)"><i
|
||||
class="{{ $item->icon }}"></i></a></span>
|
||||
<h4 class="box-title"><a href="javascript:void(0)"><span>{{ $item->title }}</span></a>
|
||||
</h4>
|
||||
<div class="desc">
|
||||
{!! strip_tags($item->text) !!}
|
||||
</div>
|
||||
</div>
|
||||
@endif --}}
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
@if ($loop->last)
|
||||
<div class="fh-icon-box style-2 icon-left">
|
||||
<span class="fh-icon"><a href="javascript:void(0)"><i
|
||||
class="{{$item->icon}}"></i></a></span>
|
||||
<h4 class="box-title"><a href="javascript:void(0)"><span>{{$item->title}}</span></a>
|
||||
</h4>
|
||||
<div class="desc">
|
||||
{!! strip_tags($item->text) !!}
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-lg-5 col-lg-offset-2 col-md-6 quofrm1 secpaddlf">
|
||||
<img src = "{{ asset($whyChooseUs->cover_photo) }}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-5 col-lg-offset-2 col-md-6 quofrm1 secpaddlf">
|
||||
<img src = "{{ asset($whyChooseUs->cover_photo) }}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<!--why choose us end -->
|
||||
|
Reference in New Issue
Block a user