35 lines
1001 B
PHP
35 lines
1001 B
PHP
<div class="{{$css}}">
|
|
<div class="">
|
|
@php
|
|
$branch = trim($branch, '"');
|
|
if(isset($branch) && $branch!="all"){
|
|
$Teams=CCMS::getTeamsByBranch($branch);
|
|
}
|
|
else
|
|
{
|
|
$Teams=CCMS::getTeams($branch);
|
|
}
|
|
@endphp
|
|
<div class="row" id="teams">
|
|
@if (isset($Teams) && count($Teams) > 0)
|
|
@foreach ($Teams as $Team)
|
|
<div class="col-12 col-sm-6 col-md-4 col-lg-3">
|
|
<div class="our-team">
|
|
<div class="picture">
|
|
<img src="{!! site_url($Team->thumb)!!}" class=" card-img-top border border-thin" alt="{!! $Team->title!!}">
|
|
</div>
|
|
<div class="team-content">
|
|
<h3 class="name">{!! $Team->title!!}</h3>
|
|
<h4 class="title">{!! $Team->designation!!}</h4>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
@else
|
|
Country not added or published.
|
|
@endif
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@push("js")
|
|
@endpush |