@extends('layouts.app') @section('title', $content['title'].' — About Us') @section('meta_description', $content['lead']) @section('content') @if ($section === 'technology') {{-- Standalone tech page: alternating image / copy splits --}} @foreach ($content['blocks'] as $i => $block)
$i % 2 === 0, 'bg-xpert-slate/70' => $i % 2 === 1, ])>
$i % 2 === 1])>
{{ $block['heading'] }}
$i % 2 === 1])>

{{ $block['heading'] }}

@isset($block['body'])

{{ $block['body'] }}

@endisset @isset($block['items'])
    @foreach ($block['items'] as $item)
  • {{ $item }}
  • @endforeach
@endisset
@endforeach @elseif ($section === 'management') {{-- Standalone leadership page: profile cards --}}
@foreach ($content['blocks'] as $person)
{{ strtoupper(collect(preg_split('/\s+/', $person['name']))->map(fn ($w) => mb_substr($w, 0, 1))->take(2)->implode('')) }}

{{ $person['name'] }}

{{ $person['role'] }}

{{ $person['body'] }}

@endforeach
@else @include('partials.clientele-grid') @endif @include('partials.page-cta') @endsection