TanchoToplineCargo/resources/views/client/topCargo/partials/welcome/service.blade.php

36 lines
1.4 KiB
PHP
Raw Normal View History

2024-05-05 04:47:49 +00:00
<section class="features-1 bluebg">
<div class="container">
<div class="row">
<div class="col-md-4 col-sm-12">
<div class="fh-section-title clearfix text-left version-light">
<h2>Our Special Services</h2>
</div>
</div>
</div>
<div class="row">
<?php $count = 0; ?>
@foreach ($services as $key => $service)
@if ($count % 2 == 0)
@if ($count > 0)
</div><!-- Close previous col-md-4 col-sm-12 -->
@endif
<div class="col-md-4 col-sm-12">
@endif
<div class="fh-service-box icon-type-theme_icon style-1">
<span class="fh-icon"><i class="{{$service->icon}}"></i></span>
<h4 class="service-title"><a href="road-freight-forwarding.php" class="link" target="_blank">{{ $service->title }}</a></h4>
<div class="desc">
<p>{!! strip_tags($service->sub_text) !!}</p>
</div>
</div>
<?php $count++; ?>
@endforeach
@if ($count % 2 != 0)
</div><!-- Close last col-md-4 col-sm-12 if there is an odd number of services -->
@endif
</div>
</div>
</section>