TanchoToplineCargo/resources/views/client/topCargo/partials/about/about-us.blade.php

141 lines
5.2 KiB
PHP
Raw Normal View History

2024-05-05 04:47:49 +00:00
<!--Page Header-->
<div class="page-header title-area">
<div class="header-title">
<div class="container">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<h1 class="page-title">About Us</h1>
</div>
</div>
</div>
</div>
<div class="breadcrumb-area">
<div class="container">
<div class="row">
<div class="col-md-8 col-sm-12 col-xs-12 site-breadcrumb">
<nav class="breadcrumb">
<a class="home" href="#"><span>Home</span></a>
<i class="fa fa-angle-right" aria-hidden="true"></i>
<span>About Us</span>
</nav>
</div>
</div>
</div>
</div>
</div>
<!--Page Header end-->
<!--About us-->
<section class="aboutsec-2.secpaddbig2">
<div class="container">
<div class="row">
<!-- <div class="col-md-4 col-sm-6">
<div class="abotimglft">
<img src="images/resources/aboutus.jpg" class="img-responsive"> <br><br>
</div>
</div> -->
<div class="col-md-10 col-sm-6">
<div class="abotinforgt">
<div class="fh-section-title clearfix text-left version-dark paddbtm30">
<h2>{{ $article->title }}</h2>
</div>
{!! strip_tags($article->text) !!}
</div>
@if ($article->children->isNotEmpty())
@foreach ($article->children->take(1) as $item)
<div class="abotinforgt">
<div class="fh-section-title clearfix text-left version-dark paddbtm30">
<h2>{{ $item->title }}</h2>
</div>
{!! strip_tags($item->text) !!}
<br />
<br />
<br />
</div>
@endforeach
@endif
</div>
</div>
</div>
</section>
<!--About us end-->
<!-- Feature sec -->
<section class="features-3 bluebg">
<div class="container">
<div class="row">
@foreach ($article->children->skip(1)->take(3) as $child)
<div class="col-sm-4">
@php
$words = explode(' ', $child->title);
@endphp
<div class="fh-feature-box "><span
class="chars">{{ array_key_exists(1, $words) ? substr($words[1], 0, 1) : 'A' }}</span>
<h4 class="box-title">{{ $child->title }}</h4>
<div class="desc">
{!! strip_tags($child->text) !!}
</div>
</div>
</div>
@endforeach
</div>
</div>
</section>
<!-- Feature sec end -->
@if (isset($whyChooseUs) && $whyChooseUs->children->isNotEmpty())
<!-- featured sec -->
<section class="whychoos-3 secpadd">
<div class="container">
<div class="fh-section-title clearfix text-center version-dark paddbtm30">
<h2>Why Choose Us</h2>
</div>
<div class="row">
@foreach ($whyChooseUs->children as $w)
<div class="col-md-4 col-sm-6">
<div class="fh-icon-box style-2 version-dark icon-center">
<span class="fh-icon"><i class="{{ $w->icon }}"></i></span>
<h4 class="box-title"><span>{{ $w->title }}</span></h4>
<div class="desc">
{!! strip_tags($w->text) !!}
</div>
</div>
</div>
@endforeach
</div>
</div>
</section>
<!-- featured sec end -->
@endif
@if (isset($teams))
<!--Our Team section-->
<section class="hometeam-1 graybg secpadd">
<div class="container">
<div class="fh-section-title clearfix f30 text-left version-dark">
<h2>Meet Our Team</h2>
</div>
<div class="fh-team">
<div class="team-list slideteam">
@foreach ($teams as $t)
<div class="team-member ">
<div class="team-header"><img src="{{ asset($t->thumb) }}" class="attachment-full"
alt="{{$t->title}}" />
</div>
<div class="team-info">
<h4 class="name">{{ $t->title }}</h4><span
class="job">{{ $t->designation }}</span>
</div>
</div>
@endforeach
</div>
</div>
</div>
</section>
<!--Our Team section end-->
@endif