@props([ 'service', 'slug', 'localizedRoute', ]) @php use App\Helpers\ServiceContentKeys; @endphp @if(!empty($service['comparison']) && isset($service['comparison']['services']))
@foreach($service['comparison']['services'] as $i => $comparisonService) @php $comparisonSlugRaw = (string) ($comparisonService['slug'] ?? ''); $isCurrentService = ServiceContentKeys::canonicalPublicSlug($slug) === ServiceContentKeys::canonicalPublicSlug($comparisonSlugRaw); @endphp
$isCurrentService, 'svc-reveal--delay-' . min($i, 3) => $i > 0, ])> @if($isCurrentService)

{{ __('messages.service_detail.current_service') }}

@endif

{{ $comparisonService['name'] }}

{{ $comparisonService['description'] }}

@if(!empty($comparisonService['detail']))

{{ $comparisonService['detail'] }}

@endif @if(!empty($comparisonService['examples']))
    @foreach($comparisonService['examples'] as $example)
  • {{ $example }}
  • @endforeach
@endif @if(!$isCurrentService) @php $comparisonSlug = ServiceContentKeys::canonicalPublicSlug((string) ($comparisonService['slug'] ?? '')); @endphp {{ __('messages.service_detail.learn_more_about', ['name' => $comparisonService['name']]) }} @endif
@endforeach
@if(!empty($service['comparison']['conclusion']))

{{ $service['comparison']['conclusion'] }}

@endif
@endif