?
<div class="container">
<div class="row g-5">
<div class="col-lg-12 col-sm-12 leadership ">
<div class="leader-title">
<h5>Guided by Experience, Driven by Integrity</h5>
</div>
<h2 class="text-center">Leadership Team</h2>
<div class="row g-4">
@foreach ($teamList as $team)
@if ($team->section == 121)
<div
class="col-lg-12 col-md-12 col-sm-12 mb-5 @if ($loop->odd) CardOnRight @else CardOnLeft @endif ">
<!-- Card img -->
@if (!empty($team->image))
<img src="{{ url('/storage/leadership') }}/{{ $team->image ?? '' }}"
class="img-fluid">
@else
<img src="{{ url('/storage/leadership') }}/team-default.jpg" class="img-fluid">
@endif
<div class="card-des">
{{ $team->brief ?? '' }}
<!-- <p><i class="feather icon-feather-phone"></i>
{{ $team->phone ?? '' }}</p> -->
<span class="quot"> {{ $team->address ?? '' }} </span>
@if (Auth::Check())
@endif
<div class="title">
<a href="">
{{ $team->name ?? '' }}</a>
<span class="designation">{{ $team->designation ?? '' }}</span>
</div>
</div>
</div>
@endif
@endforeach
</div>
</div>
</div>
</div>
</div>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "CollectionPage",
"name": "Our Leadership Team",
"mainEntity": [
@foreach($teamList as $index => $team)
@if ($team->section == 121)
{
"@type": "Person",
"name": "{{ $team->name ?? '' }}",
"jobTitle": "{{ $team->designation ?? '' }}",
"image": "{{ url('/storage/leadership') }}/{{ $team->image ?? 'team-default.jpg' }}",
"worksFor": {
"@type": "Organization",
"name": "Sanghavi Realty"
}
}{{ $index < count($teamList) - 1 ? ',' : '' }}
@endif
@endforeach
]
}
</script>